Proteopedia:Cookbook: Difference between revisions
Eric Martz (talk | contribs) |
Eric Martz (talk | contribs) |
||
Line 101: | Line 101: | ||
== Image as clickable link == | == Image as clickable link == | ||
People tend to click an image expecting it to take them to more about that image, via a hyperlink. Below is the | People tend to click an image expecting it to take them to more about that image, via a hyperlink. Below is the wikitext to do this. This method goes to only one link target, regardless of where you click withing the image. If you want to have different targets for different parts of the image, see the next section below on ''Imagemaps''. | ||
[[ | |||
<imagemap> | <imagemap> | ||
Image:Cys-spacefilled.png| | Image:Cys-spacefilled.png|100px | ||
default [[Introduction to molecular visualization]] | default [[Introduction to molecular visualization]] | ||
</imagemap> | </imagemap> | ||
Clicking this image goes to ''Introduction to molecular visualization''. | |||
<table style="border: 1px solid;"><tr><td> | |||
<imagemap> | |||
Image:Cys-spacefilled.png|100px | |||
default [[Introduction to molecular visualization]] | |||
</imagemap> | |||
</td><td width="200"> | |||
Clicking this image goes to ''Introduction to molecular visualization''. | |||
</td></tr></table> | |||
== Imagemaps == | == Imagemaps == |