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+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:58

problem with menu having form


Poster: subodh
Dated: Thursday January 6 2005 - 2:50:19 GMT

Hi
I have implemented a similar menu item like the search menu item on your home page. The problem is due to auto-suggest/fill feature in XP it remembers the previous entries done in the text box.
So while typing in the text box, if the partial text matches any available entry, a dropdown lists opens up to select available entries. If I place my mouse over that list, the menu closes !!

Can someone please suggest, how to resolve this.

Thanks
Subodh


Poster: John
Dated: Thursday January 6 2005 - 4:04:41 GMT

Got a URL?


Poster: subodh
Dated: Thursday January 6 2005 - 19:35:56 GMT

can't post a url, because I am behind the firewall and this is being developed for an intranet site.

But I tried the same scenario on your site http://www.milonic.com/ and the behaviour is the same. Put the mouse on search menu and it opens the FORM menu item containing the textbox. Type some text there say "5912" and hit search. Again open the search menu, and try typing the same text "5912", as soon as "5" is entered another drop down list shows up to select from available options, and if you take the mouse on that list the menu below disappears.
Maybe this is browser dependent :( I am using IE 6.0 and OS is Windows XP Professional.

I have another question regarding the same. The text in the form (inside the menu) is appearing of different size and font than that of the other menu items.
How do I make the text font same as menu font??

The code for the menu item containing the form is given below
Code:
with(milonic=new menuname("SearchMenu")){      
style = menuStyle;
top="offset=2"
margin=3;
aI("text=`<FORM METHOD=get ACTION='Controller?act=search_feature' name=search style='margin:0px;'><table><tr><td>Search Feature</td></tr><tr><td><input name=feature_id size=11></td></tr><tr><td><input type=submit value=Search></td></tr></table><input type=hidden name=act value=search_feature><input type=hidden name=home value='1'><input type=hidden name=mode value='1'></form>`;type=form;align=center;onbgcolor=;onborder=;");
}   


Thanks
Subodh Natu


Poster: John
Dated: Thursday January 6 2005 - 22:04:32 GMT

subodh wrote:
I have another question regarding the same. The text in the form (inside the menu) is appearing of different size and font than that of the other menu items.
How do I make the text font same as menu font??

Use a standard style= setup in the input statement; e.g.
Code:
style=font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 10px;

Don't have an answer on the other thing yet.


Poster: subodh
Dated: Thursday January 6 2005 - 23:03:17 GMT

thanks a lot !! :o it solved the problem

Subodh

autocomplete=off


Poster: harm
Dated: Friday January 7 2005 - 13:40:42 GMT

Use AUTOCOMPLETE=OFF, so <input name=feature_id size=11> must be
<input name=feature_id size=11 autocomplete=off>. I didn't try it, but i think it should work.
source:
http://www.htmlcodetutorial.com/forms/_INPUT_AUTOCOMPLETE.html


Poster: subodh
Dated: Friday January 7 2005 - 17:48:55 GMT

great solution !! It really works ! thanks a lot.