Linking cell problem.

windows

Guest
Hey, I need html help. I have linked table Cell, that goes to the link okay, but I need it to go into an Iframe, named "x" I cannot figure out how to do it, any help? (I know you use Target="x", but I cannot figure out where to put it.)<br />
<br />
My code: <br />
<br />
<td bgcolor="#000000" align="center" dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="background-color: #FFFFFF; color: #000000;cursor:hand" onmouseover="rollIn(this)" onmouseout="rollOut(this)" onclick="location.href='http://www.htmlforums.com/archive/index.php/MGS_Menu.htm'" language="Javascript1.2" width="10%"><font face="Verdana" size="1">Programming</font></td><!--content-->Target= is for href's and you're using onclicks. Try this:<br />
replace this<br />
onclick="location.href='http://www.htmlforums.com/archive/index.php/MGS_Menu.htm'"<br />
with this<br />
onclick="parent.x.location='MGS_Menu.htm'"<!--content-->Yay! That worked perfectly, Thank you. :)<!--content-->
 
Back
Top