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:31
Does placement of script inside a DIV affect performance?
Poster: Remco01
Dated: Wednesday May 14 2003 - 13:20:19 BST
Hello Andy,
Been testing your version4script on our site (dutch hospital) and planning to use it. Works great!
Tested o.k. on IE5 IE5.5 IE6 NN4.7 on win
Little buggy on NN62 and Mozilla1: The background of the menu-items overflows (is this correct english? ) the right border. Also menucreation is still a little slow in those two browsers. See what I mean at http://www.maaslandziekenhuis.nl/web_new/menutest.php
How bout compatibillity of script with browsers like opera and safari?
The site was created without use of tables for layout so all div and css. I've put the menuscript in the source of my htmlpage inside a div. I've also created a separate print.css. In that css I've declared display: none; to the div with the menuscript inside so if the page is printed, the menu-items are not visible/printed
I've placed that div at the bottom of my html just before the /body tag In my opinion this causes the pagecontent to load before the menu is created or am I wrong on that?
Thoes this workaround affect the performance of the menu in some way?
Best,
Remco
note that al links in my menu are dummylinks atm
Poster: John
Dated: Wednesday May 14 2003 - 16:13:50 BST
It took a little over 10 seconds for the full page (including menus) to open up here. I don't know if that's just the delay from Phoenix to you, PHP building things, or the way you have it set up. The boss (at least he's closer in the UK) will have to try that one.
I use Safari b2 all the time now (at least at home - stuck on a PC at work), and it is performing great with v4. I understand Opera is also doing better. NS6 never was very cooperative - try going to 7.02.
Seriously considering putting v4 live on one of my sites this weekend given its excellent performance so far. When Andy gets the rest of it in place he's going to have a killer app here (not that he doesn't already!).