Forum Moderators: open

Message Too Old, No Replies

How to make an 'input button' link within frames?

         

kapow

6:55 pm on Dec 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can someone tell me how to make an 'input button' link within frames?

I want a button like this:
<input type=button value="Info Page" onClick="javascript:window.location.href='infopage.htm'">

To do this:
<a href="infopage.htm" target="leftframe">Info Page</a>

birdbrain

10:38 pm on Dec 4, 2003 (gmt 0)



Hi there kapow,

Try this...


<input type=button value="Info Page" onclick="javascript:parent.leftframe.location='infopage.htm'" />

birdbrain

kapow

10:36 am on Dec 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



THANKYOU! Birdbrain :)
Thats it, it works fine.

birdbrain

11:35 am on Dec 5, 2003 (gmt 0)



Hi there kapow,

No problem... you're welcome.


birdbrain