Template:Menuscript
From Apache OpenOffice Wiki
Revision as of 03:50, 16 May 2013 by Javier Lopez (Talk | contribs)
var itemOrig; function despMenu(nombre,sn) { obj = document.getElementById[nombre]; if (sn>0) obj.style.visibility = "visible";
else
obj.style.visibility = "hidden";
} function destacar(obj, val) { if (val==1)
{ itemOrig = obj.style.backgroundColor; obj.style.backgroundColor="Aqua"; }
else
obj.style.backgroundColor= itemOrig;
} --> </script>