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> <select name="list" onchange="showpage(this.form);">
<option value=http://www.webdeveloper.com/forum/archive/index.php/"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>
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> <select name="list" onchange="showpage(this.form);">
<option value=http://www.webdeveloper.com/forum/archive/index.php/"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>