真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

HTML5中怎么使用地理位置實(shí)現(xiàn)定位功能

本篇內(nèi)容介紹了“HTML5中怎么使用地理位置實(shí)現(xiàn)定位功能”的有關(guān)知識(shí),在實(shí)際案例的操作過(guò)程中,不少人都會(huì)遇到這樣的困境,接下來(lái)就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!

創(chuàng)新互聯(lián)公司堅(jiān)持“要么做到,要么別承諾”的工作理念,服務(wù)領(lǐng)域包括:成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站制作、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣等服務(wù),滿足客戶于互聯(lián)網(wǎng)時(shí)代的瑪納斯網(wǎng)站設(shè)計(jì)、移動(dòng)媒體設(shè)計(jì)的需求,幫助企業(yè)找到有效的互聯(lián)網(wǎng)解決方案。努力成為您成熟可靠的網(wǎng)絡(luò)建設(shè)合作伙伴!

我們可以通過(guò)navigator.geolocation獲取地理位置對(duì)象,他提供了下列方法:

getCurrentPosition(回調(diào),errorCallback,選項(xiàng)):獲取當(dāng)前位置;

watchPosition(回調(diào),錯(cuò)誤的選項(xiàng)):開(kāi)始監(jiān)控當(dāng)前位置;

clearWatch(ID):停止監(jiān)控當(dāng)前位置

注:下面例子使用的瀏覽器是鉻,使用其他瀏覽器我不能保證運(yùn)行結(jié)果和例子顯示的結(jié)果一致

1.當(dāng)前電子雜志位置

我們將使用getCurrentPosition方法獲取當(dāng)前位置,位置信息不會(huì)以結(jié)果的形式直接返回,我們需要使用回調(diào)函數(shù)進(jìn)行處理。

復(fù)制代碼代碼如下: 

<!DOCTYPE HTML>

