ホームページ  >  記事  >  バックエンド開発  >  BBSphp&mysql フルバージョン 7_PHP チュートリアル

BBSphp&mysql フルバージョン 7_PHP チュートリアル

WBOY
WBOYオリジナル
2016-07-13 17:27:46802ブラウズ

//下は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




//下面はmenuhead.php

エコー「」;
?>
//下はmysql.inc

$link=mysql_pconnect("localhost","xiaoyang","xiaoyang") または die(mysql_error());
$link1=mysql_select_db("データベース") または die(mysql_error());
?>

www.bkjia.comtru​​ehttp://www.bkjia.com/PHPjc/531849.html技術記事 //下はtop.js function KB_keepItInIE(theName,theWantTop,theWantLeft) { theRealTop=parseInt(document.body.scrollTop) theTrueTop=theWantTop+theRealTop document.all[theName].styl...
声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。