To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click
here
Fri, 03-Sep-2010 14:38:31 GMT
JustLinux Forums
>
Off Topic
>
/dev/random
Dropdown list in HTML
User Name
Remember Me?
Password
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
/dev/random
Got a question about Linux, the community, or technology that does not quite fit in the other channels? Here's the place to ask...
Thread Tools
Rate Thread
Display Modes
#
1
02-13-2003, 03:13 PM
JoeyJoeJo
Registered User
Join Date: Aug 2002
Location: Woodstock, VA
Posts: 416
Dropdown list in HTML
I can make the list okay, but I need to know how to make the items link to other sites when they are clicked. What I have now is something like
<select name="example">
<option>option1
<option>option2
<option>etc.
</select>
I want to make the options link to other pages on the site. How do I do that?
Thanks
JoeyJoeJo
View Public Profile
Visit JoeyJoeJo's homepage!
Find all posts by JoeyJoeJo
#
2
02-13-2003, 03:23 PM
rid3r
Grasshopper extraodinaire
Join Date: Dec 2002
Location: Ukraine
Posts: 847
<option><a href="http://..>option1</a> probably...
__________________
Slackware 8.1 9.1 FreeBSD 5.1
box 301327
Linux Counter
combining `date` with `cal`:
d=$(date | cut -d' ' -f3) ;\
echo -e "$(cal | sed -e "s/$d/\\\033[30;47;1m$d\\\033[0m/")"
rid3r
View Public Profile
Visit rid3r's homepage!
Find all posts by rid3r
#
3
02-13-2003, 03:33 PM
JoeyJoeJo
Registered User
Join Date: Aug 2002
Location: Woodstock, VA
Posts: 416
Quote:
<option><a href="http://..>option1</a>
Ive tried that, but with no results. I thought maybe there was some special way to do it.
JoeyJoeJo
View Public Profile
Visit JoeyJoeJo's homepage!
Find all posts by JoeyJoeJo
#
4
02-13-2003, 03:48 PM
bjornredemption
Grasshopper with Chainsaw
Join Date: Jul 2002
Location: Behind you
Posts: 99
Its actually
<option value=option1> option1 </option>
You have to specify a value.
bjornredemption
View Public Profile
Find all posts by bjornredemption
#
5
02-13-2003, 04:26 PM
gig2k1s
Fulltime Slacker
Join Date: Jul 2002
Location: NY
Posts: 117
how about putting it in a form, and having the submit button call a javascript that redirects to that link?
gig2k1s
View Public Profile
Visit gig2k1s's homepage!
Find all posts by gig2k1s
#
6
02-13-2003, 06:39 PM
sajchurchey
Network Engineer
Join Date: Dec 2002
Location: GA--United States
Posts: 273
Try using some form of JavaScript and using the onclick event or something similar.
__________________
SAJChurchey
Enlist in the
CyberArmy
Check out the
Open Source Institute
sajchurchey
View Public Profile
Visit sajchurchey's homepage!
Find all posts by sajchurchey
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Rate This Thread
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Community Help: Check the Help Files, then come here to ask!
Newbies Corner
Hardware
Software
Installation
Window/Desktop Managers
Kernels and Modules
Networking
Web/Security
Mobile Computing
Games
Programming/Scripts
Technical
How I Did It!
Linux PPC
Other UNIX-Based
Hardware Trading
JustLinux
Help File Library
Audio Hardware
Configuration
Hardware
Installation
Networks
Programming
Software
X Window
Events
JL Talkback
JL Ideas
Feedback
Forum Suggestions
Post Your Forum Bugs Here
Off Topic
/dev/random
.iso Confused - Which Distro?
All times are GMT -4. The time now is
10:38 AM
.
Help File Library
Filesystems
Troubleshooting
Networks
Shells
Tools
More
IT
Developer
Internet News
Small Business
Personal Technology
Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
Free Newsletter
Server Daily
More Free Newsletters
Be a Commerce Partner
Contact Us
-
http://www.justlinux.com/
-
Archive
-
Top
Linux is a trademark of Linus Torvalds.