时间:2021-05-28
//下面是top.js
function KB_keepItInIE(theName,theWantTop,theWantLeft) {
theRealTop=parseInt(document.body.scrollTop)
theTrueTop=theWantTop+theRealTop
document.all[theName].style.top=theTrueTop
theRealLeft=parseInt(document.body.scrollLeft)
theTrueLeft=theWantLeft+theRealLeft
document.all[theName].style.left=theTrueLeft
}
function KB_keepItInNN(theName,theWantX,theWantY) {
theRealLay=document.layers[theName]
theBadX=self.pageYOffset
theBadY=self.pageXOffset
theRealX=theBadX+theWantX
theRealY=theBadY+theWantY
theRealLay.moveTo(theRealY,theRealX)
}
IE4=(document.all)?1:0
NN4=(document.layers)?1:0
//if (IE4)
//setInterval('KB_keepItInIE("KBStatic",0,0)',1)
//if (NN4)
//setInterval('KB_keepItInNN("KBStatic",0,0)',1)
//下面是menu.php
<div id="Layer1" style="position:absolute; left:31px; top:1px; width:560px; height:46px; z-index:5">
<script language="JavaScript1.2">fwLoadMenus();
</script></div>
<SCRIPT LANGUAGE="JavaScript">
<!--
if (IE4)
setInterval('KB_keepItInIE("Layer1",0,31)',1)
if (NN4)
setInterval('KB_keepItInNN("Layer1",0,31)',1)
//-->
</SCRIPT>
//下面是 menuhead.php
<?
echo "<script language=JavaScript1.2 src='js/menu_comment.js'></script><script language=JavaScript1.2 src='js/fw_menu.js'></script><script language=JavaScript1.2 src='js/top.js'></script>";
?>
//下面为mysql.inc
<?
$link=mysql_pconnect("localhost","xiaoyang","xiaoyang")or die(mysql_error());
$link1=mysql_select_db("database")or die(mysql_error());
?>
声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。
Ubuntu+Apache+PHP+Mysql环境搭建(完整版)一、操作系统Ubuntu14.0464位,阿里云服务器二、Apache1、安装Apache,安装
抖音点击看完整版的方法是: 1、打开抖音,找到带有完整版字样的视频,接着点击完整版图标。 2、进入后即可查看完整版的视频了。 抖音(TikTok)是由今日
抖音看完整版的方法是: 1、打开“抖音短视频”APP。 2、进入视频页面,点击“完整版”。 3、进入之后即可观看完整版。 抖音,是一款可以拍短视频的音乐
抖音看完整视频的方法是: 1、打开抖音。 2、找到带完整版的抖音。 3、点击完整版图标。 4、即可查看完整版视频了。抖音2016年9月上线,一直磨刀磨到
帝国默认的编辑器有完整版和简洁版,但是有时候简洁版里想再加上完整版里的一些按钮,或者完整版里删去不想要的按钮解决办法:修改路径文件:e/data/ecmsedi