有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!--# 特效来源:http://www.webjx.com/js -->
<!--把如下代码加入<body>区域中:-->
<SCRIPT LANGUAGE="Javascript">
// Please enter the number of people in your database
var peepNum = 6
// Please edit your page attributes here
var pageAtr = new Array(1)
pageAtr[0] = "#000000" // Pop Up Profile background color
pageAtr[1] = "#ffffff" // Pop Up Profile text color
// Please edit the names of the people in your profiles
var peepName = new Array(peepNum)
peepName[1] = "Jason" // First person's name
peepName[2] = "John" // Second person's name
peepName[3] = "Joe" // Etc...
peepName[4] = "Ryan"
peepName[5] = "Jessica"
peepName[6] = "Mrs. Jacobson"
// Please edit the people's positions
var peepPos = new Array(peepNum)
peepPos[1] = "Master programmer :P" // First person's position
peepPos[2] = "The Pascal Guy" // Second person's position
peepPos[3] = "Soccer guy and mudder" // Etc...
peepPos[4] = "Serves no useful function"
peepPos[5] = "She complains a lot"
peepPos[6] = "The *snicker snicker* teacher"
// Please edit the personal quote
var peepAd = new Array(peepNum)
peepAd[1] = "9th grade really bites" // First person's quote
peepAd[2] = "Graphix are easier" // Second person's quote
peepAd[3] = "I like to play muds" // Etc...
peepAd[4] = "Huh? What about what?"
peepAd[5] = "I don't understand..."
peepAd[6] = "There's too much screwing around here"
// *#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)
// *#) Please stop editing at this point *#)
// *#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)*#)
function makePupWin(){
PUP = window.open('','PUP','width=300,height=160,toolbar=0,directories=0,status=1,menu=0,scrollbars=no,resizable=no,copyhistory=no,location=0');
}
// This is a bit hard to edit if you don't do javascript.
// Here you can edit the HTML of the profile window
// Keep in mind you'll get errors if you use " without a slash (\")
function makePUP(num){
makePupWin();
PUP.document.write("<HTML>\n<HEAD>\n<TITLE>Profile for: " + peepName[num] + "</TITLE>");
PUP.document.write("\n</HEAD>\n<BODY BGCOLOR=\"" + pageAtr[0] + "\" TEXT=\"" + pageAtr[1] + "\">");
PUP.document.write("\n<CENTER>\n<TABLE WIDTH=\"250\" BORDER=\"1\" HEIGHT=\"100\">\n<TR>\n<TD>Name</TD><TD><CENTER>" + peepName[num] + "</CENTER></TD>");
PUP.document.write("\n<\TR>\n<TR>\n<TD>Title:</TD><TD><CENTER>" + peepPos[num] + "</CENTER></TD>");
PUP.document.write("\n<\TR>\n<TR>\n<TD>Quote:</TD><TD><CENTER>" + peepAd[num] + "</CENTER></TD>");
PUP.document.write("\n<\TR>\n</TABLE>\n<FORM>\n<INPUT TYPE=\"button\" VALUE=\"Close Profile\" onClick=\"self.close();\">\n</FORM>\n</BODY>\n</HTML>");
PUP.status=(peepName[num] + "'s Pop Up Profile");
PUP.document.close();
}
</SCRIPT>
<CENTER>
<FORM>
<INPUT TYPE="button" VALUE="Jason's profile" onClick="makePUP(1)"><P>
<INPUT TYPE="button" VALUE="John's profile" onClick="makePUP(2)"><P>
<INPUT TYPE="button" VALUE="Joe's profile" onClick="makePUP(3)"><P>
<INPUT TYPE="button" VALUE="Ryan's profile" onClick="makePUP(4)"><P>
<INPUT TYPE="button" VALUE="Jessica's profile" onClick="makePUP(5)"><P>
<INPUT TYPE="button" VALUE="Mrs. Jacobson's profile" onClick="makePUP(6)"><P>
</FORM>
</CENTER>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]