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
Page wont load on some machines.
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
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
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
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
I figured that was probably it... thanks for taking the time to make it clear.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.
No, it's unique.mnw wrote:But to re itterate...the page featuring the menu refuses to load...is the 'stuck page' issue a know thing...
You're in exactly the right place. Not sure about "easy" but here's my first go at it: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).
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: Select all
<script type="text/javascript" src="scripts_css/milonic_src.js"></script>
<param copyright="JavaScript Menu by Milonic - http://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>
(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: Select all
<script type="text/javascript" src="scripts_css/milonic_src.js"></script>
<param copyright="JavaScript Menu by Milonic - http://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>
Kevin
Yahoo
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
mnw
Re: Yahoo
You're welcome. I've actually been been called "four eyes" before... but that was a long time ago.mnw wrote:Thanks kevin3442. That code clean up has done the job. Amazing what a pair (I assume) of fresh eyes can do.
Kevin