| View previous topic :: View next topic |
| Author |
Message |
joshcxa 100+ Club

Joined: 18 Aug 2004 Posts: 156 Location: Australia
|
Posted: Sun Jun 25, 2006 12:48 am Post subject: Drop Down Menus |
|
|
What i want to do is add one of those drop down menus that creates another menu depending on what the user picks.
Say if i have a list of countires and pick Australia, a list of Australian states appears. You know the one |
|
| Back to top |
|
 |
|
|
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3590 Location: Sweden
|
Posted: Sun Jun 25, 2006 9:34 am Post subject: Re: Drop Down Menus |
|
|
Just copy and change the code
http://www.devppl.com/submitatutorial.php
Last edited by webmaster on Mon Jun 26, 2006 11:49 am; edited 1 time in total |
|
| Back to top |
|
 |
johneva 500+ Club

Joined: 29 Oct 2005 Posts: 561 Location: Stafford, England
|
Posted: Sun Jun 25, 2006 10:40 am Post subject: Re: Drop Down Menus |
|
|
It is better to use CSS for these you still carnt make one CSS only as IE dont support enough CSS yet but you can make it mostly CSS with just a little Javascript to make it work in IE.
Suckerfish menu
If you dont like that particular menu just Google suckerfish menu and there are loads out there.  |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3590 Location: Sweden
|
Posted: Sun Jun 25, 2006 10:49 am Post subject: Re: Drop Down Menus |
|
|
We described two different kind of menus mine if for form usage, and yours if for links. Lets just wait and see which of them he really meant.  |
|
| Back to top |
|
 |
johneva 500+ Club

Joined: 29 Oct 2005 Posts: 561 Location: Stafford, England
|
Posted: Sun Jun 25, 2006 10:57 am Post subject: Re: Drop Down Menus |
|
|
Ah right yeah of course.
I never gave it a though that he ment that kinda menu.
I suppose he could even mean another type of menu too one when when you click on one link and it expands showing links within that category.
Like the one in the tutorial section of DEVPPL that gives the selection of diffrent types of tutorials. |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3590 Location: Sweden
|
Posted: Sun Jun 25, 2006 11:22 am Post subject: Re: Drop Down Menus |
|
|
And I didn't think of a link-menu until I read your post  |
|
| Back to top |
|
 |
joshcxa 100+ Club

Joined: 18 Aug 2004 Posts: 156 Location: Australia
|
Posted: Mon Jun 26, 2006 3:45 am Post subject: Re: Drop Down Menus |
|
|
Check out http://www.drive.com.au
See for example when you pick ford out of the list menu it brings up the different ford models in the list below?
I want to do one of those |
|
| Back to top |
|
 |
johneva 500+ Club

Joined: 29 Oct 2005 Posts: 561 Location: Stafford, England
|
Posted: Mon Jun 26, 2006 8:50 am Post subject: Re: Drop Down Menus |
|
|
| Ah right I see well beond my programming skills sorry mate but Webmaster will probley be able to sort you out. |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3590 Location: Sweden
|
Posted: Mon Jun 26, 2006 11:49 am Post subject: Re: Drop Down Menus |
|
|
My code is much more simple then theirs, so just copy mine and change it. |
|
| Back to top |
|
 |
johneva 500+ Club

Joined: 29 Oct 2005 Posts: 561 Location: Stafford, England
|
Posted: Mon Jun 26, 2006 1:52 pm Post subject: Re: Drop Down Menus |
|
|
Wow!
Yeah just a bit simpler I was well lost in the code used on the site joshcxa linked to, but looking at the one you have used webmaster it looks rather simple. |
|
| Back to top |
|
 |
joshcxa 100+ Club

Joined: 18 Aug 2004 Posts: 156 Location: Australia
|
Posted: Tue Jun 27, 2006 1:05 am Post subject: Re: Drop Down Menus |
|
|
Yeah good stuff. Works great
Thanks mate |
|
| Back to top |
|
 |
|