Get a local computer name
Var wshnetwork = new activXObject ("wscript.network");
Alert ("Domain =" wshnetwork.userdomain;
Alert ("Computer Name =" WshNetwork.computername);
Alert ("user name =" wshnetwork.username;
script>
Schedule top
http://www.51js.com/images/avatars/07.gif "> div>
TD> TR> table>
td>
TR>
TABLE>
div>
VAR i = 0;
Function ABC () {
T1.Style.width = i "%";
A.Style.posleft = a.Style.PosLesLet 2;
i = i 0.4;
IF (i> = 100.4) {
Document.location.href = "
http://www.163.com "
Return False;
}
SetTimeout ("ABC ()", 10);
}
ABC ();
script>
CSS can also control the alternating color of the table
Tr {background-color: expression ((this.sectionrowIndex% 2 == 0)? "red": "blue")}
->
style>
HEAD>
Chapter 1 TD> | Chapter 1 TD> TR>
| Chain 2 TD> | Chain 2 TD> TR>
| Chapter 3 TD> | Chapter 3 TD> TR>
| Chapter 4 TD> | Chapter 4 TD> TR> | Chapter 5 TD> | Chapter 5 TD> TR>
TABLE>
// myhyli @ blueidea
CSS can also control the alternating colors of the table (2)
Tr {background-color: expression ((this.sectionrowIndex% 2 == 0)? "red": "blue")}
TD {background-color: expression ((this.cellindex% 2 == 0)? "" "" ": ((this.parentelement.sectionrowIndex% 2 == 0)?" Green ":" Yellow ")}
->
style>
HEAD>
Chain 1 TD> | Chain TD> | Chapter 1 TD> | Chain TD> | Chapter 1 / TD> tr>
| Chain 2 TD> | Chain 2 TD> | Chain 2 TD> | Chain 2 TD> | Chapter 2 < / TD> tr>
| Chapter 3 TD> | Chapter 3 TD> | Chapter 3 TD> | Chapter 3 TD> | Chapter 3 < / TD> tr>
| Chapter 4 TD> | Chapter 4 TD> | Chapter 4 TD> | Chapter 4 TD> | Chapter 4 < / TD> tr>
| Chapter 5 TD> | Chapter 5 TD> | Chapter 5 TD> | Chapter 5 TD> | Chapter 5 < / TD> tr>
TABLE>
// myhyli @ blueidea
How to display a visitor resolution in the page, browser
| | | |