Webmaster Forums 101 - Free Help and Discussions
 
 
 

MEMBER REWARDS - Earn free advertising by participating in these forums! Click here for details.

Welcome to Webmaster Forums 101!

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th April 2003, 02:17 PM   #1

Username: metguitarist
Rank: WF101 Addict
Join Date: Jan 2003
Posts: 374
Points: 0.00
Send a message via AIM to metguitarist Send a message via MSN to metguitarist
Default Question...

Well, I added a form on my page with a dropbox thing, and whenever I click on the section it doesn't do anything, I think the "action" thing needs to be different or something, have a look for yourself:
http://pics.ride4pain.com/test.php
metguitarist is offline   Reply With Quote
Old 5th April 2003, 03:27 PM   #2
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

Nothing wrony with your action. This peice of code will take the users to the certain page when selected:

Code:
<head> <script> function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } </script> <script> function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } </script> </head> <body> <FORM action="http://www.123webmaster.com/search.cgi" method="get"> <select name="select6" onChange="MM_jumpMenu('parent',this,0)" class="field"> <option value="http://snow.ride4pain.com/">Main Snow Section</option> <option value="http://snow.ride4pain.com/snowboard">Snowboarding</option> <option value="http://snow.ride4pain.com/snowmobile">Snowmobiling</option> <option value="http://snow.ride4pain.com/ski">Skiing</option> <option value="http://forums.ride4pain.com/index.php?c=8">Snow Forum Section</option> </FORM>

Hope that helps!
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Old 5th April 2003, 03:35 PM   #3

Username: metguitarist
Rank: WF101 Addict
Join Date: Jan 2003
Posts: 374
Points: 0.00
Send a message via AIM to metguitarist Send a message via MSN to metguitarist
Default

:shock:

So I just put that thing in the <head>? I'm still a wee bit confused
metguitarist is offline   Reply With Quote
Old 5th April 2003, 03:39 PM   #4
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

OK, put this in your <head> tags:

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

And this in your <select> option which is in your forms:


Code:
onChange="MM_jumpMenu('parent',this,0)"

e.g:

<select name="select6" onChange="MM_jumpMenu('parent',this,0)">

Understand now?
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Old 5th April 2003, 03:47 PM   #5

Username: metguitarist
Rank: WF101 Addict
Join Date: Jan 2003
Posts: 374
Points: 0.00
Send a message via AIM to metguitarist Send a message via MSN to metguitarist
Default

Yes I understand perfect! Thanks so much! You've been such a great help... I would give you a link, but I'm not sure anyone from our site would be intrested in your site... extreme sports to web design, I'm one of the few like that, I'm guessing.
metguitarist is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about my site dan_2006 Webmaster Help 3 1st February 2005 05:10 AM
dumb question dan_2006 Tell Us About Yourself 6 4th July 2004 05:19 AM
JavaScript question by razahasnain Mr. Tech Website Design & Coding 0 1st January 2004 10:40 AM
I have a question for all of you Paisleyskye Webmaster Help 3 12th August 2003 09:18 AM
question viper Software & Hardware Help 2 2nd April 2003 09:44 AM

Login
User Name
Password


Featured Members


Featured Links


Useful Resources
Webmaster Resources
Developers Tools
Developer Tutorials


Partners

All times are GMT +10. The time now is 05:30 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.3.2
 
 
WEBMASTER FORUMS 101
ARCHIVE
CONTACT US
TOP
   
© Webmaster Forums 101 2005. All Rights Reserved.
Design by: vBCore