It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Drop Down Menus

Drop Down Menus

Postby joshcxa on Sat Jun 24, 2006 11:48 pm

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
joshcxa
DEVPPL Lightwave Moderator
User avatar
joshcxa
100+ Club
 
Posts: 156
Joined: Wed Aug 18, 2004 10:59 am
Location: Australia

Postby webmaster on Sun Jun 25, 2006 8:34 am

Just copy and change the code :)

http://www.devppl.com/submitatutorial.php
Last edited by webmaster on Mon Jun 26, 2006 10:49 am, edited 1 time in total.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby johneva on Sun Jun 25, 2006 9:40 am

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. ;)
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Postby webmaster on Sun Jun 25, 2006 9:49 am

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. :)
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby johneva on Sun Jun 25, 2006 9:57 am

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.
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Postby webmaster on Sun Jun 25, 2006 10:22 am

And I didn't think of a link-menu until I read your post :D
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby joshcxa on Mon Jun 26, 2006 2:45 am

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
joshcxa
DEVPPL Lightwave Moderator
User avatar
joshcxa
100+ Club
 
Posts: 156
Joined: Wed Aug 18, 2004 10:59 am
Location: Australia

Postby johneva on Mon Jun 26, 2006 7:50 am

Ah right I see well beond my programming skills sorry mate but Webmaster will probley be able to sort you out.
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Postby webmaster on Mon Jun 26, 2006 10:49 am

webmaster wrote:Just copy and change the code :)

http://www.devppl.com/submitatutorial.php


My code is much more simple then theirs, so just copy mine and change it.
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby johneva on Mon Jun 26, 2006 12:52 pm

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.
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Next

Who is online

Users browsing this forum: No registered users and 8 guests