如何使一个图像到多个按钮和一些其他的东西多个、其他的、按钮、图像

由网友(妃子终究不是后)分享简介:好吧,我正在用这种盘在它的应用程序: HTTP ://dl.dropbox.com/u/8051037/disk_full.png Ok, I'm making an app with this kind of of disk in it: http://dl.dropbox.com/u/8051037/disk_...

好吧,我正在用这种盘在它的应用程序: HTTP ://dl.dropbox.com/u/8051037/disk_full.png

Ok, I'm making an app with this kind of of disk in it: https://p.xsw88.cn/allimgs/daicuo/20230907/5513.png

我有两个环作为单独的图像,但我需要找出一种方法来定位他们就像他们在图像中,第一关。我在搞清楚布局不是很大,所以我真的不知道从哪里开始与该

I have the two rings as separate images, but I need to figure out a way to position them like they are in the image, first off. I'm not great at figuring out layouts, so I don't really know where to start with that.

另外,我需要由黑线限定的每个部分是一个不同的ImageButton。我一直在到处寻找一个答案,但没有人能够帮助我至今。

Also, I need each section defined by the black lines to be a different imagebutton. I've been everywhere looking for an answer to this, but no one's been able to help me so far.

感谢您的帮助,一直停留在这个问题上几天吧!

Thanks for any help, been stuck on this problem for a few days now!

推荐答案

您需要的影像地图(其中以下基本结构)来创建可点击的位(的例如):

You'll need an image map (which follows this basic structure) to create the click-able bits (example):

<map name="map-name">
<area shape="rect" coords="135,180,200,185" href="webpage1.html">
<area shape="circle" coords="49,300,42" href="webpage2.html">
<area shape="poly" coords="24,35,55,20,90,42,91,80,60,105" href="webpage3.html">
</map>
<img src="image.gif" usemap="#map-name">

有关你的位置,你不能很容易叠加图像,仍然保持了点击的区域工作良好。有没有办法让你的形象从一开始就结合(在Photoshop)?

For your positioning you can't superimpose images very easily and still keep the click-able regions working well. Is there no way for you to combine the images from the start (in photoshop)?

阅读全文

相关推荐

最新文章