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:02

How to place form elements inside menu


Poster: The Ricster
Dated: Monday October 20 2003 - 19:26:35 BST

Hello all,

I have what is probably a very simple question, but one which I can’t seem to find an answer for.

How do I place form elements (text boxes, select boxes, radio buttons, etc.) inside the menu? Any help here would be greatly appreciated. Thanks



The Ricster

Ricster __at__ ricsterware.com


Poster: Hergio
Dated: Monday October 20 2003 - 20:07:47 BST

Oohh its been a while, umm lets see here. I believe you need to set the type of the menuitem to forum. I think you do that right after the URL as in urllstuff;type=form. And then right in the text of the menu item you are allowed to put HTML tags, just watch your quotes and single quotes, they may mess up the javascript.

Also, we've done this quite a few times in version 5 of the menu. Its really quite easy. We do it on the http://www.milonic.com homepage under search, take a look at the code to see how its done. So yes, I am saying it again for all those people out there that hate to hear it, upgrading would be your best option. ;)


Poster: The Ricster
Dated: Monday October 20 2003 - 23:09:22 BST

Thanks Hergio, I thought it was something similar to that, only I didn't, (and still don't) know exactly where the text/tags are inserted. I realize that it is done on the home page, but I don't have access to that code segment, do you?

and is it done differently in ver5 than in ver3?

any sample code you can show me, (I'm very much a 'show me' kind of guy).

many thanks again


Poster: Hergio
Dated: Tuesday October 21 2003 - 13:41:30 BST

Ok so I am assuming you are upgrading to version 5...cuz you better! :lol: Its worth it! There are definetly differences between ver3 and ver5, but they are differences that make your life coding and customizing the menu easier. Andy has taken alot of the guesswork and 'comma-counting' out of the menu and its much simplier to understand. Go to http://www.milonic.com/menu_data.php , it will look like a bunch of rubbish, but just use your 'view source' and it will look normal. Look through that code for the form insertion, I've also posted the exact code on the v5 forum, do a search of posts made by me with form code or to that effect.

You will also see NUMEROUS examples of all you can do with the menu in the samples area. Under the DHTML menu item, you will see samples, in there, there are TONS of examples complete with source code and the ability to download.

Best of luck upgrading...I hope we can more people to do it. ;)