Categories

Thousands of experts bid on your personal project at ScriptLance.com

status bar digital clock

This is a JavaScript example that will display a clock in your status bar

<html>

<head><title></title><script Language="JavaScript"> var timerID = null; var timerRunning = false;

function stopclock (){ if(timerRunning) clearTimeout(timerID); timerRunning = false; }

function showtime () { var now = new Date(); var hours = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds() var timeValue = "" [...]

Add to favorites script

This is an add to favorites JavaScript example. This example shows the actual script and usage in a simple HTML page

<html>
<head>
<title></title>
<script language=”JavaScript1.2″>

//change the two variables below
var bookmarkurl=”http://www.yoursitehere.com”;
var bookmarktitle=”name of site here”;

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle);
}

</script>
</head>
<body>
<a href=”javascript:addbookmark()”>Bookmark this site!</a>

</body>
</html>

Bookmark It

Hide Sites

$$(‘div.d9′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) });