PDA

View Full Version : Cross Browser Marquee 2 Moves When I Resize Window



mddubs
10-09-2008, 08:18 PM
1) Script Title:
Cross Browser Marquee 2

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

3) Describe problem:
The Cross Browser Marquee 2 script moves (or doesn't move?) when I resize an Internet Explorer 7 browser window. All other browsers work fine. My live example is here:

http://dev.bunkerhollow.com

Someone on the Asp.net forums suggested changing the vmarquee div position attribute from 'absolute' to something else. So I found that only 'relative' or 'absolute' will work, the others cause crazy things to happen, but neither fix the issue. I then tried messing with the position attribute of that div plus all the surrounding div's and panels, which caused a variety of crazy effects but none of them worked correctly. Anyone have any ideas? I'm stuck.

mddubs
10-18-2008, 12:44 AM
Finally fixed it.

Both marquee tags need "position: absolute;" and the surrounding panel needs a fixed height, or the controls below move up and behind the marquee control.