SVG图像链接

时间:2013-02-16 17:18:44

标签: svg hotlinking

我正在努力使我的矢量图像可以点击。我搜索了互联网,找不到答案。我还需要代码中的其他内容吗?

<div id="logo">  
<a href="http://fpmnky.com" target="_self">
<span>
    <object width="488" height="115" data="http://fpmnky.com/images/fpmlogo2.svg" type="image/svg+xml">
    <img width="488" height="115" src="http://fpmnky.com/images/fpmlogo2.svg" alt="Star"/>
        <span>Your browser doesn't support SVG images</span>
    </object>
</span>
</a>

1 个答案:

答案 0 :(得分:0)

 <div id="logo">
<a href="http://fpmnky.com" target="_self">
    <img src="http://fpmnky.com/images/fpmlogo2.svg" width="488" height="115" alt="fpmlogo" />
</a>