Query: wml::des::preload
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
wml::des::preload(3) EN Tools wml::des::preload(3)NAMEwml::des::preload - Preload ImagesSYNOPSIS#use wml::des::preload <preload src=<image filename> via=<trick>>DESCRIPTIONThis 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).AUTHORSRalf S. Engelschall rse@engelschall.com www.engelschall.com Denis Barbier barbier@engelschall.comREQUIRESInternal: P1, P2 External: --SEE ALSOwml::std::tags(3) HTML 3.2 "<img>" tag. EN Tools 2014-04-16 wml::des::preload(3)
Related Man Pages |
---|
wml::des::all(3) - debian |
wml::des::imgbg(3) - debian |
wml::des::imgdot(3) - debian |
wml::std::href(3) - debian |
wml::fmt::xtable(3) - debian |
Similar Topics in the Unix Linux Community |
---|
OpenLayers 2.6-rc1 (Default branch) |
preload: 0.6.3 released |
Not Sure How to Look for Not Used Images On the Server |
Images won't work? |
Je vends des numéros de cartes bancaires et des clonecard |