PDA

View Full Version : Drop down menu's


TinMan
05-15-2005, 10:59 PM
Am using Dreamweaver to insert some dropdown menu's into a webpage.

There are several items in these menu's.
When the page loads initially these meu's say something like,
"please select"
So the user makes their selection and this takes them off to another page or another site.
If the user reaches this other site then clicks 'Back', they of course come back to the page with the drop down menu's.

The selection they made the first time is still in the dropdown menu box.
Is there any way to make this always default back to "please select", immediately after a selection has been made?

I think it looks tidier if these menus always say "please select".

thx

enumerator
05-16-2005, 06:40 AM
Select menus should have a <label> (not a meaninless option), methinks; but the selected property can be set onload, or something...

pumpkin1975
05-18-2005, 04:35 PM
Am using Dreamweaver to insert some dropdown menu's into a webpage.

There are several items in these menu's.
When the page loads initially these meu's say something like,
"please select"
So the user makes their selection and this takes them off to another page or another site.
If the user reaches this other site then clicks 'Back', they of course come back to the page with the drop down menu's.

The selection they made the first time is still in the dropdown menu box.
Is there any way to make this always default back to "please select", immediately after a selection has been made?

I think it looks tidier if these menus always say "please select".

thx


In dreamweaver when you have the 'list values' dialogue box displayed, put the value -1 in the 'Please Select' value. That forces the 'Please Select' value to appear by default every time.

TinMan
05-18-2005, 07:16 PM
ok thanks thats useful to know will save some typing next time.

What I was trying to do was, someone selects a topic from the dropdown, this takes them off to a website in a new window.
But I wanted the dropdown to go back to "please select" immediately after something has been selected.
ie. it will not stay at any of the menu options after they have been selected.