diff options
Diffstat (limited to 'iframeapps/cuttherope.html')
| -rw-r--r-- | iframeapps/cuttherope.html | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/iframeapps/cuttherope.html b/iframeapps/cuttherope.html new file mode 100644 index 0000000..32b36b8 --- /dev/null +++ b/iframeapps/cuttherope.html @@ -0,0 +1,99 @@ +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="x-ua-compatible" content="IE=edge"> +<title>Cut the Rope</title> +<link rel="stylesheet" href="common.css"/> +<link rel="shortcut icon" href="http://cuttherope.ie/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 1s';},1000); +setTimeout(function() {document.getElementById('splashscreen').style.oAnimation='splash 1s';},1000); +setTimeout(function() {document.getElementById('splashscreen').style.webkitAnimation='splash 1s';},1000); +setTimeout(function() {document.getElementById('splashscreen').style.msAnimation='splash 1s';},1000); +setTimeout(function() {document.getElementById('splashscreen').style.display='none';},2000); +} +</script> +<style> +#splashscreen { + background-color:#FFFFFF; + background-image:url(splashscreens/cuttherope.png); + background-position:center; + background-repeat:no-repeat; +} +</style> +</head> +<body onmouseover="clock()" onload="splash()"> +<div id="splashscreen"></div> +<iframe src="http://cuttherope.ie" 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); +} + +// 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> + |
