Hi Everyone,
I recently asked about the select boxes overriding the popup menu.
I have run into another problem.
I have the popup menu code in a external file. I use it for many pages, how ever only a couple of pages use the select boxes and need to write a if statement in my showMenu function to only apply the hiding of the select box if on the perticular page. Because the popup menu will fall over unless its a valid field to hide.
eg.
Code:
function FW_showMenu(menu, x, y, child) {
document.forms.form2.projects.style.display='none';
Normal popup code****
How do you write a If statement in javascript that if the page is MainProjects.asp put code
Code:
document.forms.form2.projects.style.display='none';
else skip it.
Thanks in advance
Tim
TDA