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
problem with menu having form
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://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
Thanks
Subodh Natu
But I tried the same scenario on your site http://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 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: Select all
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=;");
}
Subodh Natu
Use a standard style= setup in the input statement; e.g.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??
Code: Select all
style=font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 10px;
John
autocomplete=off
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/_ ... PLETE.html
<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/_ ... PLETE.html