mirror of
https://github.com/Alee14/windows8online.git
synced 2025-01-22 13:21:57 -05:00
96 lines
No EOL
3.6 KiB
HTML
96 lines
No EOL
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="x-ua-compatible" content="IE=edge">
|
|
<title>Pacman</title>
|
|
<link rel="stylesheet" href="common.css"/>
|
|
<link rel="shortcut icon" href="http://worldsbiggestpacman.com/favicon.ico"/>
|
|
<script>
|
|
function charms(){
|
|
document.getElementById('charmsbar').style.display='block';
|
|
document.getElementById('datetime').style.display='block';
|
|
}
|
|
function destroycharms() {
|
|
document.getElementById('charmsbar').style.display='none';
|
|
document.getElementById('datetime').style.display='none';
|
|
}
|
|
function start(){
|
|
document.getElementById('startbutton').style.display='block';
|
|
}
|
|
function destroystart() {
|
|
document.getElementById('startbutton').style.display='none';
|
|
}
|
|
</script>
|
|
<script>
|
|
function splash() {
|
|
setTimeout(function() {document.getElementById('splashscreen').style.animation='splash 0.7s';},1200);
|
|
setTimeout(function() {document.getElementById('splashscreen').style.display='none';},1900);
|
|
}
|
|
</script>
|
|
<style>
|
|
#splashscreen {
|
|
background-image: url(splashscreens/pacman.png);
|
|
background-color:#000;
|
|
background-repeat:no-repeat;
|
|
background-position:center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body onload="splash()">
|
|
<div id="splashscreen">
|
|
</div>
|
|
<iframe src="http://worldsbiggestpacman.com" width="100%" height="100%"></iframe>
|
|
<div id="hoverarea" onmouseover="charms()" class="hotcorner">
|
|
</div>
|
|
<div id="charmsbar" onmouseover="charms()" onmouseout="destroycharms()">
|
|
<img src="img/charmsbar/search.png" onmouseover="this.src='img/charmsbar/search-hover.png'" onmouseout="this.src='img/charmsbar/search.png'"/><br/>
|
|
<img src="img/charmsbar/share.png" onmouseover="this.src='img/charmsbar/share-hover.png'" onmouseout="this.src='img/charmsbar/share.png'"/><br/>
|
|
<a href="../start/index.html"><img src="img/charmsbar/start.png" onmouseover="this.src='img/charmsbar/start-hover.png'" onmouseout="this.src='img/charmsbar/start.png'"/></a><br/>
|
|
<img src="img/charmsbar/devices.png" onmouseover="this.src='img/charmsbar/devices-hover.png'" onmouseout="this.src='img/charmsbar/devices.png'"/><br/>
|
|
<img src="img/charmsbar/settings.png" onmouseover="this.src='img/charmsbar/settings-hover.png'" onmouseout="this.src='img/charmsbar/settings.png'" onclick="settingsc()"/><br/>
|
|
</div>
|
|
<div id="datetime">
|
|
<img src="img/network.png" id="iconnetwork" height="24px" width="24px"/>
|
|
<img src="img/battery.png" id="iconbattery"/>
|
|
<span id="time"></span>
|
|
<script language="javascript" type="text/javascript">
|
|
<!-- Begin
|
|
function clock() {
|
|
var digital = new Date();
|
|
var hours = digital.getHours();
|
|
var minutes = digital.getMinutes();
|
|
var seconds = digital.getSeconds();
|
|
var amOrPm = "AM";
|
|
if (hours > 11) amOrPm = "PM";
|
|
if (hours > 12) hours = hours - 12;
|
|
if (hours == 0) hours = 12;
|
|
if (minutes <= 9) minutes = "0" + minutes;
|
|
if (seconds <= 9) seconds = "0" + seconds;
|
|
dispTime = hours + ":" + minutes ;
|
|
document.getElementById('time').innerHTML = dispTime;
|
|
setTimeout("clock()", 1000);
|
|
}
|
|
window.onmouseover=clock;
|
|
// End -->
|
|
</script>
|
|
<div id="date"><script language="Javascript">
|
|
|
|
var dayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
|
|
|
|
var monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
|
|
|
|
var now = new Date
|
|
|
|
document.write("" + dayName[now.getDay()] + "<br/>" +"<span id=month>" + monName[now.getMonth()] + " "+now.getDate() +"")
|
|
</script>
|
|
</div>
|
|
</div>
|
|
<div id="bottomhoverarea" onmouseover="charms()" class="hotcorner">
|
|
</div>
|
|
<div id="starthoverarea" onmouseover="start()" class="hotcorner">
|
|
</div>
|
|
<div id="startbutton" onmouseout="destroystart()">
|
|
<a href="../start/index.html"><img src="img/start.png"/></a>
|
|
</div>
|
|
</body>
|
|
</html> |