Template:Click: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris day
(add left right center option)
imported>Larry Sanger
(experiment with valign)
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 align={{{lrc}}} style="position:relative; width:{{{width}}}; height:{{{height}}}; valign:{{{valign}}}; 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 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>

Revision as of 14:23, 25 April 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.