Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:29

adding a form/poll to a menu


Poster: crawley
Dated: Tuesday June 3 2003 - 15:16:37 BST

I want to ad a poll to a menu (following menu) but have no idea whare to put it. This is the code I need to use

<table align="center" border="0" bgcolor="#ffffff" cellpadding="3" cellspacing="0" style="border: white outset 0px;">
<form action="http://www.curzoncinemas.com/cgi-bin/epoll/vote.cgi?cast=1054646985" method="post" name="A1054647177">
<input type="Hidden" name="id" value="1054646985">
<tr>
<td colspan=2 class="vFont">Best film seen this year?</td>
</tr>
<tr>
<td colspan=2 class="vFont">
<input style="background:#ffffff" type="Radio" name="vote" value="Lilya 4-Ever"> <font style="cursor:default;" onclick="document.A1054647177.vote[0].checked = true">Lilya 4-Ever</font><br>
<input style="background:#ffffff" type="Radio" name="vote" value="The Leopard"> <font style="cursor:default;" onclick="document.A1054647177.vote[1].checked = true">The Leopard</font><br>
<input style="background:#ffffff" type="Radio" name="vote" value="Russian Ark"> <font style="cursor:default;" onclick="document.A1054647177.vote[2].checked = true">Russian Ark</font><br>
<input style="background:#ffffff" type="Radio" name="vote" value="The Hours"> <font style="cursor:default;" onclick="document.A1054647177.vote[3].checked = true">The Hours</font><br>
<input style="background:#ffffff" type="Radio" name="vote" value="L'Homme Du Train"> <font style="cursor:default;" onclick="document.A1054647177.vote[4].checked = true">L'Homme Du Train</font><br>
<input style="background:#ffffff" type="Radio" name="vote" value="City of God"> <font style="cursor:default;" onclick="document.A1054647177.vote[5].checked = true">City of God</font><br>
</td>
</tr>
<tr>
<th width=150><input type="Submit" value=" Vote " style="width:100%;cursor:hand;" width="150"></th>
</form>
<form action="http://www.curzoncinemas.com/cgi-bin/epoll/vote.cgi?view=1054646985" method="post">
<input type="Hidden" name="id" value="1054646985">
<th width=150><input type="Submit" value=" View Results " style="width:100%;cursor:hand;" width="150"></th>
</tr>
</form></table>

and my menu items look like this

,"WHAT'S ON","show-menu=listings",,,1
,"PUBLIC EVENTS","show-menu=EVENTS",,,1
,"CURZON SOHO","show-menu=CURZONSOHO",,,1
,"CURZON MAYFAIR","show-menu=CURZONMAYFAIR",,,1
,"MEMBERSHIPS & SUBSCRIBE","show-menu=MEMBERS",,,1
,"PRIVATE EVENTS","show-menu=privatehires",,,1
,"LINKS","show-menu=LINKSmenu",,,1
,"TICKETS","show-menu=TICKETS",,,1

I have tried and tried and can't work out how to do it. An help woudl be appreciated


Poster: Andy
Dated: Tuesday June 3 2003 - 23:03:04 BST

I really doubt if version 3 of the menu would be reliable enough for this kind of use.

Version 4.0 is designed for this kind of thing but isn't quite ready yet.

Basically what you need to do is put the form inside a one line text string and remove all quotation marks. This as I say, may cause problems in verison 3 but version 4 will be able to handle the quotation marks in a better manner.

I'll get a demo of this posted on the new site as soon as I can

Cheers
Andy

Version 4


Poster: crawley
Dated: Wednesday June 4 2003 - 8:18:51 BST

Well, look forward to trying it - if anythings going to go wrong it always goes wrong for me - so I will be a good 'test subject'.

Thanks Andy