PDA

View Full Version : Expando script oddity



endevor100
04-17-2009, 12:05 AM
1) Script Title: Expando Image script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/expandoimage.htm

3) Describe problem: First of all out of I.E. 7.0, Google Chrome 1.0, Opera 9.64, and FF 3.0 this only happens in Firefox. I'm using the Expando script on the far right side of a div with "overflow: auto." When the page extends past the visible space and a scroll bar is added when you mouse over an image the script works as expected but then if you move your mouse over the scroll bar the image does not change and if you go anywhere else on the page other than back to the expanded image you came from the image's expanding behavior flips (small on mouseOver and big otherwise the first time then back to normal if you do it again). For the time being I have just added a "&nbsp" between the scroll bar and the image and that elevates the problem in most usecases but I have left a copy of the page with no spaces so that you can see what I'm talking about at www.redneckracing.com/DDQuestion.htm (http://www.redneckracing.com/DDQuestion.htm). The page looks like crap with the spaces so if there is a fix I'd love to hear it.