Forum Moderators: open
Iīve tried so many things now that I donīt have a good example. But maybe someone can help edit code from Martial Boissonneaultīs menubar... it only has 1 level (In my opinion, a menu that has more than 2 levels is flawed, but tell that to those who call the shots..)
when I use menu[obj].style.left in Mozilla/IE6 itīs useless...
var ns4=(document.layers)?true:false;
var ie4=(document.all)?true:false;
var gecko=(document.getElementById)?true:false;function iniciarMenu(obj,obj1){
if(gecko){
var myObj=document.getElementById(obj);
var myObj1=document.getElementById(obj1);
var posx=myObj.style.left;
var posy=myObj.style.top;
alert(posx);
}
}