Template:Click: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris day
(derived from wikipedia template this is a test for funionality)
 
imported>Chris day
(fix link)
Line 1: Line 1:
<includeonly><div style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;"><div style="position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{title|{{{link}}}}}}" style="text-decoration:none;">&nbsp; &nbsp;</span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]</div></includeonly><noinclude>
<includeonly><div style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;"><div style="position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{title|{{{link}}}}}}" style="text-decoration:none;">&nbsp; &nbsp;</span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{title|{{{link}}}}}}]]</div></includeonly><noinclude>
{{protected template}}
 
This template attempts to superimpose an invisible link on an image. It may not work as expected for all browsers, and creates accessibility problems.
This template attempts to superimpose an invisible link on an image. It may not work as expected for all browsers, and creates accessibility problems.


The [http://www.mediawiki.org/wiki/Extension:ImageMap|ImageMap] extension is not available on CZ which might be another solution. However, even on wikipedia, ''ImageMap'' does not currently work with template parameters, [http://en.wikipedia.org/wiki/Help:Magic_words 'magic words'] or anchor links and thus even if available may not used to replace all uses of this template.
The [http://www.mediawiki.org/wiki/Extension:ImageMap ImageMap] extension is not available on CZ which might be another solution. However, even on wikipedia, ''ImageMap'' does not currently work with template parameters, [http://en.wikipedia.org/wiki/Help:Magic_words 'magic words'] or anchor links and thus even if available may not used to replace all uses of this template.

Revision as of 16:24, 8 March 2007


This template attempts to superimpose an invisible link on an image. It may not work as expected for all browsers, and creates accessibility problems.

The ImageMap extension is not available on CZ which might be another solution. However, even on wikipedia, ImageMap does not currently work with template parameters, 'magic words' or anchor links and thus even if available may not used to replace all uses of this template.