Template:Clickurl: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
 
imported>Caesar Schinas
No edit summary
 
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 class="plainlinks plainlinksneverexpand" style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden; text-decoration:none;"><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 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>

Latest revision as of 00:24, 26 May 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 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.