简体   繁体   English

Illustrator Adob​​e-从Illustrator文件获取html坐标

[英]Illustrator Adobe - Getting html coordinates from an illustrator file

I have an illustrator file and I need to get coordinates for the different shapes. 我有一个插画文件,我需要获取不同形状的坐标。 The aim is to be able to click different parts of the image to link through to different URLs. 目的是能够单击图像的不同部分以链接到不同的URL。

Please suggest how to achieve this 请建议如何实现

Thanks 谢谢

What you need to do is use the Slice Tool to create smaller hot spots on your image. 您需要做的是使用切片工具在图像上创建较小的热点。 http://www.pdesigner.net/Adobe_Illustrator_Tutorials/1_14_3_1.html <-- Slice Tool Tutorial http://www.pdesigner.net/Adobe_Illustrator_Tutorials/1_14_3_1.html <-切片工具教程

Then what you want to do is Select the Slice and then go to Object> Slice> Slice Options. 然后,您要做的就是选择“切片”,然后转到“对象”>“切片”>“切片选项”。 Here you want to enter the url. 您要在此处输入网址。

http://livedocs.adobe.com/en_US/Illustrator/13.0/help.html?content=WS714a382cdf7d304e7e07d0100196cbc5f-6361.html <-- How to set the Slice Options http://livedocs.adobe.com/zh_CN/Illustrator/13.0/help.html?content=WS714a382cdf7d304e7e07d0100196cbc5f-6361.html <-如何设置切片选项

After that you want to save and export your file for Web and Devices where you will choose the Images and HTML option. 之后,您要保存和导出Web和设备文件,然后在其中选择“图像和HTML”选项。

Let me know if that works for you. 让我知道这是否适合您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM