Template:Click: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Daniel Mietchen m (typo) |
||
(2 intermediate revisions by 2 users not shown) | |||
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;"> </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;"> </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 | 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.