//下面是top.js
function kb_keepitinie(thename,thewanttop,thewantleft) {
therealtop=parint(document.body.scrolltop)
thetruetop=thewanttop+therealtop
document.all[thename].style.小于等于号top=thetruetop
therealleft=parint(document.body.scrollleft)
thetruvbs整人代码eleft=thewantleft+therealleft
document.all[thename].style.left=thetrueleft
}
function kb_keepitinnn(thename,thewantx,thewanty) {
thereallay=document.layers[thename]
thebadx=lf.pageyofft
thebady=lf.pagexofft
therealx=thebadx+thewantx
therealy=thebady+thewanty
thereallay.moveto(therealy,therealx)
}
ie4=(document.all)?1:0
nn4=(document.layers)?1:0
//if (ie4)
//tinterval(‘kb_keepitinie(“kbstatic”,0,0)’,1)
//if (nn4)
//tinterval(‘kb_keepitinnn(“k高中语文作文素材大全bstatic”,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)
tinterval(‘kb_keepitinie(“layer1”,0,31)’,1)
if (nn4)
tinterval(‘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_le养殖业什么最稳ct_db(“databa”)or die(mysql_error());
?>
本文发布于:2023-04-06 05:16:12,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/951dbb9f05f8ffec80dbb63750840c85.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:BBS(php & mysql)完整版(七).doc
本文 PDF 下载地址:BBS(php & mysql)完整版(七).pdf
留言与评论(共有 0 条评论) |