Unix and Linux Discussions Tagged with des |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
12 |
5,644 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,490 |
UNIX for Beginners Questions & Answers |
|
|
|
30 |
51,512 |
OS X (Apple) |
|
|
|
2 |
7,820 |
Cybersecurity |
|
|
|
2 |
7,701 |
Cybersecurity |
|
|
|
1 |
7,055 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,644 |
Complex Event Processing RSS News |
|
|
|
3 |
6,649 |
Programming |
|
|
|
0 |
2,784 |
Linux |
|
|
|
0 |
1,490 |
UNIX and Linux RSS News |
|
|
|
5 |
2,506 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,010 |
Shell Programming and Scripting |
|
|
|
8 |
18,350 |
Shell Programming and Scripting |
|
|
|
2 |
25,724 |
Shell Programming and Scripting |
|
|
|
2 |
4,286 |
Cybersecurity |
|
|
|
1 |
11,562 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,783 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,724 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
7,234 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,859 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,002 |
Programming |
|
|
|
1 |
5,347 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
18,094 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
38,223 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
13,612 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,401 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,691 |
IP Networking |
|
|
|
2 |
3,582 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,557 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,825 |
IP Networking |
|
|
|
2 |
3,390 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,254 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,510 |
UNIX for Dummies Questions & Answers |
wml::des::preload(3) EN Tools wml::des::preload(3)
NAME
wml::des::preload - Preload Images
SYNOPSIS
#use wml::des::preload
<preload src=<image filename> via=<trick>>
DESCRIPTION
This include file provides the "<preload>" tag which can be used to preload images. Such preloading is usually done to speedup access for
following pages. Currently there are only a few tricks how this can be done.
The following combinations are currently supported:
"src="anyimage "via=size"
Preloads the image anyimage by using an "<img>" tag with the attributes "width=1 height=1" which leads to the loading of the image but
only to a 1 pixel in display.
Advantage: Works for all browsers.
Disadvantage: This approach has the nasty side-effect of an occuring 1 pixel in display because "width=0 height=0" does not work as
expected in most browsers (especially in Netscape 4.x). So, position your "<preload>" tag somewhere it does not destroy the look and
feel of your page.
"src="anyimage "via=js"
Preloads the image anyimage by using a JavaScript snippet which loads the image by declaring an unused "Image" object.
Advantage: Silently preloads the image without displaying anything.
Disadvantage: Only works for browsers with a JavaScript implementation and only for those who support the "Image" object (currently
NS/3, NS/4, IE/4).
AUTHORS
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Denis Barbier
barbier@engelschall.com
REQUIRES
Internal: P1, P2
External: --
SEE ALSO
wml::std::tags(3) HTML 3.2 "<img>" tag.
EN Tools 2014-04-16 wml::des::preload(3)