欢迎使用读吧.net书网程序。更多详情请参阅www.read8.net。
此站是基于PHP+ mysql构架
源代码在线查看: adminqq.plus
var online= new Array();
adm_qq="{G_admin_qq}";
QQ = adm_qq.split(",");
MyQQ = '';
adm_name = new Array();
adm_num = new Array();
for( i = 0; i < QQ.length; i++ ){
result = QQ[i].split(" ");
adm_name[i] = result[0];
adm_num[i] = result[1];
}
if (!document.layers) document.write('');
for( i = 0; i < adm_name.length; i++ )
{
document.write( "" );
if (online[i]==0)
{
document.write(" "+adm_name[i]+"");
}
else
{
document.write(" "+adm_name[i]+"");
}
document.write( "" );
}
var verticalpos="frombottom"
if (!document.layers)
document.write('')
function JSFX_FloatTopDiv()
{
var startX =880,
startY = 500;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();