The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> need help with drop down email menu
stevo_devo
post Nov 6 2007, 06:39 PM
Post #1





Group: Members
Posts: 1
Joined: 6-November 07
Member No.: 4,250



At work, I made a page that has a drop down email menu that lists the people that I email frequently. What I want to do is have it so that instead of emailing one person at a time, I can choose multiple people to email. What should I do/change in my program to make this happen? I've been working on the problem with no success. The form is listed below. (thanks in advance!)

<form name="email">
<select name="select" onChange="location=document.email.select.options[document.email.select.selectedIndex].value;">
<option value="mailto:person a@no_email.com">Person A</option>
<option value="mailto:person b@no_email.com">Person B</option>
<option value="mailto:person c@no_email.com">Person C</option>
</select>
</form>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies(1 - 1)
dingod
post Nov 22 2007, 03:00 PM
Post #2





Group: Members
Posts: 2
Joined: 22-November 07
Member No.: 4,366



Hope this helps. Change the size field for how many lines you want to display. Good luck.

<select name="select" onChange="location=document.email.select.options[document.email.select.selectedIndex].value;" size="2" multiple>
<option value="mailto:person a@no_email.com">Person A</option>
<option value="mailto:person b@no_email.com">Person B</option>
<option value="mailto:person c@no_email.com">Person C</option>
</select>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 03:18 PM