ASKER
ASKER
ASKER
input[name="button01"],input[name="button02"],input[name="button03"] {
background: url(sprite.jpg) !important;
background-size: inherit !important;
}
input[name="button01"]:hover {
background-position: -61px 0 !important;
}
input[name="button01"]:active {
background-size: -121px 0 !important;
}
input[name="button02"]:hover {
background-position: -61px -64px !important;
}
input[name="button02"]:active {
background-size: -121px -64px !important;
}
input[name="button03"]:hover {
background-position: -61px -126px !important;
}
input[name="button03"]:active {
background-size: -121px -126px !important;
}
ASKER
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name=VI60_defaultClientScript content=VBScript>
<title></title>
<HTA:APPLICATION
ID="objScreen"
APPLICATIONNAME="Screen"
BORDER="none"
BORDERSTYLE="normal"
CAPTION="no"
ICON=""
MAXIMIZEBUTTON="no"
MINIMIZEBUTTON="no"
SHOWINTASKBAR="yes"
SINGLEINSTANCE="yes"
SYSMENU="no"
SCROLL="no"
VERSION="1.0"
CONTEXTMENU="no"
WINDOWSTATE="maximize"
INNERBORDER="no"/>
<style>
html,
body {
font-family: sans-serif;
}
.btn {
width:55px;
height:55px;
position:absolute;
display:block;
padding:5px;
-webkit-border-radius: 3px;
-moz-border-radius:3px;
border-radius: 3px;
border:0;
}
.btn-lg {
position:absolute;
width:150px;
height:55px;
font-size:13pt;
text-align:center;
border:0;
-webkit-border-radius: 3px;
-moz-border-radius:3px;
border-radius: 3px;
}
.btn-log-off {
position: absolute;
background: url("LogOff.png") no-repeat center #3E535E;
left:886px;
top:535px;
}
.btn-log-off:hover {
background: url("LogOffB.png") no-repeat center #3E535E;
}
.btn-log-off:active {
background: url("LogOffB.png") no-repeat center #32434C;
}
.btn-restart {
position: absolute;
background: url("Restart.png") no-repeat center #724F0F;
left:886px;
top:599px;
}
.btn-restart:hover {
background: url("RestartB.png") no-repeat center #724F0F;
}
.btn-restart:active {
background: url("RestartB.png") no-repeat center #573D0C;
}
.btn-power-off {
position: absolute;
left:886px;
top:663px;
background: url("Power.png") no-repeat center #602F2E;
}
.btn-power-off:hover {
background: url("PowerB.png") no-repeat center #5F2E2F;
}
.btn-power-off:active {
background: url("PowerB.png") no-repeat center #ffff00;
}
.btn-learning-marterials {
position: absolute;
left:720px;
top:615px;
color:#DADADA;
background-color:#28442E;
}
.btn-learning-marterials:hover {
color:#A2FF90;
background-color:#2B4931;
}
.btn-learning-marterials:active {
color:#A3FF90;
background-color:#223A27;
}
</style>
</head>
<BODY
BACKGROUND="PlatformV30.jpg"
TOPMARGIN="10"
RIGHTMARGIN="10"
LEFTMARGIN="10">
<Script Language="VBScript">
Sub LogOffPC()
Set objShell = CreateObject("WScript.Shell")
objShell.Run("shutdown -l -f"), 1, True
End Sub
Sub RestartPC()
Set objShell = CreateObject("WScript.Shell")
objShell.Run("shutdown -t 0 -r -f"), 1, True
End Sub
Sub PowerOffPC()
Set objShell = CreateObject("WScript.Shell")
objShell.Run("shutdown -t 0 -s -f"), 1, True
End Sub
Sub Window_OnLoad
' Size and position main window
window.resizeTo 1366,768
window.moveTo 0,0
' Display current time
myClock.innerText = Now()
' Set up a timer event so we can update the screen periodically
iTimerID = window.setInterval("myVBSClock", 1000)
End Sub
Sub myVBSClock
' Update current time
myClock.innerText = Now()
' Refresh colors from HWstatus file
CheckHWStatusFile
' Refresh colors from SWstatus file
CheckSWStatusFile
' Refresh data
RefreshData
End Sub
Function ComputerName()
' Get computername
Set wshShell = CreateObject("WScript.Shell")
ComputerName = wshShell.ExpandEnvironmentStrings("%COMPUTERNAME%")
Set wshShell = Nothing
End Function
Sub CheckSWStatusFile
' Constants for file I/O
Const ForReading = 1
Const ForWriting = 2
Const TriStateUseDefault = -2
' Name of SWstatus file
strSWStatusFile = "SWStatus.txt"
' Create file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Make sure SWstatus file exists
If objFSO.FileExists(strSWStatusFile) Then
' Open it for reading
Set objSWStatusFile = objFSO.OpenTextFile(strSWStatusFile, ForReading, False, TriStateUseDefault)
' Read SWstatus file, slit lines into array elements
arrSWStatus = Split(objSWStatusFile.ReadAll, vbCrLf)
' Close file, release objects
objSWStatusFile.Close
Set objSWStatusFile = Nothing
Set objFSO = Nothing
' Process each line of the SWstatus file (skip blank lines)
For Each strSWStatus in arrSWStatus
If strSWStatus <> "" Then
' Split SWstatus line into array at comma
arrField = Split(strSWStatus, ",")
' Process lines based on first field on line (item name to update), and set item color to SWstatus file value
Select Case arrField(0)
Case "ST01"
ST01.style.background = arrField(1)
Case "ST02"
ST02.style.background = arrField(1)
Case "ST03"
ST03.style.background = arrField(1)
Case "ST04"
ST04.style.background = arrField(1)
Case "ST05"
ST05.style.background = arrField(1)
Case "ST06"
ST06.style.background = arrField(1)
Case "ST07"
ST07.style.background = arrField(1)
End Select
End If
Next
End If
End Sub
Sub CheckHWStatusFile
' Constants for file I/O
Const ForReading = 1
Const ForWriting = 2
Const TriStateUseDefault = -2
' Name of HWstatus file
strHWStatusFile = "HWStatus.txt"
' Create file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Make sure HWstatus file exists
If objFSO.FileExists(strHWStatusFile) Then
' Open it for reading
Set objHWStatusFile = objFSO.OpenTextFile(strHWStatusFile, ForReading, False, TriStateUseDefault)
' Read HWstatus file, slit lines into array elements
arrHWStatus = Split(objHWStatusFile.ReadAll, vbCrLf)
' Close file, release objects
objHWStatusFile.Close
Set objHWStatusFile = Nothing
Set objFSO = Nothing
' Process each line of the HWstatus file (skip blank lines)
For Each strHWStatus in arrHWStatus
If strHWStatus <> "" Then
' Split HWstatus line into array at comma
arrField = Split(strHWStatus, ",")
' Process lines based on first field on line (item name to update), and set item color to HWstatus file value
Select Case arrField(0)
Case "HW01"
HW01.style.background = arrField(1)
Case "HW02"
HW02.style.background = arrField(1)
Case "HW03"
HW03.style.background = arrField(1)
Case "HW04"
HW04.style.background = arrField(1)
Case "HW05"
HW05.style.background = arrField(1)
Case "HW06"
HW06.style.background = arrField(1)
Case "HW07"
HW07.style.background = arrField(1)
Case "HW08"
HW08.style.background = arrField(1)
Case "HW09"
HW09.style.background = arrField(1)
Case "HW10"
HW10.style.background = arrField(1)
Case "HW11"
HW11.style.background = arrField(1)
Case "HW12"
HW12.style.background = arrField(1)
End Select
End If
Next
End If
End Sub
Sub RefreshData
' Constants for file I/O
Const ForReading = 1
Const ForWriting = 2
Const TriStateUseDefault = -2
intRows = 2
intCols = 2
' Name of status file
strDataFile = "db.csv"
' Create file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Make sure data file exists
If objFSO.FileExists(strDataFile) Then
' Open it for reading
Set objDataFile = objFSO.OpenTextFile(strDataFile, ForReading, False, TriStateUseDefault)
' Read data file, slit lines into array elements
arrData = Split(objDataFile.ReadAll, vbCrLf)
' Close file, release objects
objDataFile.Close
Set objDataFile = Nothing
Set objFSO = Nothing
' Process each line of the status file, updating html table data
For intRow = 0 To intRows
arrField = Split(arrData(intRow), ",")
Set objCell = document.getElementById("dbdata").rows(intRow).cells
For intCol = 0 To intCols
objCell(intCol).innerHTML = arrField(intCol)
Next
Set objCell = Nothing
Next
End If
End Sub
</SCRIPT>
<script language="javascript">
/* This script and many more are available free online at
The JavaScript Source :: http://www.javascriptsource.com
Created by: James Nisbet (morBandit) :: http://www.bandit.co.nz/ */
window.onload = function() {
document.onselectstart = function() {return false;} // ie
document.onmousedown = function() {return false;} // mozilla
}
</script>
<input
type="button"
name="button01"
class="btn btn-log-off"
onClick='vbscript:LogOffPC'/>
<input
type="button"
name="button02"
class="btn btn-restart"
onClick='vbscript:RestartPC'
/>
<input
type="button"
name="button03"
class="btn btn-power-off"
onClick='vbscript:PowerOffPC'
/>
<button type="button" class="btn-lg btn-learning-marterials">LEARNING<br/>MARTERIALS</button>
<SPAN
id="dbdataspan"
style="
top: 633px;
left: 1030px;
position: absolute;
z-index: 1;
color: #353535;
visibility: show;">
<table id="dbdata" style="width: 340px;height: 50px;color: #353535;font-family: Arial Black;font-size: 20px;font-weight: lighter;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
</tr>
<tr>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
</tr>
<tr>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
</tr>
</tbody>
</table>
</SPAN>
<SPAN
id="ST01"
style="
top: 320px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST02"
style="
top: 348px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST03"
style="
top: 376px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST04"
style="
top: 404px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST05"
style="
top: 432px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST06"
style="
top: 460px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST07"
style="
top: 488px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW01"
style="
top: 320px;
left: 35px;
width: 25px;
height: 250px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW02"
style="
top: 320px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW03"
style="
top: 348px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW04"
style="
top: 376px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW05"
style="
top: 404px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW06"
style="
top: 432px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW07"
style="
top: 460px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW08"
style="
top: 488px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW09"
style="
top: 516px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW10"
style="
top: 544px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW11"
style="
top: 600px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW12"
style="
top: 655px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
style="
top: 722px;
left: 960px;
position: absolute;
z-index: 1;
text-align: left;
color: #dadada;
font-family: Arial;
font-size: 45px;
visibility: show;">
<script type="text/javascript"> document.write(computername());</script>
</SPAN>
<SPAN
STYLE="
top: 320px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 348px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 376px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 404px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 432px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 460px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 488px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 750px;
left: 1180px;
position: absolute;
z-index: 1;
text-align: right;
color: #dadada;
font-family: Arial;
font-face: Arial;
font-size: 14px;
font-weight: bold;
visibility: show;">
<font color="white"><PRE ID=myClock></font>
</SPAN>
</BODY>
</HTML>
ASKER
.btn {
width:55px;
height:55px;
position:absolute;
display:block;
padding:5px;
-webkit-border-radius: 3px;
-moz-border-radius:3px;
border-radius: 3px;
border:0;
}
ASKER
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name=VI60_defaultClientScript content=VBScript>
<title></title>
<HTA:APPLICATION
ID="objScreen"
APPLICATIONNAME="Screen"
BORDER="none"
BORDERSTYLE="normal"
CAPTION="no"
ICON=""
MAXIMIZEBUTTON="no"
MINIMIZEBUTTON="no"
SHOWINTASKBAR="yes"
SINGLEINSTANCE="yes"
SYSMENU="no"
SCROLL="no"
VERSION="1.0"
CONTEXTMENU="no"
WINDOWSTATE="maximize"
INNERBORDER="no"/>
<style>
html,
body {
font-family: sans-serif;
}
.btn {
width:55px;
height:55px;
position:absolute;
display:block;
padding:5px;
-webkit-border-radius: 3px;
-moz-border-radius:3px;
border-radius: 3px;
border:0;
}
.btn-lg {
position:absolute;
width:150px;
height:55px;
font-size:13pt;
text-align:center;
border:0;
-webkit-border-radius: 3px;
-moz-border-radius:3px;
border-radius: 3px;
}
.btn-log-off {
position: absolute;
background: url("LogOff.png") no-repeat center #3E535E;
left:886px;
top:535px;
}
.btn-log-off:hover {
background: url("LogOffB.png") no-repeat center #3E535E;
}
.btn-log-off:active {
background: url("LogOffB.png") no-repeat center #32434C;
}
.btn-restart {
position: absolute;
background: url("Restart.png") no-repeat center #724F0F;
left:886px;
top:599px;
}
.btn-restart:hover {
background: url("RestartB.png") no-repeat center #724F0F;
}
.btn-restart:active {
background: url("RestartB.png") no-repeat center #573D0C;
}
.btn-power-off {
position: absolute;
left:886px;
top:663px;
background: url("Power.png") no-repeat center #602F2E;
}
.btn-power-off:hover {
background: url("PowerB.png") no-repeat center #5F2E2F;
}
.btn-power-off:active {
background: url("PowerB.png") no-repeat center #ffff00;
}
.btn-learning-marterials {
position: absolute;
left:720px;
top:615px;
color:#DADADA;
background-color:#28442E;
}
.btn-learning-marterials:hover {
color:#A2FF90;
background-color:#2B4931;
}
.btn-learning-marterials:active {
color:#A3FF90;
background-color:#223A27;
}
</style>
</head>
<BODY
BACKGROUND="PlatformV30.jpg"
TOPMARGIN="10"
RIGHTMARGIN="10"
LEFTMARGIN="10">
<Script Language="VBScript">
Sub LogOffPC1()
Set objShell = CreateObject("WScript.Shell")
objShell.Run("shutdown -l -f"), 1, True
End Sub
Sub RestartPC1()
Set objShell = CreateObject("WScript.Shell")
objShell.Run("shutdown -t 0 -r -f"), 1, True
End Sub
Sub PowerOffPC1()
Set objShell = CreateObject("WScript.Shell")
objShell.Run("shutdown -t 0 -s -f"), 1, True
End Sub
Sub Window_OnLoad
' Size and position main window
window.resizeTo 1366,768
window.moveTo 0,0
' Display current time
myClock.innerText = Now()
' Set up a timer event so we can update the screen periodically
iTimerID = window.setInterval("myVBSClock", 1000)
End Sub
Sub myVBSClock
' Update current time
myClock.innerText = Now()
' Refresh colors from HWstatus file
CheckHWStatusFile
' Refresh colors from SWstatus file
CheckSWStatusFile
' Refresh data
RefreshData
End Sub
Function ComputerName()
' Get computername
Set wshShell = CreateObject("WScript.Shell")
ComputerName = wshShell.ExpandEnvironmentStrings("%COMPUTERNAME%")
Set wshShell = Nothing
End Function
Sub CheckSWStatusFile
' Constants for file I/O
Const ForReading = 1
Const ForWriting = 2
Const TriStateUseDefault = -2
' Name of SWstatus file
strSWStatusFile = "SWStatus.txt"
' Create file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Make sure SWstatus file exists
If objFSO.FileExists(strSWStatusFile) Then
' Open it for reading
Set objSWStatusFile = objFSO.OpenTextFile(strSWStatusFile, ForReading, False, TriStateUseDefault)
' Read SWstatus file, slit lines into array elements
arrSWStatus = Split(objSWStatusFile.ReadAll, vbCrLf)
' Close file, release objects
objSWStatusFile.Close
Set objSWStatusFile = Nothing
Set objFSO = Nothing
' Process each line of the SWstatus file (skip blank lines)
For Each strSWStatus in arrSWStatus
If strSWStatus <> "" Then
' Split SWstatus line into array at comma
arrField = Split(strSWStatus, ",")
' Process lines based on first field on line (item name to update), and set item color to SWstatus file value
Select Case arrField(0)
Case "ST01"
ST01.style.background = arrField(1)
Case "ST02"
ST02.style.background = arrField(1)
Case "ST03"
ST03.style.background = arrField(1)
Case "ST04"
ST04.style.background = arrField(1)
Case "ST05"
ST05.style.background = arrField(1)
Case "ST06"
ST06.style.background = arrField(1)
Case "ST07"
ST07.style.background = arrField(1)
End Select
End If
Next
End If
End Sub
Sub CheckHWStatusFile
' Constants for file I/O
Const ForReading = 1
Const ForWriting = 2
Const TriStateUseDefault = -2
' Name of HWstatus file
strHWStatusFile = "HWStatus.txt"
' Create file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Make sure HWstatus file exists
If objFSO.FileExists(strHWStatusFile) Then
' Open it for reading
Set objHWStatusFile = objFSO.OpenTextFile(strHWStatusFile, ForReading, False, TriStateUseDefault)
' Read HWstatus file, slit lines into array elements
arrHWStatus = Split(objHWStatusFile.ReadAll, vbCrLf)
' Close file, release objects
objHWStatusFile.Close
Set objHWStatusFile = Nothing
Set objFSO = Nothing
' Process each line of the HWstatus file (skip blank lines)
For Each strHWStatus in arrHWStatus
If strHWStatus <> "" Then
' Split HWstatus line into array at comma
arrField = Split(strHWStatus, ",")
' Process lines based on first field on line (item name to update), and set item color to HWstatus file value
Select Case arrField(0)
Case "HW01"
HW01.style.background = arrField(1)
Case "HW02"
HW02.style.background = arrField(1)
Case "HW03"
HW03.style.background = arrField(1)
Case "HW04"
HW04.style.background = arrField(1)
Case "HW05"
HW05.style.background = arrField(1)
Case "HW06"
HW06.style.background = arrField(1)
Case "HW07"
HW07.style.background = arrField(1)
Case "HW08"
HW08.style.background = arrField(1)
Case "HW09"
HW09.style.background = arrField(1)
Case "HW10"
HW10.style.background = arrField(1)
Case "HW11"
HW11.style.background = arrField(1)
Case "HW12"
HW12.style.background = arrField(1)
End Select
End If
Next
End If
End Sub
Sub RefreshData
' Constants for file I/O
Const ForReading = 1
Const ForWriting = 2
Const TriStateUseDefault = -2
intRows = 2
intCols = 2
' Name of status file
strDataFile = "db.csv"
' Create file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Make sure data file exists
If objFSO.FileExists(strDataFile) Then
' Open it for reading
Set objDataFile = objFSO.OpenTextFile(strDataFile, ForReading, False, TriStateUseDefault)
' Read data file, slit lines into array elements
arrData = Split(objDataFile.ReadAll, vbCrLf)
' Close file, release objects
objDataFile.Close
Set objDataFile = Nothing
Set objFSO = Nothing
' Process each line of the status file, updating html table data
For intRow = 0 To intRows
arrField = Split(arrData(intRow), ",")
Set objCell = document.getElementById("dbdata").rows(intRow).cells
For intCol = 0 To intCols
objCell(intCol).innerHTML = arrField(intCol)
Next
Set objCell = Nothing
Next
End If
End Sub
</SCRIPT>
<script language="javascript">
/* This script and many more are available free online at
The JavaScript Source :: http://www.javascriptsource.com
Created by: James Nisbet (morBandit) :: http://www.bandit.co.nz/ */
window.onload = function() {
document.onselectstart = function() {return false;} // ie
document.onmousedown = function() {return false;} // mozilla
}
</script>
<input
type="button"
name="button01"
class="btn btn-log-off"
onClick='vbscript:LogOffPC'/>
<input
type="button"
name="button02"
class="btn btn-restart"
onClick='vbscript:RestartPC'
/>
<input
type="button"
name="button03"
class="btn btn-power-off"
onClick='vbscript:PowerOffPC'
/>
<button type="button" class="btn-lg btn-learning-marterials">LEARNING<br/>MARTERIALS</button>
<SPAN
id="dbdataspan"
style="
top: 633px;
left: 1030px;
position: absolute;
z-index: 1;
color: #353535;
visibility: show;">
<table id="dbdata" style="width: 340px;height: 50px;color: #353535;font-family: Arial Black;font-size: 20px;font-weight: lighter;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
</tr>
<tr>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
</tr>
<tr>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
<td style="height: 20px;width: 118px;text-align: center;">0<br></td>
</tr>
</tbody>
</table>
</SPAN>
<SPAN
id="ST01"
style="
top: 320px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST02"
style="
top: 348px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST03"
style="
top: 376px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST04"
style="
top: 404px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST05"
style="
top: 432px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST06"
style="
top: 460px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="ST07"
style="
top: 488px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW01"
style="
top: 320px;
left: 35px;
width: 25px;
height: 250px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW02"
style="
top: 320px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW03"
style="
top: 348px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW04"
style="
top: 376px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW05"
style="
top: 404px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW06"
style="
top: 432px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW07"
style="
top: 460px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW08"
style="
top: 488px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW09"
style="
top: 516px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW10"
style="
top: 544px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW11"
style="
top: 600px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
id="HW12"
style="
top: 655px;
left: 70px;
width: 25px;
height: 25px;
position: absolute;
z-index: 1;
visibility: show;
background: #5d5d5d;">
</SPAN>
<SPAN
style="
top: 722px;
left: 960px;
position: absolute;
z-index: 1;
text-align: left;
color: #dadada;
font-family: Arial;
font-size: 45px;
visibility: show;">
<script type="text/javascript"> document.write(computername());</script>
</SPAN>
<SPAN
STYLE="
top: 320px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 348px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 376px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 404px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 432px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 460px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 488px;
left: 480px;
width: 25px;
height: 25px;
position: absolute;
z-index: 0;
background-image: url('Busy.gif');
visibility: show;">
</SPAN>
<SPAN
STYLE="
top: 750px;
left: 1180px;
position: absolute;
z-index: 1;
text-align: right;
color: #dadada;
font-family: Arial;
font-face: Arial;
font-size: 14px;
font-weight: bold;
visibility: show;">
<font color="white"><PRE ID=myClock></font>
</SPAN>
</BODY>
</HTML>
ASKER
ASKER
ASKER
ASKER
ASKER
HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.
TRUSTED BY
ASKER