为什么下面代码本地测试OK,但上传到空间后JS失效呢?望高手解答
本地测试的页面和空间页面一起打开时,空间页面竟然恢复正常了,望高手解答下,谢谢!———————————————————————————————————————————————————
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0025)http://haodian. -->
<HTML lang=zh-CN><HEAD><TITLE>好店_杭州19楼_发现杭州生活好去处!</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<LINK
rel=stylesheet type=text/css
href="http://img2. rel=stylesheet
type=text/css href="http://img2.
<SCRIPT type=text/javascript>
var AM_Config = {
baseUrl: "http://js2.,
baseVersion:"?v=20120629"
};
var pageLoadStartTime = parseInt((new Date()).getTime());
</SCRIPT>
<SCRIPT type=text/javascript src="http://js2.
<META name=GENERATOR content="MSHTML 8.00.6001.19258"></HEAD>
<BODY>
<DIV id=main><!-- header nav START -->
<!-- header nav END -->
<DIV id=content class="mt10 layout-980">
<DIV class=block-mod>
<DIV class="block-hd clearall">
<H2><EM>发现</EM>健康好店</H2><A class=fr href="http://haodian.
target=_blank><SPAN class=icon>创建我喜欢的健康店</SPAN></A></DIV>
<DIV class=block-bd>
<UL class=pic-list-box>
<LI class=pic240>
<DIV class=pic-box><A title=杭州艾玛妇产医院
href="http://haodian. target=_blank><IMG
alt=杭州艾玛妇产医院
src="http://att3.
width=240 height=240> <EM>杭州艾玛妇产医院</EM></A>
<DIV class=user-show>
<H4 class=user>杭州艾玛妇产医院</H4>
<P class=clearall><A title=杭州艾玛妇产医院
href="http://haodian. target=_blank>去逛逛
</A><SPAN>共 <B>11</B> 张</SPAN></P></DIV></DIV></LI>
<LI class=pic200>
<DIV class=pic-box><A title=强眼视力
href="http://haodian. target=_blank><IMG
src="http://att3.
width=200 height=120><EM>强眼视力</EM></A>
<DIV class=user-show>
<H4 class=user>强眼视力</H4>
<P class=clearall><A title=强眼视力
href="http://haodian. target=_blank>去逛逛
</A><SPAN>共 <B>11</B> 张</SPAN></P></DIV></DIV>
<DIV class=pic-box><A title=艾玛妇产科医院
href="http://haodian. target=_blank><IMG
alt=艾玛妇产科医院
src="http://att3.
width=200 height=120><EM>艾玛妇产科 </EM></A>
<DIV class="user-show pic200">
<H4 class=user>艾玛妇产科医院 </H4>
<P class=clearall><A title=艾玛妇产科医院
href="http://haodian. target=_blank>去 逛逛
</A><SPAN>共 <B>11</B> 张</SPAN></P></DIV></DIV></LI>
<LI class=pic180>
<DIV class=pic-box><A title=欧蕾橄榄油
href="http://haodian. target=_blank><IMG
alt=欧蕾橄榄油
src="http://att3.
width=180 height=240><EM>欧蕾橄榄油</EM> </A>
<DIV class="user-show pic180">
<H4 class=user>欧蕾橄榄油</H4>
<P class=clearall><A title=欧蕾橄榄油
href="http://haodian. target=_blank>去逛逛
</A><SPAN>共 <B>6</B> 张</SPAN></P></DIV></DIV></LI>
<LI class=pic160>
<DIV class=pic-box><A title=维多利亚医疗美容
href="http://haodian. target=_blank><IMG
alt=杭州维多利亚医疗美容
src="http://att3.
width=160 height=120> <EM>维多利亚医疗美容</EM> </A>
<DIV class="user-show pic160">
<H4 class=user>维多利亚医疗美容</H4>
<P class=clearall><A title=维多利亚医疗美容
href="http://haodian. target=_blank>去逛逛
</A><SPAN>共 <B>5</B> 张</SPAN></P></DIV></DIV>
<DIV class=pic-box><A title=维多利亚医疗美容
href="http://haodian. target=_blank><IMG
alt=杭州维多利亚医疗美容
src="http://att3.
width=160 height=120> <EM>维多利亚医疗美容</EM> </A>
<DIV class="user-show pic160">
<H4 class=user>维多利亚医疗美容</H4>
<P class=clearall><A title=维多利亚医疗美容
href="http://haodian. target=_blank>去逛逛
</A><SPAN>共 <B>1</B> 张</SPAN></P></DIV></DIV></LI>
<LI class=pic160>
<DIV class=pic-box><A title=维多利亚医疗美容
href="http://haodian. target=_blank><IMG
alt=杭州维多利亚医疗美容
src="http://att3.
width=160 height=120> <EM>维多利亚医疗美容</EM> </A>
<DIV class="user-show pic160">
<H4 class=user>维多利亚医疗美容</H4>
<P class=clearall><A title=维多利亚医疗美容
href="http://haodian. target=_blank>去逛逛
</A><SPAN>共 <B>3</B> 张</SPAN></P></DIV></DIV>
<DIV class=pic-box><A title=维多利亚医疗美容
href="http://haodian. target=_blank><IMG
alt=""
src="http://att3.
width=160 height=120> <EM>维多利亚医疗美容</EM> </A>
<DIV class="user-show pic160">
<H4 class=user>维多利亚医疗美容</H4>
<P class=clearall><A title=维多利亚医疗美容
href="http://haodian. target=_blank>去逛逛
</A><SPAN>共 <B>7</B> 张</SPAN></P></DIV></DIV></LI></UL></DIV>
<DIV class="block-ft clearall"><A class=fr
href="http://haodian.
target=_blank><SPAN class=icon> </SPAN><SPAN class=more>更多健康好店
>></SPAN></A></DIV></DIV></DIV>
<SCRIPT type=text/javascript>
AM('http://js2.','http://js2.','http://js2.','http://js2.',function(){
$(".slide-img ul").hdSlidePlayer({width:"730px",height:"240px",time:"5000"});
$(".pic-list-box").floatMark({mark:1});
});
</SCRIPT>
<SCRIPT type=text/javascript>
AM.ready(function(){
$("#logout").click(function(){
$.getJSON("http://www.,
function(res){
DelCookie("sbs_auth_uid");
});
//删除
function DelCookie(name)
{
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires="+ exp.toGMTString();
}
});
});
</SCRIPT>
</DIV>
</BODY></HTML>