Forums
This topic is locked
logout
Posted 15 Jul 2003 13:17:04
1
has voted
15 Jul 2003 13:17:04 Wayne Hultum posted:
Hi, I’ll explain this as good as I can…here goesI’m building a site where you need to logon to access certain navigation. I’m using a dropdown menu to create the nav. The nav is a java script one which uses a link to a .js file to display the navigation, the problem I’m having is when it comes to the logout.
This is the line of code for the logout link
Menu5=new Array("log out","MM_Logout","",0);
When I click on it, it tries to go to a page called MM_Logout instead of logging the user out.
What I want to now is, is there a way to put MM_Logout in a js file.
Hope I’ve explained this enough. if you need further info please let me know.
Thanks in advance
wayne