Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:03
HTML ID of menu?
Poster: onskee
Dated: Wednesday October 15 2003 - 22:28:42 BST
With our current menu which I'd like to replace with yours, the main table that contains the menu (totally in javascript) has an ID which I can reference from code to hide - like when I want to print the page.
Currently, I use something like:
Code:
function doPagePrint(){
document.all("MainTable").style.display="none";
setTimeout('document.all("MainTable").style.display="block";',5000);
window.print()
}
document.all("MainTable").style.display="none";
setTimeout('document.all("MainTable").style.display="block";',5000);
window.print()
}
My question is - does your menu have an HTML ID which I can reference to do similarly?
Thanks! Great menu!
Brandon
Poster: John
Dated: Wednesday October 15 2003 - 23:53:47 BST
Yes, you can do that.
See http://www.milonic.com/forum/viewtopic.php?p=8383#8383 for the details.
I am moving this to the v5 area, because that is the menu you'll be using.