PDA

View Full Version : Target A Frame Using A Button?


esntric
08-05-2002, 08:51 PM
<button style="background-color: 000000" onclick="window.location='nowhere'"><font color="#FF0000">Text.</font></button>

I want this in my navigation frame, but I dont know how to target it to the main frame. Can you target a frame using a button? :)

jkd
08-05-2002, 08:58 PM
onclick="top.FRAMENAME.location.href = 'somewhere.html'"

esntric
08-05-2002, 09:14 PM
Thank you. Exactly what I wanted.:D