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 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''.  
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 within the image. If you want to have different targets for different parts of the image, see the next section below on ''Imagemaps''.  
 
[[


<imagemap>
<imagemap>
Line 111: Line 109:
Clicking this image goes to ''Introduction to molecular visualization''.
Clicking this image goes to ''Introduction to molecular visualization''.


<table style="border: 1px solid;"><tr><td>
<PRE>
<imagemap>
<imagemap>
Image:Cys-spacefilled.png|100px
Image:Cys-spacefilled.png|100px
default [[Introduction to molecular visualization]]
default [[Introduction to molecular visualization]]
</imagemap>
</imagemap>
</td><td width="200">
</PRE>
Clicking this image goes to ''Introduction to molecular visualization''.
 
</td></tr></table>
For more options, such as putting a border around the image, or aligning it to the right side of the page, please see [[Proteopedia:Image as clickable link]].


== Imagemaps ==
== Imagemaps ==

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky, Karl Oberholser, Eran Hodis, Eric Martz, Wayne Decatur, Angel Herraez, Karsten Theis