问题描述
我在照相馆中有菜单栏
HOME登录注销
我将充当单个图像.
我要如何在visualstudio中处理它,因为我想将Home链接到Home.aspx
登录到login.aspx
注销到logout.aspx
请帮帮我..
谢谢.
I HAVE MENUBAR IN PHOTOSHOP
HOME Login Logout
I will act as a single image.
How i handle it in visualstudio,beacuse i want to give link Home to Home.aspx
Login to login.aspx
Logout to logout.aspx
Please help me..
Thanks.
推荐答案
<a href="Home.aspx"><img src="home.jpg" /></a>
<a href="Login.aspx"><img src="login.jpg" /></a>
<a href="Logout.aspx"><img src="logout.jpg" /></a>
将它们放入某种表结构中可能是一个主意.
*使用一张图片,但添加一张图片地图,该图片地图描述了可以点击并链接到其他页面的图片区域,例如:
It might be an idea to put these into a table structure of some sort.
* Use one image, but add an image map that describes areas of the image that can be clicked on and link to other pages, like this:
<img src="MyMenuBar.jpg" width="180" height="20" usemap="#menumap" />
<map name="menumap">
<area shape="rect" coords="0,0,59,20" href="Home.aspx" alt="Home" />
<area shape="rect" coords="60,0,119,20" href="Login.aspx" alt="Login" />
<area shape="rect" coords="120,0,179,20" href="Logout.aspx" alt="Logout" />
</map>
另请参见 http://www.image-maps.com/ [ ^ ];这似乎是可以自动为您执行此操作的工具.请注意,我自己并没有使用过它.
Also see http://www.image-maps.com/[^]; this seems to be a tool that can do this for you automatically. Note that I haven''t used it myself.
这篇关于关于Photoshop的问题...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!