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:05

Page wont load on some machines.


Poster: mnw
Dated: Monday November 1 2004 - 11:59:44 GMT

I have a page that is in the works and mostly it works just fine (Milonic v5.4). However on some machines the home page simply freezes after loading 1 image and refuses to load the menu or the rest of the page?

http://www.caspianlearning.co.uk/index1.html

I am having trouble emulating this problem in order to locate the source of the trouble.

Could it be security options for the browser (IE6)?
Could it be to do with the fact that the page uses Iframes?

Please help

mnw


Poster: kevin3442
Dated: Monday November 1 2004 - 21:00:42 GMT

mnw,

Don't know what it could be, as I can't reproduce the problem either. Your page loads fine for me using IE6/WinXP. Maybe someone else gets the "stuck page" problem?

Kevin


Poster: bobwill
Dated: Monday November 1 2004 - 23:57:55 GMT

I had the same problem with Opera 6 and Opera 7. Worked fine whe I use IE 6.

Hope this is of some help.


Poster: kevin3442
Dated: Tuesday November 2 2004 - 0:41:04 GMT

Hi mnw,

I had a few minutes so I had another look. I see a couple of issues, one of which may explain the problem you're experiencing. But the first issue is this: I notice that you're using an unlicensed copy of the menu, but it seems to me that, even though it deals with an educational product, your site is a commercial site. I'm guessing that your plan must be to develop the site, work out the kinks, then license the menu. Makes sense. But then I noticed that the link to milonic.com that Milonic requires to use an unlicensed copy is a hidden link. I'm left wondering why the required link is hidden? Not trying to be a jerk... just thought we could clear that up before proceeding with possible solutions.

Cheers,

Kevin


Poster: mnw
Dated: Tuesday November 2 2004 - 12:12:22 GMT

Yeah, I have notified the company that they will need to licence when they are up and running and the site is ready. The link is hidden for the sake of the 'look n' feel' of the site. Problem I am currently having is only on a couple of machines (those of the owners of the company...typical).

But to re itterate...the page featuring the menu refuses to load...is the 'stuck page' issue a know thing AND if so IS THERE AN EASY FIX, OR IS THERE A SPECIFIC AREA OF THIS FORUM i SHOULD LOOKING AT. (sorry not shouting just careless).

Thanks for all your help so far.

Mnw


Poster: John
Dated: Tuesday November 2 2004 - 13:52:05 GMT

Not having a problem here, either (also XP Pro/IE6).

You also need to upgrade. Current version is 5.51, with 5.52 right around the corner. As noted on the home page, the latest version is all we can support.


Poster: kevin3442
Dated: Tuesday November 2 2004 - 16:27:58 GMT

mnw wrote:
Yeah, I have notified the company that they will need to licence when they are up and running and the site is ready. The link is hidden for the sake of the 'look n' feel' of the site.

I figured that was probably it... thanks for taking the time to make it clear.

mnw wrote:
But to re itterate...the page featuring the menu refuses to load...is the 'stuck page' issue a know thing...

No, it's unique.

mnw wrote:
AND if so IS THERE AN EASY FIX, OR IS THERE A SPECIFIC AREA OF THIS FORUM i SHOULD LOOKING AT. (sorry not shouting just careless).

You're in exactly the right place. Not sure about "easy" but here's my first go at it:

I looked at the code for your main page. I see a couple ofthings that you might change:

(1) The script that moves and resizes the browser window is between the </head> and the <body>, in a sort of nether world. Don't know if this would really have the effect you're seeing, but I'd move it into one of the proper sections.

(2) Probably of more importance is the code where the menu scripts are being loaded. I see:
Code:
<script type="text/javascript" src="scripts_css/milonic_src.js"></script>   
<param copyright="JavaScript Menu by Milonic - http://www.milonic.com"><!-- </param> -->
<script   type="text/javascript">
<!--
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=scripts_css/mmenuns4.js><\/scr"+"ipt>");      
  else _d.write("<scr"+"ipt language=JavaScript src=scripts_css/mmenudom.js><\/scr"+"ipt>");

</script>
<script type="text/javascript" src="scripts_css/menu_data.js"></script>

Two things here:

(a) On line 2 of the code above, the closing </param> tag (for the copyright info) is inside of html comment tags: <!-- </param> -->. So, the <param> block is never closed.

(b) On line 4 of the code above, there's an opening html comment tag, <!--, without a matching closing comment tag anywhere further down tha page. A closing comment tag would normally appear on line 7 above, which is currently blank, but the more recent practice has been to remove those comment tags altogether, because (if I remember right) they interfere with some releases of NS4.7x. The upshot is that the way it stands now, all of the page's code past line 4 is "commented out". Your mmenudom.js and menu_data.js files don't load, so no menus. You didn't mention which image loads before the page freezes, but I'd be willilng to be that it's logobottomright.gif, because that image is loaded at the top of the body, before the comment problems. If it is logobottomright.gif that loads before the page freezes, that would tend to support the theory.

I'd try replacing the above code with:
Code:
<script type="text/javascript" src="scripts_css/milonic_src.js"></script>
<param copyright="JavaScript Menu by Milonic - http://www.milonic.com"></param>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=scripts_css/mmenuns4.js><\/scr"+"ipt>");
  else _d.write("<scr"+"ipt language=JavaScript src=scripts_css/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="scripts_css/menu_data.js"></script>

Hope that helps,

Kevin

Yahoo


Poster: mnw
Dated: Thursday November 4 2004 - 9:20:50 GMT

Thanks kevin3442. That code clean up has done the job. Amazing what a pair (I assume) of fresh eyes can do. And also please note that the company have now licenced the menu :-)...one more thing though how do I go about inserting the licence number? Probably answered elsewhere on this forum so I'll go have a look. Thanks again.
mnw

Re: Yahoo


Poster: kevin3442
Dated: Friday November 5 2004 - 22:16:16 GMT

mnw wrote:
Thanks kevin3442. That code clean up has done the job. Amazing what a pair (I assume) of fresh eyes can do.

You're welcome. I've actually been been called "four eyes" before... but that was a long time ago. ;)

Kevin