TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-30-2007, 12:28 AM   #1 (permalink)
The Wanderer
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Tozzie is on a distinguished road
Default Drop down menus :)

Hey again :D
So now what i want to do, is have two drop down menus, and one will be "categories"
and the other will be "subcategories"
so you would need to select a category from the first menu, then you would be able to select a sub category that pertains to the category you selected :)

Thanks in advanced to anyone willing to help me :)
Tozzie is offline  
Reply With Quote
Old 09-30-2007, 10:00 AM   #2 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

This would be achieved with Javascript, and not with PHP.

Ofcourse you can script the actual menu in PHP, with an array.
But the "drop down script" will be scripted in JS.

Edit: You want something similar to the quick links on this forum?
Tanax is offline  
Reply With Quote
Old 09-30-2007, 04:18 PM   #3 (permalink)
The Wanderer
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Tozzie is on a distinguished road
Default

Quote:
Originally Posted by Tanax View Post
This would be achieved with Javascript, and not with PHP.

Ofcourse you can script the actual menu in PHP, with an array.
But the "drop down script" will be scripted in JS.

Edit: You want something similar to the quick links on this forum?
Well basically what i want is to have two menus, and you need to select an option from the first menu, to see options in the second menu, and the options in the second menu, will pertain to the option you selected in the first menu

if you can understand that :)
Tozzie is offline  
Reply With Quote
Old 09-30-2007, 05:37 PM   #4 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Aha, that's with HTML forms..
Tanax is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:01 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design