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)
i try write script for check space disk and if >87% then try find file in /.../mp3/ and delete only 5gb OLD file. i try this
root@des:/media/generaly# nano 1111.sh
i#!/bin/sh
if ;
then
print fuck
fi
root@des3:/media/generaly# . 1111.sh
bash: #!/usr/bin/perl
@result = qx{df};... (2 Replies)
Hi ,
i want to add the content of a file for example :
toto
tata
titi
at a particuler place in a file for example the line before the line containing "EXPLOIT" :
## Traitement des logs HTTP (HTTP uniquement)
#
#
## Purge des fichiers logs (Tout type de serveurs)
#
#
toto
tata... (10 Replies)
I have a text file like the following:
Major=1
Minor=2
Sub=3
Path=4
It is a text file with a full version number of some software. Im trying to get the 1234 to show up just like that on one line.
Ive tried the following:
cat file.txt | awk -F"=" '{print $2}' | sed -e s/\\r\$/\./g ... (11 Replies)
Hallo,
ich versuche in Crontab eine Befehlszeile einzufügen, das mein Script für ein Anti Flood Tool nach jedem neustart des Servers startet. Leider kenne ich mich Linux nicht soooo gut aus. Vielleicht kann mir jemand helfen?
Ich danke euch schon mal.
--> der Eintrag den ich geschrieben... (7 Replies)
Hello tout le monde,
Pour commencer, je ne suis pas un spécialiste en informatique mais je suis a même de suivre certaine procedure afin de configurer un serveur, voilà.
Donc je recherche des personnes qui puissent m'aider dans la maintenance et donc l'administration d'une machine cobalt raq4r mis a... (1 Reply)
Hi ,
i have two basic requirement on linux platform . I am using C language to do this .
1) copying one file to another (assuming i know their file descriptors)
2) Overwriting a file using it file descriptor .
Please guide.
regards
Aki (2 Replies)
Hello,
Images won't work on UNIX when I try posting them on my website I'm working on. It doesn't show the image, and it's simply erroring.
Help! Thanks! (5 Replies)
Hi,
Is anyone familiar with the Dell 8200 case? I am a first year IST major, so while I should be able to answer these questions myself, never hurts to have another opinion.
I'm looking to build a desktop. I have an old Dell 8200. The case is somewhat sentimental to me as it was my first... (5 Replies)
I/P file has data as follows:
Y
REQUIRES Z
A
REQUIRES B
C
REQUIRES D
REQUIRES E
REQUIRES F
G
REQUIRES H
I
REQUIRES J
EXACT OUTPUT FILE REQUIRED:
Y REQUIRES Z
A REQUIRES B
C REQUIRES D
C REQUIRES E (2 Replies)
Hey
You may have noticed I changed the navbar at the top a bit. I've almost finished converting the navbar to divs from table tags.
In addition, for unregistered users, instead of seeing a "New Reply" button, unregistered users see a "Login to Reply" and icon which looks the same as our... (2 Replies)
Hey,
I moved the user information in the top right on the navbar to side panel and replace it with a clickable avatar image. If you have an avatar, you will see your avatar and if you don't you will see some default one (will change it to something better later).
If you have any notification... (53 Replies)
Just changed the mobile site to use Font Awesome icons.
Here is the new top navbar view (unregistered users)
https://www.unix.com/members/1-albums214-picture903.jpeg (2 Replies)
The following is some code I am working on the replace our navbar (someday) with a Vue component.
Vue.component("unix-navbar", {
template: `<div class="neo-table-border vuenavbar"><div class="flex-item" style="margin-bottom:10px;padding-top:13px;"><a class="vuenavbarhome"... (19 Replies)
FYI.
In version 0.53 of the new UserCP I am working on, the top navbar search works; but I'm still displaying the results in the main forums. I in the future, I may being to change this to display the results in the new UserCP.
https://www.unix.com/members/1-albums225-picture1118.png (2 Replies)