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: Help & Support for DHTML Menu Version 5+
Last Updated: Tuesday December 2 2008 - 06:12:37

Need form tag in menu system


Poster: thundeerbirdie
Dated: Friday January 26 2007 - 4:00:43 UTC

Hi All,

I need to have a Menu tag as "chat" howver to get into the chat from the main page I need to use the below form tag.

Any one got a clue how I do it?


<form name='frmChat' id='frmChat' action="chat/flashchat_osdate.php" method='get' target="new">
<input type="hidden" name='username' value="{$smarty.session.UserName}" />
<input type="hidden" name='whatIneed' value="{$smarty.session.whatIneed}" />
</form>
<a class="panellink" href="#" onclick="javascript:document.frmChat.submit(); return(false);">{lang mkey='chat'}</a>


Poster: Andy
Dated: Monday February 5 2007 - 15:16:31 UTC

Something like this:

Code:
aI("text=`<form name=frmChat id=frmChat action=chat/flashchat_osdate.php method=get target=new><input type=hidden name=username value='{$smarty.session.UserName}'><input type=hidden name=whatIneed value='{$smarty.session.whatIneed}'></form><a class=panellink href=# onclick='javascript:document.frmChat.submit();return(false);'>{lang mkey='chat'}</a>`;type=form");


You may need to ensure that the values are parsed correctly, this will mean changing the filename to .php and also maybe echoing the $smarty values