Solved

HTML Caching?

Posted on 2000-05-17
2
134 Views
Last Modified: 2010-04-09
This may be a stupid question but...

Is it possible to get my HTML pages to cache before displaying them? I ideally want all content (graphics, text etc) to load prior to the page being displayed. Thanks in advance.

Leigh.
0
Comment
Question by:lbowers
  • 2
2 Comments
 
LVL 1

Expert Comment

by:anyanicky
ID: 2817359
Try this...

<script type="JavaScript">
if(document.images){
 var arrFiles = new Array("1.gif","2.gif","3.gif");
 var arrGifs  = new Array();
 for(i = 0;i < arrFiles.length;i++){
  arrGifs[i] = new Image();
  arrGifs[i].src = "IMAGEPATH/" + arrFiles[i];
 }
}
</script>
 
0
 
LVL 1

Accepted Solution

by:
anyanicky earned 50 total points
ID: 2817363
Here is another way to do it using iframes and layers

http://www.faqts.com/knowledge-base/view.phtml/aid/1900/fid/124
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Media Queries  not Firing 6 26
Extracting content from meta tag PHP MYHTML DOM 3 34
Do alert on select 6 26
Making Table Thru ASP Response.write 5 19
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question