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:17
Strange flicker for about 5 seconds
Poster: erikpkn
Dated: Tuesday August 12 2008 - 11:00:31 BST
When I load a new page and I point the mouse pointer on the menu, the menu shows a strange flicker (I don't know how to describe it better). This happens only in the first approximately 5 seconds after the page loads (when I wait that time before accessing the menu, this doesn't happen). Internet Explorer is suffering less of this phenomenon; Firefox (3.0.1) shows it more.
This happens not only on my site, but even the Milonic site shows it. Want to see it? Load http://www.milonic.com (using Firefox), point the mouse on DHTML Menu and then immediately on Supported Browsers. If you do that in the first five seconds after the page load, you'll see it.
It has something to do with focussing. In one of my menu items a visitor can enter a search term to search my site. The code is this:
Code:
with(milonic=new menuname("Zoeken")){
overflow="scroll";
style=menuStyle;
aI("image="+baseUrl+"bestanden/menu/images/zoeken.ico;"+
"text=<form action=http://search.freefind.com/find.html method=get target=_top style='margin: 10px 0 10px 0'>"+
"<input type=hidden name=lang value=nl>"+
"<input type=hidden name=id value=16240698>"+
"<input type=hidden name=pageid value=r>"+
"<input type=hidden name=mode value=all>"+
"<input type=hidden name=n value=0>"+
"<input type=text name=query size=30>"+
"<input type=submit value=Zoek></form>;type=form;");
}
overflow="scroll";
style=menuStyle;
aI("image="+baseUrl+"bestanden/menu/images/zoeken.ico;"+
"text=<form action=http://search.freefind.com/find.html method=get target=_top style='margin: 10px 0 10px 0'>"+
"<input type=hidden name=lang value=nl>"+
"<input type=hidden name=id value=16240698>"+
"<input type=hidden name=pageid value=r>"+
"<input type=hidden name=mode value=all>"+
"<input type=hidden name=n value=0>"+
"<input type=text name=query size=30>"+
"<input type=submit value=Zoek></form>;type=form;");
}
During that 5 seconds after page load I cannot give focus to that input field. This happens both in Internet Explorer and Firefox.
Erik.
Re: Strange flicker for about 5 seconds
Poster: Andy
Dated: Tuesday August 12 2008 - 11:34:39 BST
Hi,
Please download the menu again, I have made a very slight adjustment to version 5.80 to hopefully fix this.
--Andy
Re: Strange flicker for about 5 seconds
Poster: erikpkn
Dated: Tuesday August 12 2008 - 12:15:25 BST
Yes, that worked. Thanks for the quick reply!
Erik.