Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combo box - resetting back to "make a selection" 1

Status
Not open for further replies.

terrahawk

Technical User
Dec 16, 2001
53
US
Hi, I had a couple questions about making Combo boxes in Dreamweaver. The page I'm working on is here:

1) I put "make a selection" as the first option. Can I make it so that if someone selects this option, that nothing happens? Right now it goes to a blank page.

2) Can I tell the combo box to reset back to "make a selection" each time, or maybe it is supposed to? If someone chooses to open a PDF or the Excel data, then uses the browers back button, the combo box stays on the previous selection. The combo box does reset when they use my "home" button from the other options. I have considered making a two row frameset to keep the header at the top for the PDF files but I'm not sure if the Excel files would like that.

Thanks,
Peter
 
sure both ur problems can be solved in one single code:
<body .... onload=&quot;document.FormName.individual.selectedIndex=0&quot;>

i see that u have no form, please add one, otherwise change the code to:
document.individual.selectedIndex=0

Known is handfull, Unknown is worldfull
 
Thank-you vbkris. I get it. I should build my combo boxes within a form.

Is it okay if I build my form within a Dreamweaver Library item that I will use as my header/top navigation?

How would you lay this out if you wanted the PDF or Excel file to open and still maintain the top navigation bar? A two row frameset is all I can think of.

Peter
 
yes, u have to use frameset, as for libraries, i have no idea, i never use them...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top