[code] Chrono Skin (CSS) changer
Page 1 of 1 • Share •
[code] Chrono Skin (CSS) changer
To set skinz to change with users PC clock
<script language="javascript">
/* script by ????*/
now = new Date();
itime = now.getHours();
document.write(itime);
function TSkinChange() {
if (itime >= 12) {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://your 1st url.com/here">');
}
if (itime >= 24) {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://your 2nd url.com/here">');
}}
TSkinChange();
</script>
_________________

Permissions of this forum:
You cannot reply to topics in this forum
Home







