Hi guys,
I'm not a javascript guru at all, and couldn't find a thread that helped, but I have a script when you mouseover a button, a menu slides out to the right. Works great on my 17" monitor, but on a larger monitor, the slide out menu is covering the button. Finally figured out I have the left alignment set at 225 but since the site is centered, 225 on a larger monitor isn't in the same place. This seems to be hard for me to explain. Here's the menu code (ASP is mixed in):
Any ideas about how I can correct this? Is there a way to set the alignment from a certain point? Thank you for your thoughts and I apologize for the "not very technical" explanation...
I'm not a javascript guru at all, and couldn't find a thread that helped, but I have a script when you mouseover a button, a menu slides out to the right. Works great on my 17" monitor, but on a larger monitor, the slide out menu is covering the button. Finally figured out I have the left alignment set at 225 but since the site is centered, 225 on a larger monitor isn't in the same place. This seems to be hard for me to explain. Here's the menu code (ASP is mixed in):
Code:
function menu (left,top) { this.childMenuOpen=-1; this.parentMenuIndex=-1; this.hasMouse=false; this.left=left; this.top=top; this.childCount=0; this.children=new Array; this.url="";}
addMenu(225,70);
<%do while not rs.eof%>
addMenuItem("<%=rs("gallery_cat_name")%>","?galleryid=<%=rs("gallery_catid")%>","");
<%rs.movenext
loop%>
drawMenus();
Any ideas about how I can correct this? Is there a way to set the alignment from a certain point? Thank you for your thoughts and I apologize for the "not very technical" explanation...