<li class="cd-selected" data-menu="index">
<a href="#">
<span>
<svg class="nc-icon outline" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64"><g transform="translate(0, 0)"> <polyline data-cap="butt" fill="none" stroke="#9e85d0" stroke-width="2" stroke-miterlimit="10" points="10,24.9 10,60 26,60 26,44 38,44 38,60 54,60 54,24.9 " stroke-linejoin="square" stroke-linecap="butt"></polyline> <polyline data-color="color-2" fill="none" stroke="#9e85d0" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" points=" 4,30 32,6 60,30 " stroke-linejoin="square"></polyline> <rect data-color="color-2" x="26" y="24" fill="none" stroke="#9e85d0" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" width="12" height="10" stroke-linejoin="square"></rect> </g></svg>
</span>
<em>Intro</em>
</a>
</li>以上是从网上下载的一个脚本中的一段,其实就是个导航,span部分就是个图形,主要是我在想用的时候,修改 href ,可是修改后根本不会跳转。chrome提示 XMLHttpRequest cannot load file:///Users/user/Projects/%E7%BD%91%84%9A%E6%9C%AC/jiaoben3312-%91%E7%AB%99%E4%B8%BB5%E5%AF%BC%E8%88%AA/projects.html. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
1 回答
- 1 回答
- 0 关注
- 1742 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消