Click to See Complete Forum and Search --> : How? does one get a dropdown menu to work from a newsletter in the e-mail box to work


JavaLearner
01-30-2003, 07:07 AM
Dear freindly visitor

I have below a script for a drop down menu which works fine on a webpage.

I need to know how does one get this working in a newsletter, I have done tests sending my self a copy of the newsletter, with this script in it, when I click on the drop down menu from my e-mail box it does not work, can anyone help.

regards
************************************

<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" u-file="_private/form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" --><p>&nbsp;<select name="list" onchange="showpage(this.form);">
<option value="x">Select A state
<option value="www.sea-ex.com/austwholeslsfd/qldrestaurantsup.htm">QLD suppliers
<option value="www.sea-ex.com/austwholeslsfd/darwindrestaurantsup.htm">NT suppliers
<option value="www.sea-ex.com/austwholeslsfd/vicrestaurantsup.htm">VIC suppliers
<option value="www.sea-ex.com/austwholeslsfd/nswsuppliersrestaurant.htm">NSW suppliers
<option value="www.sea-ex.com/austwholeslsfd/warestaurantsup.htm">WA suppliers
<option value="www.sea-ex.com/austwholeslsfd/warestaurantsup.htm">SA suppliers
<option value="www.sea-ex.com/austwholeslsfd/tassuppliersrestaurant.htm">TAS suppliers
</select><input type="button" value="GO" onclick="showpage(this.form);"></font></p>

<Script LANGUAGE="JavaScript">
function showpage(form)
{ var item = form.list.selectedIndex;
choice = form.list.options[item].value;
if (choice!="x")
top.location.href="http://"+(choice);
};
</script></p>
<p><input type="reset" value="Reset" name="B2"></p>
</form>

JavaLearner
01-30-2003, 06:58 PM
I am sending my e-mail through OutlooK Express 6, through
send as webpage.

This is a sample url
http://www.sea-ex.com/freshcatch/index111.htm please have a look at it if you have time, the drop down is located on both side mid-section.

this is my e-mail address, perhaps send you and I a copy

my e-mail is info@sea-ex.com
looking forward
Lionnel

JavaLearner
01-30-2003, 10:22 PM
That's ok if you have no expirience for working on HTML.

1) I design my newsletter from Microsoft Front Page 2000.

2) Add nessary graphics, copy and past the drop down script
and voila, newletter greated.

You would have to go to the previous url I sent you and view source.

Lionnel

JavaLearner
01-31-2003, 07:13 AM
Dave

When you open your front page, creat a sample page, then enter the URL I sent you into your browser, view source copy the whole source then open that page you have created, then open the HTML tab below on that same page in your front page, past the source you have copied,

save that page, once that page is in you front page, find the name of the sample page you have created with my newsletter in it, copy that page URL past it into your browser, re-fresh the page if needed, voila it should be their.

While you read through, until you come to the dropdown menu which is on both sides of this page test it to see if it work fine, if so good, it works fine while viewing it online however...

Copy the sample page URL then go to you OUT lOOK EXPRESS pretend you are sending a rich text newsletter, so go on the top of your e-mail bow and click tools, your should see send as web page from that dropdown menu.

Then send one to your self, when you have received it, click on the drop down menu and see if that works if not, that's what I am trying to get working.

The Java script code in that e-mail newsletter is obiously not correct, that's were you coming as you are a Java expertise.

PS what e-mail software do you use?

Lionnel