CuJo
07-06-2003, 04:09 AM
ok heres my problem.....
1st, heres a bit of a line from the menu
Menu1="new Array ("TextToShow","Link","","",....);
in the help it says...
LINK-Text String
Can also be used to execute Javascript Statements, for instace if you want the link to open in the top window use "javascript:top.document.location.href='Link.html';"
So I'm trying to put this code in there...
<a href="#"
onClick="this.href=document.location.href.substring(0,
document.location.href.lastIndexOf('&'))+'&blank=users/login'">Login</a>
.........
So, i tried putting the code in like this...
Menu1=new Array("Login","javascript:this.href=document.location.href.substr ing(0,
document.location.href.lastIndexOf('&'))+'&blank=users/login';","",''",.......)
unfortunatly I got a java error:
Error1: Undetermined string constent
Error2: StartTop is undefined
-plz help, thx
1st, heres a bit of a line from the menu
Menu1="new Array ("TextToShow","Link","","",....);
in the help it says...
LINK-Text String
Can also be used to execute Javascript Statements, for instace if you want the link to open in the top window use "javascript:top.document.location.href='Link.html';"
So I'm trying to put this code in there...
<a href="#"
onClick="this.href=document.location.href.substring(0,
document.location.href.lastIndexOf('&'))+'&blank=users/login'">Login</a>
.........
So, i tried putting the code in like this...
Menu1=new Array("Login","javascript:this.href=document.location.href.substr ing(0,
document.location.href.lastIndexOf('&'))+'&blank=users/login';","",''",.......)
unfortunatly I got a java error:
Error1: Undetermined string constent
Error2: StartTop is undefined
-plz help, thx