Ero sivun ”Malline:Kuvalinkki” versioiden välillä

PartioWikistä
Siirry navigaatioon Siirry hakuun
(purkkaa, kopio sivusta http://en.wikipedia.org/wiki/Template:Click)
 
Ei muokkausyhteenvetoa
 
(19 välissä olevaa versiota 3 käyttäjän tekeminä ei näytetä)
Rivi 1: Rivi 1:
<div style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden">
<div style="position: relative; width: {{{leveys}}}; height: {{{korkeus}}}; overflow: hidden;">
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[{{{link}}}|&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3;">[[{{{linkki}}}|&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2;">[[Kuva:{{{kuva}}}|{{{leveys}}}|{{{linkki}}}]]</div>
</div>
</div><noinclude>
<noinclude>
==Käyttö==
 
<pre>{{kuvalinkki
 
|kuva=
 
|linkki=
 
|leveys=
 
|korkeus=
 
}}</pre>
 
[[Luokka:Apumallineet|{{PAGENAME}}]]</noinclude>
 
This template attempts to superimpose an invisible link on an image.  It doesn't work in [[Safari (web browser)|Safari]], in text-only browsers, and in screen readers for the disabled, and possibly other situations.  The technique of using [[Cascading Style Sheets|CSS]] to change page content also completely breaks an article's [[web accessibility]] by contravening a [[WAI]] priority-one checkpoint. [http://www.w3.org/TR/WAI-WEBCONTENT/#tech-order-style-sheets]  Please try to avoid using this template unless absolutely necessary.
 
See also [[Template:Titled-click]]
</noinclude>

Nykyinen versio 26. marraskuuta 2007 kello 21.32

[[{{{linkki}}}|   ]]
[[Kuva:{{{kuva}}}|{{{leveys}}}|{{{linkki}}}]]

Käyttö

{{kuvalinkki
|kuva=
|linkki=
|leveys=
|korkeus=
}}