Hidden buttons reappear when resizing a crmForm
HideButton = function()
{
var ULListItems = document.getElementById(”mnuBar1″).rows[0].cells[0].getElementsByTagName(”UL”)[0].getElementsByTagName(”LI”);
for(var i=0; i -1)
{
ULListItems[i].style.display = “none”;
}
}
}// Execute the function when loading the form
HideButton();// Execute the function when the form is resized.
window.onresize = HideButton;
from here: http://kennyvaes.wordpress.com/2009/02/03/hidden-buttons-reappear-when-resizing-a-crmform/

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home