Hello!
I need som serious help with our old beloved friend Internet Explorer.
I have this css popup and when it pops up on a button click I want the scroll function to disapear, and I understand this is done most easily with owerflow.
So when it pops up I want to disable the scroll function, but when you close the popup I want it to allow scrolling again, and I've done this woth this code:
So that works well in FF (of course) but in IE the scroll won't come backCode:function closeAd() { document.body.style.overflow = 'visible'; document.getElementById("popad").style.display="none"; } function openAd() { document.getElementById("popad").style.display="block"; document.body.style.overflow = 'hidden'; }
Any ideas?
Thnx!
//Tovedal



Reply With Quote
Bookmarks