I have this function:
I plan on having a bunch of sections and was wondering if there was a way to give more than one variable like so:function DoViewMENU(tid1) {
document.getElementById(tid1).style.display = "";
if(tid1 == 'entertainment') {
DoHideIFRAME('world');
}
if(tid1 == 'world') {
DoHideIFRAME('entertainment');
}
}
if(tid1 == 'world') {
DoHideIFRAME('entertainment, politics');
}
If somebody clicks on the 'entertainment' button I need to make sure all other button/menus are closed... and there are going to be a bunch.
Thanks
Ryan





Bookmarks