Does anyone know if there is a way to add a mouseover event to a picture using FCKEditor? I am a non-programmer at the moment, and would be interested in learning how to do this without resorting to adding the code manually.
If your content is finally displayed into a "div" called by a know ID, then you can use Prototype function $$().each() to retrieve all images and add them a JS event "on mouse over etc..." Using this event to use a lightbox if you want.
Then if you prefer to add this not to all images, you can simply add a custom image style with FCK and finally only add JS event to these images.
Re: MouseOver Event for pictures
You can't do that without modifying the image dialog or using source mode
Re: MouseOver Event for pictures
That's what I needed to know.
Thanks,
Re: MouseOver Event for pictures
I think there is a solution :
If your content is finally displayed into a "div" called by a know ID, then you can use Prototype function $$().each() to retrieve all images and add them a JS event "on mouse over etc..." Using this event to use a lightbox if you want.
Then if you prefer to add this not to all images, you can simply add a custom image style with FCK and finally only add JS event to these images.