list13-2 - box=document.getElementById(current);

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
var inmenu=false; var lastmenu=0; function Menu(current) { if (!document.getElementById) return; inmenu=true; oldmenu=lastmenu; lastmenu=current; if (oldmenu) Erase(oldmenu); m=document.getElementById("menu-" + current); box=document.getElementById(current); m.offsetLeft; m.offsetTop + m.offsetHeight;"visible";"Aqua";"Aqua";"108px"; } function Erase(current) { if (!document.getElementById) return; { return; } m=document.getElementById("menu-" + current);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: box=document.getElementById(current);"hidden";"Silver"; } function Timeout(current) { inmenu=false; window.setTimeout("Erase('" + current + "');",500); } function Highlight(menu,item) { if (!document.getElementById) return; inmenu=true; lastmenu=menu; obj=document.getElementById(item);"Silver"; } function UnHighlight(menu,item) { if (!document.getElementById) return; Timeout(menu); obj=document.getElementById(item);"Aqua"; }...
View Full Document

This note was uploaded on 09/13/2011 for the course LEARNING L 110 taught by Professor Afrancis during the Spring '11 term at Community College of Philadelphia.

Ask a homework question - tutors are online