Problems in IE6 and IE7

I'm running the modal script in my blog to produce popup windows with videos inside. Because there are several videos on a page, I put a new number after every id. Here's my code:


    Event.observe(window,'load',function(){
        new Control.Modal($('modal_link_'),{
            opacity: 0.8,
            width: 330,
            height: 330
        });
    });

So, every div that needs to be hidden would get a unique id, and this id matches the link id. All of this works fine in Firefox. It also works fine when I load the page in IE7. When I refresh the page in IE7 though, all the hidden divs show up. They also show up in IE6 upon page load or refresh. Anyone know what's going on?

Posted June 20th, 2007 at 12:15pm by subnet_rx

u could run a script on page load to get all elements by tag/class name and make thier visibility hidden

or you could just load the vids in an iframe

/Jester

Posted June 21st, 2007 at 5:14am by jester

Login or Register to Post