Link to home
Start Free TrialLog in
Avatar of Solutionabc
Solutionabc

asked on

Javascript not loading on first page load.

hi,

some some odd reason when I hit my homepage on Firefox the javascript does not load. If I click on another page then go back to the homepage only than will the javascript load for the page. In the bottom left corner of the browser it says "waiting for website" and does that infinitely until I revisit the page.

I have tried clearing the browser cache, cookies and even starting FF in safe mode, still the problem is not resolved. It works fine in all other browsers!

Does anybody have a solution or something I could try?



Avatar of bugada
bugada
Flag of Italy image

Can you post the code or the url of your homepage?
some tools blocking JS? virus check?

HTH

Ivo Stoykov
Avatar of Solutionabc
Solutionabc

ASKER

www.singerforyou.com

I tried firefox in safe mode which disables all plugins, that didn't help.
I do not have problems - loads both in FF and IE.
I am running version 3.6.10 I believe. it wasn't loading on my laptop desktop and I got one of my friends to try and it didn't work for him either.
Avatar of Gurvinder Pal Singh
which script is not getting loaded?
I tried on FF2, don't see any problem there
my cu3ber script is not loading(the flashy banner) and the one dealing with the text font... I can't remember the file name. I will check.
can you give the exact script name (file name)? i can't find any cu3ber script in your source code
js/CU3ER.js
 it is in the head. Also, the cu3ber has some script in javascript tags that is there
Ok I can reproduce yor problem with FF:

i cannot tell you the real problem, but a first look to loaded resources revealed to me that the CU3ER.swf is loaded 3 times: first in the head javascript, then twice in the html code.

Fix it an retry.
I would have to contact cu3er support and ask them if that is how it should be setup. I followed their instructions so I would assume thats just how the product operates. I don't really know too much about it to be able to modify it and make it work.
also, the font is messed up that is being controlled with javascript. The file is called Script.js and is linked in the header. Any explanation for that?

thanks.
Ok if i block the swf, the browser stops loading continously.

But i can't reproduce the messedup fonts beahaviour.
Can you post a screenshot?

Maybe this is related to your browser only.
The fonts on the the side that say "Want a Hook" etc. and "How it works"

The fonts are Fatter then click another page and go back to it and you will notice the difference in thickness. thanks
I'm sorry I'dont see any difference. Please see the attached image.
test.jpg
you do not seem to have the same problem. If you see my image below, the text highlighted in red are the ones being affected.
image.png
I fixed the extra loading of the .swf file. Still it is not loading on the first load.
when I hit the page directly it works, but if I search google for it then click the link, it does the messed up stuff. Is it possible that google has some cached version of the page??

any other suggestions?
ASKER CERTIFIED SOLUTION
Avatar of bugada
bugada
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
great thanks!