Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:19

Need help with Javascript conflict


Poster: vreug
Dated: Wednesday October 30 2002 - 20:23:29 GMT

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


Poster: trytrix
Dated: Wednesday October 30 2002 - 21:02:58 GMT

Hi,

I don't get any error !
Everything works fine ..

Cheers,
Trytrix

(http://www.ransbecca.be)


Poster: vreug
Dated: Wednesday October 30 2002 - 21:14:23 GMT

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


Poster: trytrix
Dated: Wednesday October 30 2002 - 21:27:11 GMT

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)