Jump to content

Frames help


Guest Trollguy84

Recommended Posts

Guest Trollguy84

I am trying to have a drop down menu of links open in a frame of my website different than the one the dropdown menu resides in. Little help please? This is my first frames site and I'm really quite lost.

Link to comment
Share on other sites

<html><head><script type="text/javascript">function go() {window.url.location=document.getElementById("menu").value}</script></head><body><form><select id="menu" onchange="go()">  <option>--Select a page--</option>  <option value="http://www.w3schools.com">W3Schools</option>  <option value="http://www.google.com">Google</option>  <option value="http://www.altavista.com">AltaVista</option></select><iframe src="" name="url"></iframe></form></body></html>

try this :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...