<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>以上是從網(wǎng)上下載的一個(gè)腳本中的一段,其實(shí)就是個(gè)導(dǎo)航,span部分就是個(gè)圖形,主要是我在想用的時(shí)候,修改 href ,可是修改后根本不會(huì)跳轉(zhuǎn)。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.
添加回答
舉報(bào)
0/150
提交
取消