WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Help with my code problem on Mon Mar 08, 2010 5:33 am

Krazy


Registered Member
Registered Member
Code:
<form name="jump">
<p align="center">
<select name="Staff Profiles">
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=14">Phil</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=3">God Slim</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=1">MrMario</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=12">Stonez</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=80">ChuScape</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=92">Bobo Noob (N I K E)</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=32">Bence</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=18">Silentzpro</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=5">Mod Trent</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=51">I Cattina I</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=52">Spacealien45</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="Visit There Page">
</p>
</form>

Okay, The button is not working when I click it, after I have selected the name of the person I want to go to. I HAVE read the tutorial on site about this, but still nothing. Any assistance?

2 Re: Help with my code problem on Mon Mar 08, 2010 10:57 am

Sanket

avatar
Administrator
Administrator
Code:
<form name="jump">
<p align="center">
<select name="menu">
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=14">Phil</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=3">God Slim</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=1">MrMario</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=12">Stonez</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=80">ChuScape</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=92">Bobo Noob (N I K E)</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=32">Bence</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=18">Silentzpro</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=5">Mod Trent</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=51">I Cattina I</option>
<option value="http://www.philscape.com/profile.forum?mode=viewprofile&u=52">Spacealien45</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="Visit There Page">
</p>
</form>
Try this code, you had changed the select name option to "select profiles". It should be menu.

http://www.webartzforum.com

3 Re: Help with my code problem on Tue Mar 09, 2010 9:21 pm

Krazy


Registered Member
Registered Member
Okay, must have changed the wrong piece of the code. Wink You always find my mistakes Sanket, and I praise you for that Smile

Solved Wink

4 Re: Help with my code problem on Tue Mar 09, 2010 9:49 pm

ankillien

avatar
Administrator
Administrator
Solved | Locked

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum