View Full Version : Body Onload Problem..
i am using two scripts that both contain <body onload...the pop-it menu, and the mouseover image...i have solved the issue by writing the following code to allow both scripts to work> onload=init;getcontent_height;
but here is my problem. everything works fine in firefox browser, but when i open the website in explorer the pop-it menu does not work, but the mouseover image script does???? heres the link to the site> http://www.ikonmusic.net/practice.html
i need to solve this issue very soon. thanks for any help
jscheuer1
08-18-2005, 04:51 PM
Get rid of:
onload=init;getcontent_height;Use:
<body onload="init();getcontent_height();">
ok i put that in and it still does the same thing..the drop down menu works in firefox, but not in internet explorer....any other suggestions?
btw..if you open the website in IE, youll see at the bottom of the screen it says "Error on page"...
StefanG
08-18-2005, 05:56 PM
Hi,
when you double click on the error, it should tell you where the error is, doesnt it? If there are multiple errors, you should be able to see the next/previous one by clicking the appropriate button in the msg.
at the bottom of the screen it says "Error on page"...
Stefan
jscheuer1
08-18-2005, 10:00 PM
Well, I had assumed you had installed the scripts correctly to begin with and not deviated from the instructions or rewritten things at all. The 'Pop-it menu' script as now written on your page belongs in the body. Preferably right after the body tag. First get rid of:
<div id="popitmenu" onmouseover="clearhidemenu();" onmouseout="dynamichide(event)"></div><div id="popitmenu" onmouseover="clearhidemenu();" onmouseout="dynamichide(event)"></div><div id="popitmenu" onmouseover="clearhidemenu();" onmouseout="dynamichide(event)"></div>from the body section. In fact, replace the above with the script.
Then it should work in both browsers. You have another error on the page in FF but, if it is working as you like, I would not worry about it. It comes from the 'Scrollable content III' script on the page in the iframe.
Added Later:
I just had a look at the original script and it says to put it in the head. This is not the ideal place for it though. Your work around for that fact was to put those "popitmenu" divisions in the body. This fixed it for FF but broke it for IE. So, I take back my accusatory tone, sorry about that.
thank you...everything is resolved
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.