I'm just curious how do they put links on the website layouts in photoshop using dreamwea开发者_如何学Gover. How do they do that?
if you want to set links on some parts/areas of an image, you should use imagemap
here is an simple example:
<img src="image.png" width="345" height="312" border="0" alt="this is my image" usemap="#mymap">
<map name="mymap">
<area shape="rect" coords="11,10,59,29" href="http://www.koblenz.de/" alt="Koblenz" title="Koblenz">
<area shape="rect" coords="42,36,96,57" href="http://www.wiesbaden.de/" alt="Wiesbaden" title="Wiesbaden">
</map>
you can define different shapes for the clickable areas like rectangle, circles and polygons - just ask google for the exact syntax. note the usemap
-attribute of the image to define wich map should be used.
EDIT: i think i misunderstood your question - but maybe this helps anyway...
精彩评论