2013-02-16 152 views
0

我想讓我的矢量圖像可點擊。我搜索了互聯網,找不到答案。我在代碼中還需要什麼?SVG圖像鏈接

<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
<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>