Proteopedia:Image as clickable link
From Proteopedia
(Difference between revisions)
(New page: This page is a supplement to Proteopedia:Cookbook. People tend to click an image expecting it to take them to more about that image, via a hyperlink. Below are various examples of wik...) |
|||
Line 16: | Line 16: | ||
default [[Introduction to molecular visualization]] | default [[Introduction to molecular visualization]] | ||
</imagemap> | </imagemap> | ||
+ | Clicking this image goes to ''Introduction to molecular visualization''. | ||
==Inside Table== | ==Inside Table== | ||
+ | Technical note: In my attempts to use a wikitable | ||
+ | * With |frame| I was unable to specify the width of the image in pixels. | ||
+ | * I was unable to style a border. | ||
+ | Therefore, below I have used an HTML table. [[User:Eric Martz|Eric Martz]] 22:31, 9 March 2021 (UTC) | ||
<table style="border: 1px solid;"><tr><td> | <table style="border: 1px solid;"><tr><td> |
Revision as of 22:31, 9 March 2021
This page is a supplement to Proteopedia:Cookbook.
People tend to click an image expecting it to take them to more about that image, via a hyperlink. Below are various examples of wikitext to do this.
The examples below go 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 Proteopedia:Cookbook#Imagemaps.
No Link
Clicking this image goes to the image upload page.
Simplest Link
Clicking this image goes to Introduction to molecular visualization.
Inside Table
Technical note: In my attempts to use a wikitable
- With |frame| I was unable to specify the width of the image in pixels.
- I was unable to style a border.
Therefore, below I have used an HTML table. Eric Martz 22:31, 9 March 2021 (UTC)
Clicking this image goes to Introduction to molecular visualization. |