Java menu - target help required

I want this menu.js to direct all its link to target="frame"<br />
<br />
how do I do it? can anyone check it and let me know? I tried it it works but the menus placing changes!! :( help me witht this!<!--content-->try doing so:<br />
<br />
find this row:<br />
<br />
this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt): DcLoc.location.href=http://www.htmlforums.com/archive/index.php/this.LinkTxt}}<br />
<br />
<br />
change that row with this (customize NAMEOFTHEFRAME)<br />
<br />
<br />
this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):parent.NAMEOFTHEFRAME.location.href=http://www.htmlforums.com/archive/index.php/this.LinkTxt}}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
:)<!--content-->it helped! thanks :D<!--content-->one more problem, like if I want to open just on link from the menu bar to a different page, how do I do that? Or If I just want one of the link from the menu bar to open normally in the same page(avoiding opening in the frame), how do I do that? :)<!--content-->Hello? can anyone help me with this?<!--content-->hey again, is there anyone who can help e out with this? the menu.js is there, anyone?<br />
The links from the menu now loads in the frame but I just want one link from the menu to be opened separately, anyone out there? Dennis?<!--content-->yes, try posting a link...<br />
<br />
(also if the link you gave me, gave me an error...)<br />
<br />
<br />
(Let's go on here, without calculating the email, so all the people can see) :)<!--content-->http://www.altermetal.com try this link it works fine for me! refresh it with cntrl+f5 :)<!--content-->raqib, have you MSN MESSENGER? if you have, add me to the contacts...<br />
<br />
<br />
try changing this<br />
<br />
function goto(){<br />
if(this.LinkTxt){<br />
status='';<br />
var HP=Nav4?this.LowLyr:this;<br />
LowItem(HP);<br />
this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):DcLoc.location.href=http://www.htmlforums.com/archive/index.php/this.LinkTxt}}<br />
<br />
<br />
<br />
with this<br />
<br />
function goto(){<br />
if(this.LinkTxt){<br />
status='';<br />
var HP=Nav4?this.LowLyr:this;<br />
LowItem(HP);<br />
alert(this.LinkTxt)<br />
this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):DcLoc.location.href=http://www.htmlforums.com/archive/index.php/this.LinkTxt}}<br />
<br />
<br />
<br />
<br />
CHANGE ALSO THE PAGE ONLINE and let me know when you've done <br />
:)<!--content-->
 
Back
Top