User:MindstormsKid/vector.js: Difference between revisions
Appearance
Content deleted Content added
m gah! |
m grrrrrrrr |
||
Line 1: | Line 1: | ||
document.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>'); |
|||
// clock! |
|||
addOnloadHook(function(){ |
addOnloadHook(function(){ |
||
jQuery("#p-personal ul").append('<li id="pt-time">'); |
jQuery("#p-personal ul").append('<li id="pt-time">'); |
||
setInterval( |
setInterval(function(){ |
||
var date = new Date(); |
var date = new Date(); |
||
jQuery("#pt-time").html(date.getUTCHours() + ":" + date.getUTCMinutes() + ":" + date.getUTCSeconds()); |
jQuery("#pt-time").html(date.getUTCHours() + ":" + date.getUTCMinutes() + ":" + date.getUTCSeconds()); |
||
}); |
}, 1000); |
||
}); |
}); |