/    Sign up×
Community /Pin to ProfileBookmark

images and browser cashe

Hello everybody, I need a little help..
I want the script to load about ten images to the cashe in the nain – index page and then after login i couls yose the pictures from the cashe.
How to realise that?

[CODE]
<SCRIPT>
image1 = new Image
image2 = new Image
image3 = new Image
image4 = new Image
….

image1.src=’/pictures/img1.gif’
image2.src=’/pictures/img2.gif’
image3.src=’/pictures/img3.gif’
image4.src=’/pictures/img4.gif’

</SCRIPT>
[/CODE]

How i can use it on another page ?
Also not each of the other pages contains all ten pictures.
If page – member.html contains just pictures 1,3 & 5 how to avoid mistakes?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@valenokauthorMar 15.2006 — anybody knows ?
Copy linkTweet thisAlerts:
@felgallMar 15.2006 — Once they are in the cache the following pages will use them from there automatically. Just create normal links.
×

Success!

Help @valenok spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...