Search form inside a selection?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Search form inside a selection?

Post by Areometer »

How do you insert a search form or mailing list subscription form inside a selection like the way being used by Milonic "Search" selection?

Thank you.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

text=<form> etc.... </form>;type=form;

regards
maz
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Post by Areometer »

Thank you! I will try it out.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Note using the normal space character & n b s p ; messed it up for me, instead I used itemwidth to allow for text with spaces.

regards
maz
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Still having problem w/ form inside the menu...

Post by Areometer »

Sorry but I am still experiencing problem and don't know where else to look for help/info.

Let's say the following command works:

aI("text=Info;url=http://www.yahoo.com;status=words;");

If I want to insert a <form>blahblah</form, should I insert after text= or url= or ??

Thank you for helping me.

Edward
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Here is the menu declaration for the menu on the Milonic home page which contains a form with a textbox input with a submit button. If you have any other questions regarding it, as always, keep them coming.

Code: Select all

with(milonic=new menuname("mm search")){		
	style = vertStyle;
	margin=3;
	aI("text=<FORM METHOD=GET ACTION=/search.php name=search><table><tr><td>Search Milonic</td></tr><tr><td><input name=q size=11></td></tr><tr><td><input type=submit value=Search></td></tr></table></form>;type=form;align=center");
	}	
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Still having problem w/ form inside the menu...

Post by John »

Areometer wrote:If I want to insert a <form>blahblah</form, should I insert after text= or url= or ??
There is no required order for the menu parameters. Your <form>, however, is HTML, and needs to follow those rules.
John
Post Reply