Question:

How do i preload my website?

by  |  earlier

0 LIKES UnLike

I have a HTML website and i want to preload it

is there a way to do this

 Tags:

   Report

3 ANSWERS


  1. There are lots of Preloaders for images, but not sure if anyone has tried to preload a whole site that has HTML in it. Best just to optimize your web page(s) then try to use some scripting language to preload anything.

    Ron


  2. 'Preloading' a website means loading all images first before the user accesses the content of said site. So that the user can move around the site faster without the need to wait for images to load. Though most people have a fast ISP now a days there is no need for it. But if you are looking for something to learn from this is a good source - it is java script so read the comments if you get lost.

    http://www.dynamicdrive.com/dynamicindex...

    Example of a comment.

    // This is a comment and will not be visible in your website.

  3. If you just want to view personally after uploading create a copy of your index.html and name it index.php, then edit your index.html just with a welcome message and that your are pre-loading.

    when you want to check out the look just use the link in your browser pointing to the index.php file (www.yoursite.com/index.php)

    When your finished rename your index.php back to index.html

    no need for php tags in the file

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.