Template:Click: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
m (experiment failed...)
imported>Daniel Mietchen
m (typo)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div align={{{lrc}}} 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>


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.</noinclude>
The [http://www.mediawiki.org/wiki/Extension:ImageMap ImageMap] extension is available on CZ and 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 be used to replace all uses of this template.</noinclude>

Latest revision as of 07:35, 12 August 2009


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 available on CZ and 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 be used to replace all uses of this template.