Hi All,
I get an error on the Firefox javascript console that says:
Error: evt has no properties
This error points to the line starting with two asteriks notations in the code below.
-----------------------------------------------------
var evt;
function mouse_position(){
evt=(evt)?evt
(window.event)?event:null);
}
//Display f_menu
var smenuflag;
function f_menuf(objectID){
var object=document.getElementById('f_menu');
if(document.images){
**if ((smenuflag==1)||((smenuflag==0)&&((((evt.clientX+document.body.scrollLeft)>=174)&&((evt.clientX+document.body.scrollLeft)<=360))&&(((evt.clientY+document.body.scrollTop)>=250)&&((evt.clientY+document.body.scrollTop)<=438)))))
{object.style.visibility='visible';}
else object.style.visibility='hidden';
}
}
--------------------------------------------------------
Please how do I correct this problem?
Best Regards,
Chike.
I get an error on the Firefox javascript console that says:
Error: evt has no properties
This error points to the line starting with two asteriks notations in the code below.
-----------------------------------------------------
var evt;
function mouse_position(){
evt=(evt)?evt
}
//Display f_menu
var smenuflag;
function f_menuf(objectID){
var object=document.getElementById('f_menu');
if(document.images){
**if ((smenuflag==1)||((smenuflag==0)&&((((evt.clientX+document.body.scrollLeft)>=174)&&((evt.clientX+document.body.scrollLeft)<=360))&&(((evt.clientY+document.body.scrollTop)>=250)&&((evt.clientY+document.body.scrollTop)<=438)))))
{object.style.visibility='visible';}
else object.style.visibility='hidden';
}
}
--------------------------------------------------------
Please how do I correct this problem?
Best Regards,
Chike.