Solved

HTML Caching?

Posted on 2000-05-17
2
121 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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

763 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now