Forum Moderators: open

Message Too Old, No Replies

Does JavaScript slow down my Website?

Does JavaScript slow down my Website?

         

mavrick

10:15 am on Sep 5, 2003 (gmt 0)

10+ Year Member



Hi

I have a client who says his site is really slow when he first calls it up. The only thing that is different from the other site that I have developed is that I have used JavaScript on the front page. All the JavaScript does is call up a bigger img. when a smaller version of the the img is clicked on. I was just wondering weather this was the reason that the site is so slow.

Thanks in advance

jbinbpt

10:27 am on Sep 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it the same for all browsers? Have your client use a different browser.
Does it only happen the first time the browser opens?
If the browser has to load java, this will seem like the website is running slow.

This might give you some ideas Enabling javascript [computersteve.com]

limbo

10:53 am on Sep 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Maverick

You may want to think about placing the javascript as an external file - this has worked for me on a few occasions.

ta

Limbo