Click to See Complete Forum and Search --> : Frames/Java menu


Bad_Nws
11-14-2003, 10:27 AM
I was wondering where i can insert a target command into a java script menu, or does a target command (html only?) even work with java script. any help on this would be greatly appreciated. Im trying to make the menu compatable with frames. thank you

96turnerri
11-14-2003, 10:58 AM
yes you can need to see your code to show you where to put it in

Bad_Nws
11-14-2003, 11:01 AM
<tr>
<td class="tds" onmouseover="fadeImg2(1)" onmouseout="fadeImgend2(1)" onclick="window.location='#';" style="border:1px solid gray;background-color:silver;width:100;text-align:center">New</td>
</tr>


----------
ive replaced the # with teh appropriate window e.g : main.html, and added target="main". it seems to open both in the "menu" frame aswell as the "main" window..

96turnerri
11-14-2003, 11:05 AM
<tr><a href="#" target="_blank">
<td class="tds" onmouseover="fadeImg2(1)" onmouseout="fadeImgend2(1)" style="border:1px solid gray;background-color:silver;width:100;text-align:center">New</td></a>
</tr>

Bad_Nws
11-14-2003, 11:10 AM
Thanks alot man! you rule

96turnerri
11-14-2003, 11:39 AM
hehe had alot praise but no one ever said that before :D :D