Web Design Forum: how to make dropdown field links to other pages - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how to make dropdown field links to other pages Rate Topic: -----

#1 User is offline   adsegzy 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 60
  • Joined: 15-February 10
  • Reputation: 1

Posted 10 March 2010 - 04:45 PM

Hello guys, pls i have a dropdown field in my form, the contents are automobile, books, clothing & fashion, foods & beverages etc. i want to make each option a link so that when the visitors select any of the options, the visitor will be led to the page that contains the detail about what he selected without the visitor click on submit button.

regards
0

#2 User is offline   Jay Gilford 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,104
  • Joined: 11-October 09
  • Reputation: 185
  • Gender:Male
  • Experience:Web Guru
  • Area of Expertise:Web Developer

Posted 10 March 2010 - 04:47 PM

http://tinyurl.com/yhw3w4a
Any of those will help
1

#3 User is offline   adsegzy 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 60
  • Joined: 15-February 10
  • Reputation: 1

Posted 10 March 2010 - 09:02 PM

View PostJay Gilford, on 10 March 2010 - 04:47 PM, said:

http://tinyurl.com/yhw3w4a
Any of those will help

hello jay, thanks a lot i will try it out.

regards
0

#4 User is offline   Milli05 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 12-April 09
  • Reputation: 3
  • Gender:Female
  • Location:London
  • Experience:Beginner
  • Area of Expertise:Web Designer

Posted 11 March 2010 - 02:03 PM

Hi,
Yes, you will need a jump menu!

<script type="text/javascript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>


<form name="form" id="form">
<select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
<option value="http://www.books.html">Books</option>
<option value="http://www.food.html">Food</option>
</select>
</form>


Something like this.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users