PDA

View Full Version : Can the Gradual Highlight script be used to gradually change image sizes?



Gregg
12-28-2005, 09:24 PM
Hello,

I am using the Gradual Highlight script II (http://dynamicdrive.com/dynamicindex4/highlightgrad2.htm) for some of my images and was wondering if a similar script could be used to gradual increase (and decrease on mouseout) the size of the images. I can change the size instantly with CSS but it would be a much better effect if it was gradual (ideally same speed as it takes for full opacity).

Many Thanks,
Gregg

12345c
12-28-2005, 09:49 PM
Of course.
You need to change property document.getElementById('id_of_image').height and .width instead of opacity