Click to See Complete Forum and Search --> : Problem with drop-down menu/email


D.S.R.Clark
07-08-2003, 08:05 PM
To whom it may concern,


I am trying to constuct a drop-down menu that has text linked to email address. this is a sample of the text:

<form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>
<!--webbot bot="SaveResults" u-file="../_private/form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --><p align="center">
<select size="1" name="D1">
<option selected>~~~~~ Departmental E-Mail Addresses- Please feel free to write. We like hearing from you! ~~~~~
</option>
<option value="mailto:customclothing@elizabethstewartclark.com">Do you have further questions on our Custom Clothing, "click" here!
</option>
<option value="mailto:techsupport@elizabethstewartclark.com">Are you STUCK! with sewing questions? &quot;CLICK HERE!&quot;
</option>
<option value="mailto:TheDollCase@elizabethstewartclark.com">Do you have questions about our beautiful dolls? &quot;CLICK HERE!&quot;
</option>
<option value="mailto:sewingacademy@elizabethstewartclark.com">Would you like to sponsor a Sewing Academy in your town? &quot;CLICK HERE!&quot;
</option>
<option value="mailto:merchants@elizabethstewartclark.com">Are you a MERCHANT? Would you like to carry our things? &quot;CLICK HERE!&quot;
</option>
<option value="mailto:museums@elizabethstewartclark.com">Do you work for a MUSEUM? Would you be interested in wearable exhibits? &quot;CLICK HERE!&quot;
</option>
<option value="mailto:TheLegalDept@elizabethstewartclark.com">Would you like to REPORT a Violation of our copyright and possibly recieve a REWARD?
</option>
<option value="mailto:webmaster@elizabethstewartclark.com">Are you having issues with our site? Please let us know, so we can help. &quot;CLICK HERE!&quot;</a></p>

</option>
</select></p>
<p align="center">
&nbsp;<input type="submit" value="Write Letter, Please!" name="B1"></p>
</form>


I am using Frontpage 2002 as an editor, but I think that it may be changing some of the parameters. Is this script on the right track, or have I lost my mind??
I am using this same form to go to URL's, and they work just fine. The Email are a different matter, though.

Thank you in advance,

David Clark

Khalid Ali
07-09-2003, 02:17 AM
Could you elaborate a bit more that what exactly is you want this script to do???

Fang
07-09-2003, 02:34 AM
This is the basic form:

<form>
<select onChange="location.href=this.options[this.selectedIndex].value">
<option>Please feel free to write.</option>
<option value="mailto:customclothing@elizabethstewartclark.com">Custom Clothing, "click" here!</option>
<option value="mailto:techsupport@elizabethstewartclark.com">sewing questions? "CLICK HERE!"</option>
</select>
</form>

The onSelect will not work for security reasons, use onChange, but even this method can cause problems with NN, Mozilla.