Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1323 | Replies: 2
![]() |
I have this function that depending on the value passed will do what ever.
I also have an Image that when clicked will go to a different page. Is there an event that I can use to trigger this function after the page changes?
Thanks, Edouard.
function menu(n){
switch(n)
{
case 0:
document.getElementById('sub2').style.display = 'none';
document.getElementById('sub3').style.display = 'inline';
menu1();
break;
case 1:
document.getElementById('sub3').style.display = 'none';
document.getElementById('sub2').style.display = 'inline';
menu2();
break;
}
}I also have an Image that when clicked will go to a different page. Is there an event that I can use to trigger this function after the page changes?
Thanks, Edouard.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode