ホームページ  >  記事  >  バックエンド開発  >  htmlファイルを修正したのですが、変更した内容が表示されず、効果は以前と同じですか?解決

htmlファイルを修正したのですが、変更した内容が表示されず、効果は以前と同じですか?解決

WBOY
WBOYオリジナル
2016-06-13 13:33:141764ブラウズ

修改了html文件,可是就是不显示更改后的内容,依然是以前的效果???
我用的是wamp2.1,使用的thinkphp框架,删除360浏览器的缓存依旧不显示更改后的内容,重启wamp依旧不显示更改后的内容,主要是浮动广告显示不出来,导航那里零担货源显示不出来。

HTML code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{$title}></title>
<meta name="keywords" content="<{$keywords}>" />
<meta name="description" content="<{$description}>" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/layout.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/global.css" />

<!--Owenzp加上的浮动广告start-->
<script type="text/javascript"> 


/* 
说明: 
x系列是Hutia开发的系列JS代码,配合相应的css后可以实现快速的自定义标签 
目前xScrollStick支持的浏览器类型为:IE5.5, FF1.5 

xScrollStick的标签为 
<div class="xScrollStick"> 
Content... 
</div> 

支持属性: 
无 
支持方法: 
无 
*/ 

//**载入CSS***** 
var xScrollStickCssFilePath="sp\/css\/xframe.css"; 
//document.write("<style>@import url("+xScrollStickCssFilePath+");</style>"); 

//**检测浏览器种类***** 
var BROWSERNAME=""; 
switch(navigator.appName.toLowerCase()){ 
case "netscape": 
BROWSERNAME="ns"; 
break; 
case "microsoft internet explorer": 
default: 
BROWSERNAME="ie"; 
break; 
} 

//**设置初始化事件****** 
switch(BROWSERNAME){ 
case "ns": 
window.addEventListener("load",_xScrollStick_init,false); 
break; 
case "ie": 
default: 
window.attachEvent("onload",_xScrollStick_init); 
} 

//**初始化函数****** 
function _xScrollStick_init(){ 
var allTheScrollSticks=document.getElementsByTagName("div"); 
for(var i=0;i<allTheScrollSticks.length;i++){ 
if(allTheScrollSticks[i].className.match(/^((xScrollStick)|(.+ +xScrollStick)|(xScrollStick +.+)|(.+ +xScrollStick +.+))$/))_xScrollStick_event_doInit(allTheScrollSticks[i]); 
} 
window_event_scroll(); 
} 


//**事件响应函数区****** 

function _xScrollStick_event_doInit(element){ 
//初始化变量 
element.offX=element.offsetLeft; 
element.offY=element.offsetTop; 

//设置方法 
element.Stick=_xScrollStick_method_Stick; 

//设置事件 
switch(BROWSERNAME){ 
case "ns": 
window.addEventListener("scroll",window_event_scroll,false); 
break; 
case "ie": 
default: 
window.attachEvent("onscroll",window_event_scroll); 
} 

//获取设置 
//无 
document.body.parentNode.onscroll=window_event_scroll; 

} 

function window_event_scroll(){ 
var allTheScrollSticks=document.getElementsByTagName("div"); 
for(var i=0;i<allTheScrollSticks.length;i++){ 
if(allTheScrollSticks[i].className.match(/^((xScrollStick)|(.+ +xScrollStick)|(xScrollStick +.+)|(.+ +xScrollStick +.+))$/))try{allTheScrollSticks[i].Stick();}catch(e){} 
} 
} 

//**方法函数区****** 
function _xScrollStick_method_Stick(){ 
var x=this.offX, y=this.offY, po=this; 
this.style.position="absolute"; 
x+=document.body.parentNode.scrollLeft; 
y+=document.body.parentNode.scrollTop; 
this.style.left=x+"px"; 
this.style.top=y+"px"; 

} 

//**通用函数区*** 
//无 
//]]> 
</script>
<style> 
.xScrollStick{ 
position:absolute; 
padding:15px; 
border:1px solid; 
width:120px; 
height:24px; 
} 

.d1 { left:0px;top:0px; } 
.d2 { right:0px;top:0px; } 
.d3 { left:0px;bottom:0px; } 
.d4 { right:0px;bottom:0px; } 
</style>
<!--Owenzp加上的浮动广告end-->
</head>
<body>
<!--Owenzp加上的浮动广告start-->
<div class="xScrollStick d1"> <a href="http://www.163.com">浮动条</a> </div>
<div class="xScrollStick d2">浮动条2</div>
<div class="xScrollStick d3">浮动条3</div>
<div class="xScrollStick d4">浮动条4</div>
<!--Owenzpend によって追加されたフローティング広告-->
<div id="ラッパー">
<!--コンテナが開始します-->
<div id="ヘッダー">
  <!--頭が始まります->
  <div id="ロゴ"><a href="__ROOT__"><img src="<{$webInfo.logo}>" width="227" height="90" alt=" <{$webInfo.title}>" title="<{$webInfo.title}>" border="0" /></a></div>
  <div id="banner"><img src="__PUBLIC__/images/ggad.jpg" /></div>
</div>
<!--ヘッダーの終わり-->
<div id="ナビゲーション">
  <!--ナビゲーション開始-->
  <a href="__APP__" class="first">ホームページ</a> <a href="__ROOT__/index.php/Index/showAll/type/car" title="自動車情報">ソース情報</a> <a href="__ROOT__/index.php/Index/showAll/type/ji" title="コンテナ供給源">コンテナ供給源</a> a href= "__ROOT__/ Index.php/Index/showAll/type/lin" title="トラック未満の供給">トラック未満の供給</a> <a href="__ROOT__/index.php/Index/showAll/ type/ dai" title="バッグとバンドルの供給">バッグとバンドルの供給</a> <a href="__ROOT__/index.php/Index/showAll/type/san" title="バルク供給">一括供給</a> <a href="__ROOT__/index.php/Index/news Notices/type/news" title="ウェブサイト ニュース">/a> a href="__ROOT__/index. php /Index/news Notices/type/notice" title="ウェブサイトのお知らせ">ウェブサイトのお知らせ</a> <a href="__ROOT__/index.php/Index/agreement" title="ウェブサイトの契約" class="last ">ウェブサイト同意書</a> </div>
<!--ナビゲーション終了-->

 <div class="clear"></div>
声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。