Guest Trollguy84 Posted May 25, 2006 Share Posted May 25, 2006 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 More sharing options...
smiles Posted May 25, 2006 Share Posted May 25, 2006 <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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now