PDA

View Full Version : Animated Collapsible DIV, Images, and Safari - How?



jcq
09-06-2007, 10:12 PM
1) Script Title: Animated Collapsible DIV

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem: The script works great on FF and IE, but under Safari (Mac, haven't tested Win version), the collapse of the divs is limited by the images in them. Nothing is visibly displayed, but there is a huge gap in between divs, exactly the size of the images in there. In addition, if you right-click on that gap, you get the standard "Open image in a new window", etc options. I thought perhaps the solution would be to not have height/width parameters in the images, but alas, that didn't work. Has anybody else encountered this bug using Safari? Anybody have any ideas for a workaround?

I'm thinking the solution presented by Mr. Moo here might possibly work:
http://www.dynamicdrive.com/forums/showthread.php?t=24303
However, of course then nothing is displayed if they have disabled javascript.

Thanks in advance...