-1

By clicking on an image immediately particular HTML page should get loaded, but it is taking few seconds to get load. Please tell me how to avoid/reduce that waiting time and display page as soon as possible. Have used CSS and also modified HTML page to make it lighter but still no use.

Bill the Lizard
  • 386,424
  • 207
  • 554
  • 861
Prax
  • 183
  • 11

1 Answers1

1

Optimizie your images using photoshop. If you don't Have photoshop use an online service.

Don't use any inline CSS or JavaScript, point to external files.

E.g.

<link rel="stylesheet" type="text/css" href="test.css" />
<SCRIPT language="JavaScript" SRC="http://someplace.com/jxt1.js"></SCRIPT>

Move your JavaScript to right before the

</body>

Causing the HTML to load before the script is run.

Community
  • 1
  • 1
Philip Kirkbride
  • 19,609
  • 34
  • 109
  • 213