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:36
Menu redraw slow from 5.21 to 5.728 (flicker/flash)
Poster: theonlybaldone
Dated: Tuesday August 9 2005 - 22:39:58 BST
I've been using version 5.21 for some time now. Works slick. I recently upgraded to the latest 5.728 and the menu seems to redraw slower than the 5.21 version, resulting in a screen flicker/flash where the menu should be (until it is redrawn).
I've stripped the menu out as much as possible and put it as the first element within my body making sure it was not the table nesting causing the issue. I've also stripped my own style sheets and minimized what is needed for the menu to run. I've even knocked the number of main menu items down to 3.
Same results with IE, Firefox, Netscape.
The older version was slick as you changed from page to page, it appeared as though the menu was not reloading because it was so fast and users would just see the menu item focus change for the page they were on.
Is this just the way it is, or do I have a configuration problem?
I'm hesitant to post the new version at this point, but will once someone is able to help.
Thanks...
<SCRIPT>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
menualign="left";
alwaysvisible=1;
orientation="vertical";
position="relative";
aI("");
aI("text=Home;url=default.asp;status=SAM Home;");
aI("text=About SAM;url=about.asp;status=About SAM;");
aI("text=President's Message;url=president.asp;status=President's Message;");
aI("");
}
drawMenus();
</SCRIPT>
Poster: Ruth
Dated: Wednesday August 10 2005 - 0:30:42 BST
Hi,
We really need to see your site to see what's going on. Since you don't want to post the new one yet until you get things figured, if you could take your main page and one other page that we could get to from the menu and put them up someplace on the site [renamed] as a test for us it would be the best. Without that we really don't know what's involved.
Ruth
Poster: theonlybaldone
Dated: Wednesday August 10 2005 - 1:38:59 BST
http://www.sledmass.com
Select the menu items "About SAM" and "President's Message". There is essentially no redraw time, and it just appears as though the content is being changed. Version 5.21
Then..
http://www.sledmass.com/?NewMenu=YES and it will reference 5.728.
Do the same, switch between "About SAM" and "President's Message". Redraws the menu and flashes...
Thanks
Poster: Ruth
Dated: Wednesday August 10 2005 - 4:47:09 BST
grrrr, I hate when the darned thing makes me log in again and loses all I wrote......
I have not been able to find anything that would cause what you are seeing. I dont' see it in IE5.5, but I do see it in Netscape7.1 and Firefox, but it's very fast and it won't repeat, as if once it's loaded and cached it is correct.
What seems to be happening, and it took a few tries on my computer after clearing cache to catch it, it seems as if something on the left is loading a few pixels wider than what its ultimate size is after the page is fully drawn, so everything in the center and right loads a few pixels to the right and then as soon as the page finishes shifts rapidly back where they are supposed to be.
Usually something like that has to do with: padding, margins, borders or table cell widths. I'll post this for someone else to take a look.
You also have a stylesheet and there are numerous padding codes in there, so I'm not sure if any of those apply to things on the left and if that might be an issue.
Sorry I couldn't find it.
Ruth
Poster: theonlybaldone
Dated: Wednesday August 10 2005 - 19:31:20 BST
Well, I've updated the site to the latest version. Still not happy with the refresh or flicker, but not sure how to proceed. There was no delay in 5.21.
Poster: Ruth
Dated: Wednesday August 10 2005 - 20:31:22 BST
I have reported it. I don't know what you mean by redraw delay. I'm not seeing any delay in the menu displaying.
Ruth