I am testing and modifying the Navigational Menu scripts for use on my web site. I am running into a conflict with a current script I run that displays a message in the status bar on page load and after each onmouseover (the script and <body> tag are below). After viewing the navigation menu dropdowns and then onmouseover one of my links I get the message "undefined" in the status bar. I would like to know if anyone would be willing to help me resolve the conflict and get the scripts to work together. I believe it is a window.status conflict. You can see it in action at http://www.vreug.com/indextest.html. Thanks!
<SCRIPT LANGUAGE="JavaScript">
<!-- Beginning of JavaScript -------------------
var timerID;
var m1 = " Welcome to VREUG.com!";
function stat_load(mesg, time)
{
time = time * 1000;
clearTimeout(timerID);
timerID=setTimeout('window.status=m1',time);
window.status=mesg;
} // end stat_load
function displaymesg()
{ window.status = m1;
}
// -- End of JavaScript code -------------- -->
</SCRIPT>
<BODY onLoad="timeONE=window.setTimeout('displaymesg()',500)">
Paul
Need help with Javascript conflict
- trytrix
- Super Advanced
- Posts: 92
- Joined: Thu Sep 26, 2002 9:46 pm
- Location: Flanders / Belgium
- Contact:
You're Never Fully Dressed Without A Smile !
"From Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be
"From Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be
It is not really an error that I get it is just that instead of my status bar message I get the message "undefined" in the status bar.
To see this you have to test the drop down menus and then roll your mouse over one of the regular links on the page. Onmouseout you will see "undefined" in the staus bar.
Paul
To see this you have to test the drop down menus and then roll your mouse over one of the regular links on the page. Onmouseout you will see "undefined" in the staus bar.
Paul
- trytrix
- Super Advanced
- Posts: 92
- Joined: Thu Sep 26, 2002 9:46 pm
- Location: Flanders / Belgium
- Contact:
Hi Paul,
I've done all that ..
Never had an "Undefined" message in the status bar !!!
Cheers,
Trytrix,
(Hit me at http://www.ransbecca.be)
I've done all that ..
Never had an "Undefined" message in the status bar !!!
Cheers,
Trytrix,
(Hit me at http://www.ransbecca.be)
You're Never Fully Dressed Without A Smile !
"From Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be
"From Flanders, one of Europe's most dynamic regions" - Visit : http://www.toerismevlaanderen.be