示例</ title></p><p><style></p><p>表{border-colla ps e:塌陷;}</p><p>th,td {padding:4px;}</p><p>th {text-align:right; }</p><p></ style></p><p></ head></p><p><body></p><p><table border =“ 1”></p><p><tr></p><p><th>經(jīng)度:</ th></p><p><td id =“ longitude”>-</ td></p><p><th>緯度: </ th></p><p><td id =“ latitude”>-</ td></p><p></ tr></p><p><tr></p><p><th>海拔高度:</ th></p><p><td id =“ altitude”>-</ td></p><p><th>準(zhǔn)確性:</ th></p><p><td id =“精度“>-</ td></p><p></ tr></p><p><tr></p><p><th>海拔精度:</ th></p><p><td id =” altitudeAccuracy“>-</ td></p><p><th>標(biāo)題:</ th></p><p><td id =“ heading”>-</ td></p><p></ tr></p><p><tr></p><p><th>速度:</ th></p><p><td id =“ speed”>-</ td></p><p><th>時(shí)間戳:</ th></p><p><td id =“ timestamp”>-</ td></p><p></ tr></p><p></ table></p><p><script></p><p>navigator.geolocation.getCurrentPosition(displayPosition);</p><p>函數(shù)displayPosition(pos){</p><p>var pr operties = ['經(jīng)度','緯度','高度','精度','altitudeAccuracy','航向','速度']];</p><p>for(var i = 0,len = properties.length; i <len; i ++){</p><p>var value = pos.coords [properties [i]];</p><p>document.getElementById(properties [i])。innerHTML =值;</p><p>}</p><p>document.getElementById('timestamp')。innerHTML = pos.timestamp;</p><p>}</p><p></ script></p><p></ body></p><p></ html></p><p>返回的位置對(duì)象包含兩個(gè)屬性,坐標(biāo):返回坐標(biāo)信息;時(shí)間戳:獲取坐標(biāo)信息的時(shí)間。其中坐標(biāo)又包括以下屬性:緯度:緯度;經(jīng)度:經(jīng)度;海拔:高度;精度:精確度(米); heightAccuracy:高度精確度(米);航向:行進(jìn)方向;速度:行進(jìn)速度(米/秒)。</p><p>并不是所有的信息都會(huì)返回,這必須您攜帶瀏覽器的設(shè)備。像有GPS,加速器,羅盤(pán)的移動(dòng)設(shè)備會(huì)返回大部分信息,家用電腦就不行了。</p><p>點(diǎn)擊允許,獲取坐標(biāo)信息。</p><p>2.處理異常</p><p>現(xiàn)在我們介紹了getCurrentPosition的異常處理,他是通過(guò)使用errorCallback進(jìn)行函數(shù)實(shí)現(xiàn)的。函數(shù)返回的參數(shù)error包含兩個(gè)屬性,代碼:錯(cuò)誤類(lèi)型的代碼;消息:錯(cuò)誤信息。code包含三個(gè)值: 1:用戶沒(méi)有授權(quán)使用地理位置; 2:無(wú)法獲取坐標(biāo)信息; 3:獲取信息超時(shí)。</p><p>下面我們看個(gè)例子:</p><p>復(fù)制代碼代碼如下: </p><p><!DOCTYPE HTML></p><p><html></p><p><head></p><p><title>示例</ title></p><p><style></p><p>表{邊界折疊:折疊;}</p><p>th,td {填充:4px;}</p><p>{文本對(duì)齊:右;}</p><p>< / style></p><p></ head></p><p><body></p><p><table border =“ 1”></p><p><tr></p><p><th>經(jīng)度:</ th></p><p><td id =“ longitude”>-</ td></p><p><th>緯度:</ th></p><p><td id =“ latitude”>-</ td></p><p></ tr></p><p><tr></p><p><th>海拔高度:</ th></p><p><td id =“ altitude”>-</ td></p><p><th>準(zhǔn)確性:< / th></p><p><td id =“ accuracy”>-</ td></p><p></ tr></p><p><tr></p><p><th>高度精度:</ th></p><p><td id =“ altitudeAccuracy”>-</ td></p><p><th>標(biāo)題:</ th></p><p><td id =“ heading”>-</ td></p><p></ tr></p><p><tr></p><p><th>速度:</ th></p><p><td id =“ speed”>-</ td></p><p><th>時(shí)間戳:</ th></p><p><td id =“ timestamp”>-</ td></p><p></ tr></p><p><tr></p><p><th>錯(cuò)誤代碼:</ th></p><p><td id =“ errcode”>-</ td></p><p><th>錯(cuò)誤消息:</ th></p><p><td id =“ errmessage”>-</ td></p><p></ tr></p><p></ table></p><p><script></p><p>navigator.geolocation.getCurrentPosition(displayPosition,handleError);</p><p>函數(shù)displayPosition(pos){</p><p>var properties = [“經(jīng)度”,“緯度”,“海拔”,“</p><p>document.getElementById(properties [i])。innerHTML =值;</p><p>}</p><p>document.getElementById(“ timestamp”)。innerHTML = pos.timestamp;</p><p>}</p><p>函數(shù)handleError(err){</p><p>document.getElementById(“ errcode”)。innerHTML = err.code;</p><p>document.getElementById(“ errmessage”)。innerHTML = err.message;</p><p>}</p><p></ script></p><p></ body></p><p></ html></p><p>拒絕授權(quán),運(yùn)行結(jié)果:</p><p>3.使用</p><p>geoolocation可選參數(shù)項(xiàng)getCurrentPosition(callback,errorCallback,options)中的選項(xiàng)有如下參數(shù)可以使用,啟用高精度:使用最好的效果;超時(shí)時(shí)間:超時(shí)時(shí)間(毫秒);最大年齡:指定緩存時(shí)間(毫秒)。我們來(lái)下下面的例子:</p><p>復(fù)制代碼代碼如下: </p><p><!DOCTYPE HTML></p><p><html></p><p><head></p><p><title>示例</ title></p><p><style></p><p>表{邊界折疊:折疊;}</p><p>th,td {填充:4px;}</p><p>{文本對(duì)齊:右;}</p><p>< / style></p><p></ head></p><p><body></p><p><table border =“ 1”></p><p><tr></p><p><th>經(jīng)度:</ th></p><p><td id =“ longitude”>-</ td></p><p><th>緯度:</ th></p><p><td id =“ latitude”>-</ td></p><p></ tr></p><p><tr></p><p><th>海拔高度:</ th></p><p><td id =“ altitude”>-</ td></p><p><th>準(zhǔn)確性:< / th></p><p><td id =“ accuracy”>-</ td></p><p></ tr></p><p><tr></p><p><th>高度精度:</ th></p><p><td id =“ altitudeAccuracy”>-</ td></p><p><th>標(biāo)題:</ th></p><p><td id =“ heading”>-</ td></p><p></ tr></p><p><tr></p><p><th>速度:</ th></p><p><td id =“ speed”>-</ td></p><p><th>時(shí)間戳:</ th></p><p><td id =“ timestamp”>-</ td></p><p></ tr></p><p><tr></p><p><th>錯(cuò)誤代碼:</ th></p><p><td id =“ errcode”>-</ td></p><p><th>錯(cuò)誤消息:</ th></p><p><td id =“ errmessage”>-</ td></p><p></ tr></p><p></ table></p><p><script></p><p>var options = {</p><p>enableHighAccuracy:false,</p><p>timeout:2000,</p><p>maximumAge:30000</p><p>};</p><p>navigator.geolocation.getCurrentPosition(displayPosition,handleError,options);</p><p>var屬性= [“經(jīng)度”,“緯度”,“高度”,“精度”,“ altitudeAccuracy”,“航向”,“速度”];</p><p>for(var i = 0; i <properties.length; i ++){</p><p>var value = pos.coords [properties [i]];</p><p>document.getElementById(properties [i])。innerHTML =值;</p><p>}</p><p>document.getElementById(“ timestamp”)。innerHTML = pos.timestamp;</p><p>}</p><p>函數(shù)handleError(err){</p><p>document.getElementById(“ errcode”)。innerHTML = err.code;</p><p>document.getElementById(“ errmessage”)。innerHTML = err.message;</p><p>}</p><p></ script></p><p></ body></p><p></ html></p><p>4.監(jiān)視位置變化</p><p>下面我們介紹使用watchPosition方法實(shí)現(xiàn)位置變化的監(jiān)視,他的使用方法和getCurrentPosition一樣。</p><p>復(fù)制代碼代碼如下: </p><p><!DOCTYPE HTML></p><p><html></p><p><head></p><p><title>示例</ title></p><p><style></p><p>表{邊界折疊:折疊;}</p><p>th,td {填充:4px;}</p><p>{文本對(duì)齊:右;}</p><p>< / style></p><p></ head></p><p><body></p><p><table border =“ 1”></p><p><tr></p><p><th>經(jīng)度:</ th></p><p><td id =“ longitude”>-</ td></p><p><th>緯度:</ th></p><p><td id =“ latitude”>-</ td></p><p></ tr></p><p><tr></p><p><th>海拔高度:</ th></p><p><td id =“ altitude”>-</ td></p><p><th>準(zhǔn)確性:< / th></p><p><td id =“ accuracy”>-</ td></p><p></ tr></p><p><tr></p><p><th>高度精度:</ th></p><p><td id =“ altitudeAccuracy”>-</ td></p><p><th>標(biāo)題:</ th></p><p>var watchID = navigator.geolocation.watchPosition(displayPosition,handleError,options); document.getElementById(“ pressme”)。onclick =函數(shù)(e){</p><p>navigator.geolocation.clearWatch(watchID);</p><p>};</p><p>函數(shù)displayPosition(pos){</p><p>var properties = [“經(jīng)度”,“緯度”,“海拔”,“精度”,“ altitudeAccuracy”,“航向”,“速度”];</p><p>for(var i = 0; i <properties.length; i ++){</p><p>var value = pos.coords [properties [i]];</p><p>document.getElementById(properties [i])。innerHTML =值;</p><p>}</p><p>document.getElementById(“ timestamp”)。innerHTML = pos.timestamp;</p><p>}</p><p>函數(shù)handleError(err){</p><p>document.getElementById(“ errcode”)。innerHTML = err.code;</p><p>document.getElementById(“ errmessage”)。innerHTML = err.message;</p><p>}</p><p></ script></p><p></ body></p><p>當(dāng)點(diǎn)擊Cancel Watch按鈕時(shí),停止監(jiān)視。demo</p><p>“HTML5中怎么使用地理位置實(shí)現(xiàn)定位功能”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識(shí)可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!</p> <br> 分享文章:HTML5中怎么使用地理位置實(shí)現(xiàn)定位功能 <br> 瀏覽路徑:<a href="http://weahome.cn/article/pojhpg.html">http://weahome.cn/article/pojhpg.html</a> </div> </div> </div> <div id="squ6kqw" class="other container"> <h3>其他資訊</h3> <ul> <li> <a href="/article/dghpdii.html">武漢手機(jī)網(wǎng)站建設(shè)四個(gè)關(guān)鍵點(diǎn)</a> </li><li> <a href="/article/dghpcoo.html">營(yíng)銷(xiāo)型網(wǎng)站建設(shè)具備的特點(diǎn)</a> </li><li> <a href="/article/dghpcod.html">手機(jī)網(wǎng)站在建設(shè)之前都應(yīng)該考慮哪些因素?</a> </li><li> <a href="/article/dghpdjo.html">網(wǎng)站建設(shè)的主要流程有哪些</a> </li><li> <a href="/article/dghpdhh.html">網(wǎng)站建設(shè)-電商如何做出自己的特色</a> </li> </ul> </div> <div id="squ6kqw" class="footer"> <div id="squ6kqw" class="foota container"> <div id="squ6kqw" class="foot_nav fl col-lg-8 col-md-8 col-sm-12 col-xs-12"> <ul> <li id="squ6kqw" class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>網(wǎng)站制作</h3> <a target="_blank">wap網(wǎng)站制作</a><a target="_blank">網(wǎng)站制作</a><a target="_blank">廣安網(wǎng)站制作公司</a><a target="_blank">移動(dòng)手機(jī)網(wǎng)站制作</a><a target="_blank">網(wǎng)站制作</a><a target="_blank">成都網(wǎng)站制作</a> </li> <li id="squ6kqw" class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>企業(yè)服務(wù)</h3> <a target="_blank">友情鏈接購(gòu)買(mǎi)</a><a target="_blank">網(wǎng)站免費(fèi)收錄</a><a target="_blank">免費(fèi)建站模板</a><a target="_blank">軟文推廣</a><a target="_blank">網(wǎng)站快速收錄</a><a target="_blank">注冊(cè)公司</a> </li> <li id="squ6kqw" class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>網(wǎng)站建設(shè)</h3> <a target="_blank">四川成都網(wǎng)站建設(shè)</a><a target="_blank">古藺網(wǎng)站建設(shè)</a><a target="_blank">成都網(wǎng)站建設(shè)</a><a href="http://weahome.cn/qiye/" target="_blank">重慶企業(yè)網(wǎng)站建設(shè)</a><a target="_blank">簡(jiǎn)陽(yáng)網(wǎng)站建設(shè)</a><a target="_blank">廣安網(wǎng)站建設(shè)</a> </li> <li id="squ6kqw" class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>服務(wù)器托管</h3> <a target="_blank">移動(dòng)服務(wù)器托管</a><a target="_blank">成都機(jī)柜租用</a><a target="_blank">綿陽(yáng)服務(wù)器托管</a><a target="_blank">成都機(jī)柜租用</a><a target="_blank">成都光華機(jī)房</a><a target="_blank">綿陽(yáng)機(jī)房托管</a> </li> </ul> </div> <div id="squ6kqw" class="footar fl col-lg-4 col-md-4 col-sm-12 col-xs-12"> <p>全國(guó)免費(fèi)咨詢:</p> <b>400-028-6601</b> <p>業(yè)務(wù)咨詢:028-86922220 / 13518219792</p> <p>節(jié)假值班:18980820575 / 13518219792</p> <p>聯(lián)系地址:成都市太升南路288號(hào)錦天國(guó)際A幢1002號(hào)</p> </div> </div> <div id="squ6kqw" class="footb"> <div id="squ6kqw" class="copy container"> <div id="squ6kqw" class="fl">Copyright ? 成都創(chuàng)新互聯(lián)科技有限公司重慶分公司 <a target="_blank">渝ICP備2021005571號(hào)</a></div> <!--<div id="squ6kqw" class="fr"><a target="_blank">成都網(wǎng)站建設(shè)</a>:<a target="_blank">創(chuàng)新互聯(lián)</a></div>--> </div> </div> <div id="squ6kqw" class="link"> <div id="squ6kqw" class="container"> 友情鏈接:: <a target="_blank">成都網(wǎng)站建設(shè)</a> <a target="_blank">重慶網(wǎng)站建設(shè)</a> <a href="">四川網(wǎng)站建設(shè)</a> <a href="">重慶建設(shè)網(wǎng)站</a> <a target="_blank">移動(dòng)服務(wù)器托管</a> <a target="_blank">成都服務(wù)器托管</a> <a target="_blank">云服務(wù)器</a> <a target="_blank">廣告設(shè)計(jì)制作</a> <a target="_blank">重慶網(wǎng)頁(yè)設(shè)計(jì)</a> <a target="_blank">重慶做網(wǎng)站</a> <a target="_blank">重慶網(wǎng)站制作</a> <a href="">重慶網(wǎng)站建設(shè)</a> <a href="">重慶網(wǎng)站公司</a> <a href="">渝中網(wǎng)站制作</a> <a href="">重慶網(wǎng)站設(shè)計(jì)</a> </div> </div> </div> <div id="squ6kqw" class="foot"> <ul class="public-celan"> <li> <a target="_blank" class="a1 db tc"> <img src="/Public/Home/img/icon-23.png" alt="" class="db auto"> <span id="squ6kqw" class="span-txt">在線咨詢</span> </a> </li> <li> <a href="tel:18980820575" class="a1 db tc"> <img src="/Public/Home/img/icon-24.png" alt="" class="db auto"> <span id="squ6kqw" class="span-txt">電話咨詢</span> </a> </li> <li> <a target="_blank" href="tencent://message/?uin=1683211881&Site=&Menu=yes" class="a1 db tc"> <img src="/Public/Home/img/icon-25.png" alt="" class="db auto"> <span id="squ6kqw" class="span-txt">QQ咨詢</span> </a> </li> <li> <a target="_blank" href="tencent://message/?uin=532337155&Site=&Menu=yes" class="a1 db tc public-yuyue-up"> <img src="/Public/Home/img/icon-26.png" alt="" class="db auto"> <span id="squ6kqw" class="span-txt">預(yù)約顧問(wèn)</span> </a> </li> </ul> </div> <div id="squ6kqw" class="customer"> <dl class="icon1"> <dt> <a href="tencent://message/?uin=1683211881&Site=&Menu=yes"> <i class="iconT"><img src="/Public/Home/img/QQ.png" alt=""></i> <p>在線咨詢</p> </a> </dt> </dl> <dl class="icon2"> <dt><i><img src="/Public/Home/img/weixin.png" alt=""></i><p>微信咨詢</p></dt> <dd><img src="/Public/Home/img/ewm.png"></dd> </dl> <dl class="icon3"> <dt><i><img src="/Public/Home/img/dianhua.png" alt=""></i><p>電話咨詢</p></dt> <dd> <p>028-86922220(工作日)</p> <p>18980820575(7×24)</p> </dd> </dl> <dl class="icon4"> <dt class="sShow"> <a href="tencent://message/?uin=244261566&Site=&Menu=yes"> <i><img src="/Public/Home/img/dengji.png" alt=""></i><p>提交需求</p> </a> </dt> </dl> <dl class="icon5"> <dt class="gotop"> <a href="#top"> <i><img src="/Public/Home/img/top.png" alt=""></i><p>返回頂部</p> </a> </dt> </dl> </div> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://weahome.cn/" title="真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆">真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆</a> <div class="friend-links"> </div> </div> </footer> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body><div id="b3t9h" class="pl_css_ganrao" style="display: none;"><form id="b3t9h"></form><span id="b3t9h"><video id="b3t9h"><p id="b3t9h"><b id="b3t9h"></b></p></video></span><address id="b3t9h"><dfn id="b3t9h"></dfn></address><menuitem id="b3t9h"><style id="b3t9h"></style></menuitem><u id="b3t9h"></u><em id="b3t9h"><var id="b3t9h"><mark id="b3t9h"><strong id="b3t9h"></strong></mark></var></em><font id="b3t9h"><th id="b3t9h"><thead id="b3t9h"><dfn id="b3t9h"></dfn></thead></th></font><font id="b3t9h"></font><acronym id="b3t9h"><ruby id="b3t9h"></ruby></acronym><address id="b3t9h"><dfn id="b3t9h"></dfn></address><ruby id="b3t9h"><i id="b3t9h"><address id="b3t9h"><th id="b3t9h"></th></address></i></ruby><form id="b3t9h"></form><form id="b3t9h"><track id="b3t9h"></track></form><rp id="b3t9h"></rp><big id="b3t9h"><strong id="b3t9h"><span id="b3t9h"><video id="b3t9h"></video></span></strong></big><strong id="b3t9h"><meter id="b3t9h"></meter></strong><progress id="b3t9h"><dfn id="b3t9h"></dfn></progress><pre id="b3t9h"><nobr id="b3t9h"><legend id="b3t9h"><b id="b3t9h"></b></legend></nobr></pre><font id="b3t9h"><var id="b3t9h"></var></font><sub id="b3t9h"><nobr id="b3t9h"></nobr></sub><b id="b3t9h"><strong id="b3t9h"></strong></b><strong id="b3t9h"><span id="b3t9h"><video id="b3t9h"><p id="b3t9h"></p></video></span></strong><sup id="b3t9h"></sup><ol id="b3t9h"><ins id="b3t9h"><strong id="b3t9h"><sub id="b3t9h"></sub></strong></ins></ol><nobr id="b3t9h"></nobr><p id="b3t9h"><thead id="b3t9h"></thead></p><label id="b3t9h"></label><nobr id="b3t9h"></nobr><acronym id="b3t9h"><ruby id="b3t9h"><strike id="b3t9h"><em id="b3t9h"></em></strike></ruby></acronym><thead id="b3t9h"></thead><span id="b3t9h"><nobr id="b3t9h"><legend id="b3t9h"><b id="b3t9h"></b></legend></nobr></span><thead id="b3t9h"></thead><form id="b3t9h"><th id="b3t9h"><big id="b3t9h"><small id="b3t9h"></small></big></th></form><progress id="b3t9h"><strong id="b3t9h"></strong></progress><mark id="b3t9h"><strong id="b3t9h"></strong></mark><progress id="b3t9h"><optgroup id="b3t9h"></optgroup></progress><video id="b3t9h"></video><form id="b3t9h"><form id="b3t9h"><track id="b3t9h"><thead id="b3t9h"></thead></track></form></form><thead id="b3t9h"></thead><listing id="b3t9h"><div id="b3t9h"></div></listing><form id="b3t9h"><th id="b3t9h"><thead id="b3t9h"><small id="b3t9h"></small></thead></th></form><pre id="b3t9h"></pre><pre id="b3t9h"></pre><strike id="b3t9h"></strike><legend id="b3t9h"><u id="b3t9h"><dl id="b3t9h"><ruby id="b3t9h"></ruby></dl></u></legend><pre id="b3t9h"><span id="b3t9h"><mark id="b3t9h"><strong id="b3t9h"></strong></mark></span></pre><var id="b3t9h"></var><p id="b3t9h"></p><mark id="b3t9h"><pre id="b3t9h"><thead id="b3t9h"><nobr id="b3t9h"></nobr></thead></pre></mark><var id="b3t9h"></var></div> </html> <script> $(".con img").each(function(){ var src = $(this).attr("src"); //獲取圖片地址 var str=new RegExp("http"); var result=str.test(src); if(result==false){ var url = "https://www.cdcxhl.com"+src; //絕對(duì)路徑 $(this).attr("src",url); } }); window.onload=function(){ document.oncontextmenu=function(){ return false; } } </script>