
May 16th, 2001, 07:09 PM
|
|
Senior Citizen
|
|
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019
Time spent in forums: < 1 sec
Reputation Power: 15
|
|
|
It makes more sense to use radio buttons for this, since you should only have one selected at a time.
<html>
<head>
<title>untitled</title>
</head>
<body>
<form>
<input type="radio" name="goto" value="http://www.salon.com"
onclick="parent.frames[1].location.href=this.value">Salon
<br>
<input type="radio" name="goto" value="http://www.slate.com"
onclick="parent.frames[1].location.href=this.value">Slate
<br>
<input type="radio" name="goto" value="http://www.suck.com"
onclick="parent.frames[1].location.href=this.value">Suck
</form>
</body>
</html>
In your <frameset>, put the upper frame (frames[0]) first and the main frame (frames[1]) second. parent takes you up one level - so you can 'step' back down to a sibling frame.
|