您的位置:首页 > 编程语言 > PHP开发

『程序修改』PHPWind8.0至8.3升级后续问题记录集_收集至2010年12月22日

2010-12-22 09:59 260 查看
问题一:自己做的分类信息后台管理功能界面找回。

admin文件夹:

  程序文件topiccate.php

template\admin文件夹:

  模板文件topiccate.htm

  样式文件css.htm

问题二:首页泰山压顶五秒代码

在mode/area/template文件夹中,找到header.htm

修改二:加入Javascript

修改三


问题三:8.3更新后,个人中心Love模板错位

下载全新安装版8.3,将FTP空间上的Love模板删除,然后将8.3的下的Love模板全部重新上传。

问题四:首页左右图片飘移

在mode/area/template文件夹中,找到footer.htm,添加

<style type="text/css">
#lovexin12{
width:130px;
height:320px;
background-color:white;
}
#lovexin14{
width:0px;
height:0px;
background-color:white;
}
</style>


<script language="JavaScript" type="text/javascript">
lastScrollY=0;
function heartBeat(){
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
diffY = document.documentElement.scrollTop;
else if (document.body)
diffY = document.body.scrollTop
else
{/*Netscape stuff*/}
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.getElementById("lovexin12").style.top=parseInt(document.getElementById
("lovexin12").style.top)+percent+"px";
document.getElementById("lovexin14").style.top=parseInt(document.getElementById
("lovexin12").style.top)+percent+"px";
lastScrollY=lastScrollY+percent;
}
suspendcode12="<DIV id=\"lovexin12\" style='left:2px;POSITION:absolute;TOP:120px;'><a title='' href='read.php?tid=56002' target='_blank'><img src='http://www.ygsx.com/images/左边橫幅@首页.jpg' width='130' height='320'/></a><br /><span class=\"close\" style=\"cursor:hand;\" onclick=\"javascript:document.getElementById('lovexin12').style.display='none'\">关闭</span></div>"
suspendcode14="<DIV id=\"lovexin14\" style='right:2px;POSITION:absolute;TOP:120px;'><a title='' href='read.php?tid=51717' target='_blank'><img src='http://www.ygsx.com/images/左边橫幅@首页.jpg' width='0' height='0'/></a><br /><span class=\"close\" style=\"cursor:hand;\" onclick=\"javascript:document.getElementById('lovexin14').style.display='none'\"></span></div>"
document.write(suspendcode12);
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
</script>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: