TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Drop down menus :) (http://www.talkphp.com/general/1261-drop-down-menus.html)

Tozzie 09-30-2007 12:28 AM

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 :)

Tanax 09-30-2007 10:00 AM

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?

Tozzie 09-30-2007 04:18 PM

Quote:

Originally Posted by Tanax (Post 2785)
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 :)

Tanax 09-30-2007 05:37 PM

Aha, that's with HTML forms..


All times are GMT. The time now is 04:32 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0