Text dance on page

<script language="JavaScript1.2">
//configure message
message="Welcome to Free download javascript code."
//animate text in NS6? (0 will turn it off)
ns6switch=1
var ns6=document.getElementById&&!document.all
mes=new Array();
mes[0]=-1;
mes[1]=-4;
mes[2]=-7;mes[3]=-10;
mes[4]=-7;
mes[5]=-4;
mes[6]=-1;
num=0;
num2=0;
txt="";
function jump0(){
if (ns6&&!ns6switch){
jump.innerHTML=message
return
}
if(message.length > 6){
for(i=0; i != message.length;i++){
txt=txt+"<span style='position:relative;' id='n"+i+"'>"+message.charAt(i)+"</span>"};
jump.innerHTML=txt;
txt="";
jump1a()
}
else{
alert("Your message is to short")
}
}
function jump1a(){
nfinal=(document.getElementById)? document.getElementById("n0") : document.all.n0
nfinal.style.left=-num2;
if(num2 != 9){
num2=num2+3;
setTimeout("jump1a()",50)
}
else{
jump1b()
}
}
function jump1b(){
nfinal.style.left=-num2;
if(num2 != 0){num2=num2-3;
setTimeout("jump1b()",50)
}
else{
jump2()
}
}
function jump2(){
txt="";
for(i=0;i != message.length;i++){
if(i+num > -1 && i+num < 7){
txt=txt+"<span style='position:relative;top:"+mes[i+num]+"'>"+message.charAt(i)+"</span>"
}
else{txt=txt+"<span>"+message.charAt(i)+"</span>"}
}
jump.innerHTML=txt;
txt="";
if(num != (-message.length)){
num--;
setTimeout("jump2()",50)}
else{num=0;
setTimeout("jump0()",50)}}
</script>
</head>
<body>
<h2><div id="jumpx" style="color:green"></div></h2>
<script>
if (document.all||document.getElementById){
jump=(document.getElementById)? document.getElementById("jumpx") : document.all.jumpx
jump0()
}
else
document.write(message)
</script>
                          

Text around your mouse cursor

<SCRIPT LANGUAGE="JavaScript">
var awEMnbSPm;var AWEmnbSPm;var aWEMnbSPm;var AWEMnbSPm;var awemnbsPM;var AwemnbsPM;var aWemnbsPM;var awEmnbsPM;var aweMnbsPM;var AWemnbsPM;var aWEmnbsPM;
var awEMnbsPM;AWEmnbsPM(" welcome to my site ","arial,helvetica,times new roman",2,"#000000",5,1,2,35,5,2,300,300,"DFJO1AC439CXM4FIF5FD94G");
var aWEMnbsPM=document.layers;var AWEMnbsPM=document.getElementById&&!document.all;var AwemNBSpm=document.getElementById&&document.all;var awEMnbSPm=awEMnbSPm.split('');var aWemNBSpm=awEMnbSPm.length; var awEmNBSpm=aWEMnbSPm*15;
var AWemnBSPm="This script was made by Krishna.Eyd (C)2008 All rights reserved. Visit www.htmlfreecode.com for more free scripts!";
var aWEmnBSPm=0;var awEMnBSPm="<font face="+AWEmnbSPm+" size="+aWEMnbSPm+" color="+AWEMnbSPm+">";if (AwemNBSpm) window.pageYOffset=0;if (AwemNBSpm||AWEMnbsPM||aWEMnbsPM){for (AwemNBSPm=0; AwemNBSPm < aWemNBSpm; AwemNBSPm++)
if(AwemNBSpm||AWEMnbsPM){document.write('<div id="AwemnBSPM'+AwemNBSPm+'" style="position:absolute;left:0px;top:0px;width:'+awEmNBSpm+'px;height:'+awEmNBSpm+'px;text-align:center;font-weight:regular;cursor:default">'+awEMnBSPm+awEMnbSPm[AwemNBSPm]+'</font></div>');}
else if (aWEMnbsPM){document.write('<layer name="AwemnBSPM'+AwemNBSPm+'" left=0 top=0 width='+awEmNBSpm+' height='+awEmNBSpm+'><center>'+awEMnBSPm+awEMnbSPm[AwemNBSPm]+'</font></center></layer>');}}(aWEMnbsPM)?window.captureEvents(Event.MOUSEMOVE):0;(aWEMnbsPM)?window.onMouseMove=aWemNBSPm:document.onmousemove=aWemNBSPm;AWemNBSPm=new Array();aWEmNBSPm=new Array();awEMNBSPm=new Array();AWEmNBSPm=new Array();for (AwemNBSPm=0; AwemNBSPm < aWemNBSpm; AwemNBSPm++){AWemNBSPm[AwemNBSPm]=0;aWEmNBSPm[AwemNBSPm]=0;awEMNBSPm[AwemNBSPm]=0;AWEmNBSPm[AwemNBSPm]=0;}if (aWEMnbsPM||AwemNBSpm||AWEMnbsPM)window.onload=awemnBSPM;
function aWemNBSPm(aWEMNBSPm){aWEmnbsPM=(aWEMnbsPM)?aWEMNBSPm.pageX+20:(AWEMnbsPM)?aWEMNBSPm.pageX-20:event.x-20;awEMnbsPM=(aWEMnbsPM)?aWEMNBSPm.pageY+20-window.pageYOffset:(AWEMnbsPM)?aWEMNBSPm.pageY-window.pageYOffset:event.y;};
function AWEMNBSPm(){aWEmnBSPm-=(AwemNBSpm)?AwemnbsPM:(AWEMnbsPM)?awEmnbsPM:(aWEMnbsPM)?aWemnbsPM:0;for (AwemNBSPm=0; AwemNBSPm<aWemNBSpm; AwemNBSPm++){var letter=(AWEMnbsPM||AwemNBSpm)?document.getElementById('AwemnBSPM'+AwemNBSPm).style:document.layers['AwemnBSPM'+AwemNBSPm];letter.left=AWemNBSPm[AwemNBSPm]+awEmNBSpm*Math.cos((aWEmnBSPm+AwemNBSPm*1)/3.8)*aweMnbsPM;letter.top=aWEmNBSPm[AwemNBSPm]+awEmNBSpm*Math.sin((aWEmnBSPm+AwemNBSPm*1)/3.8)*AWemnbsPM+window.pageYOffset-15;}};
function awemnBSPM(){AWemNBSPm[0]=Math.round(awEMNBSPm[0]+=(aWEmnbsPM-awEMNBSPm[0])*awemnbsPM);aWEmNBSPm[0]=Math.round(AWEmNBSPm[0]+=(awEMnbsPM-AWEmNBSPm[0])*awemnbsPM);for (var AwemNBSPm=1; AwemNBSPm < aWemNBSpm; AwemNBSPm++){AWemNBSPm[AwemNBSPm]=Math.round(awEMNBSPm[AwemNBSPm]+=(AWemNBSPm[AwemNBSPm-1]-awEMNBSPm[AwemNBSPm])*awemnbsPM);aWEmNBSPm[AwemNBSPm]=Math.round(AWEmNBSPm[AwemNBSPm]+=(aWEmNBSPm[AwemNBSPm-1]-AWEmNBSPm[AwemNBSPm])*awemnbsPM);}if(AWemnBSPm.charAt(60)!=String.fromCharCode(118))return;
if(window.status!=AWemnBSPm)window.status=AWemnBSPm;AWEMNBSPm();setTimeout('awemnBSPM()',10);};function AWEmnbsPM(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12){awEMnbSPm=p1;AWEmnbSPm=p2;aWEMnbSPm=p3;AWEMnbSPm=p4;awemnbsPM=p5;awemnbsPM=awemnbsPM/10;AwemnbsPM=p6;aWemnbsPM=p7;awEmnbsPM=p8;AwemnbsPM=AwemnbsPM/10;aWemnbsPM=aWemnbsPM/10;awEmnbsPM=awEmnbsPM/10;aweMnbsPM=p9;AWemnbsPM=p10;aWEmnbsPM=p11;awEMnbsPM=p12;};
</SCRIPT>
<font face="Tahoma"><a target="_blank" href="http://comp-wizards.blogspot.in/"><span style="font-size: 18pt; text-decoration: none">Computer wizards</span></a></font>
                           

Random bgcolor change

<script>
// Select fade-effect below:
// Set 1 if the background may fade from dark to medium
// Set 2 if the background may fade from light to medium
// Set 3 if the background may fade from very dark to very light light
// Set 4 if the background may fade from light to very light
// Set 5 if the background may fade from dark to very dark
var fade_effect=3
// What type of gradient should be applied Internet Explorer 5x or higher?
// Set "none" or "horizontal" or "vertical"
var gradient_effect="horizontal"
// Speed higher=slower
var speed=60
///////////////////////////////////////////////////////////////////////////
// CONFIGURATION ENDS HERE
///////////////////////////////////////////////////////////////////////////
var browserinfos=navigator.userAgent
var ie4=document.all&&!document.getElementById
var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)
var ns4=document.layers
var ns6=document.getElementById&&!document.all
var opera=browserinfos.match(/Opera/) 
var browserok=ie4||ie5||ns4||ns6||opera
if (fade_effect==1) {
    var darkmax=1
    var lightmax=127
}
if (fade_effect==2) {
    var darkmax=127
    var lightmax=254
}
if (fade_effect==3) {
    var darkmax=1
    var lightmax=254
}
if (fade_effect==4) {
    var darkmax=190
    var lightmax=254
}
if (fade_effect==5) {
    var darkmax=1
    var lightmax=80
}
var hexc = new Array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F')
var newred
var newgreen
var newblue
var oldred
var oldgreen
var oldblue
var redcol_1
var redcol_2
var greencol_1
var greencol_2
var bluecol_1
var bluecol_2
var oldcolor
var newcolor
var firsttime=true
  
var stepred=1
var stepgreen=1
var stepblue=1
function setrandomcolor() {
    var range=(lightmax-darkmax)
    if (firsttime) {
        newred=Math.ceil(range*Math.random())+darkmax
        newgreen=Math.ceil(range*Math.random())+darkmax
        newblue=Math.ceil(range*Math.random())+darkmax
        firsttime=false
    }
     
    oldred=Math.ceil(range*Math.random())+darkmax
    oldgreen=Math.ceil(range*Math.random())+darkmax
    oldblue=Math.ceil(range*Math.random())+darkmax
     
    stepred=newred-oldred
    if (oldred>newred) {stepred=1}
    else if (oldred<newred) {stepred=-1}
    else {stepred=0}
     
    stepgreen=newgreen-oldgreen
    if (oldgreen>newgreen) {stepgreen=1}
    else if (oldgreen<newgreen) {stepgreen=-1}
    else {stepgreen=0}
     
    stepblue=newblue-oldblue
    if (oldblue>newblue) {stepblue=1}
    else if (oldblue<newblue) {stepblue=-1}
    else {stepblue=0}
    fadebg()
}
function fadebg() {
    if (newred==oldred) {stepred=0}
    if (newgreen==oldgreen) {stepgreen=0}
    if (newblue==oldblue) {stepblue=0}
    newred+=stepred
    newgreen+=stepgreen
    newblue+=stepblue
     
    if (stepred!=0 || stepgreen!=0 || stepblue!=0) {
        redcol_1 = hexc[Math.floor(newred/16)];
        redcol_2 = hexc[newred%16];
        greencol_1 = hexc[Math.floor(newgreen/16)];
        greencol_2 = hexc[newgreen%16];
        bluecol_1 = hexc[Math.floor(newblue/16)];
        bluecol_2 = hexc[newblue%16];
        newcolor="#"+redcol_1+redcol_2+greencol_1+greencol_2+bluecol_1+bluecol_2
        if (ie5 && gradient_effect!="none") {
            if (gradient_effect=="horizontal") {gradient_effect=1}
            if (gradient_effect=="vertical") {gradient_effect=0}
            greencol_1 = hexc[Math.floor(newred/16)];
            greencol_2 = hexc[newred%16];
            bluecol_1 = hexc[Math.floor(newgreen/16)];
            bluecol_2 = hexc[newgreen%16];
            redcol_1 = hexc[Math.floor(newblue/16)];
            redcol_2 = hexc[newblue%16];
            var newcolorCompl="#"+redcol_1+redcol_2+greencol_1+greencol_2+bluecol_1+bluecol_2
            document.body.style.filter=
"progid:DXImageTransform.Microsoft.Gradient(startColorstr="+newcolorCompl+", endColorstr="+newcolor+" GradientType="+gradient_effect+")"
        }
        else {
            document.bgColor=newcolor
        }
        var timer=setTimeout("fadebg()",speed);
    }
    else {
        clearTimeout(timer)
        newred=oldred
        newgreen=oldgreen
        newblue=oldblue
        oldcolor=newcolor
        setrandomcolor()
    }
}
if (browserok) {
    window.onload=setrandomcolor
}
</script>
<html>
<head>
<title>background</title>
<script language="javascript">
function add()
{
document.g.r1.value
=parseInt(document.g.n1.value)
+parseInt(document.g.n2.value)
}
function sub()
{
document.g.r1.value
=parseInt(document.g.n1.value)
-parseInt(document.g.n2.value)
}
function div()
{
document.g.r1.value
=parseInt(document.g.n1.value)
/parseInt(document.g.n2.value)
}
function mul()
{
document.g.r1.value
=parseInt(document.g.n1.value)
*parseInt(document.g.n2.value)
}
function mod()
{
document.g.r1.value
=parseInt(document.g.n1.value)
%parseInt(document.g.n2.value)
}

                                     

Digital clock of live cities

<html>
<head>
<title>DIGITAL CLOCK WITH LIVE CITY</title>
</head>
<body>
<table border="0" width="200" cellspacing="0" cellpadding="3">
<form name="where">
  <tr>
    <td width="100%">
<select name="city" size="1" onchange="updateclock(this);">
<option value="" selected>Local time</option>
<option value="0">London GMT</option>
<option value="1">Rome</option>
<option value="7">Bangkok</option>
<option value="8">Hong Kong</option>
<option value="9">Tokyo</option>
<option value="10">Sydney</option>
<option value="12">Fiji</option>
<option value="-10">Hawaii</option>
<option value="-8">San Francisco</option>
<option value="-5">New York</option>
<option value="-3">Buenos Aires</option>
</select>
</td>
  </tr>
  <tr>
    <td width="100%">
<script language="JavaScript">
if (document.all||document.getElementById)
document.write('<span id="worldclock"style="font:bold 26px Arial;"></span><br>')
zone=0;
isitlocal=true;
ampm='';
function updateclock(z)
{
zone=z.options[z.selectedIndex].value;
isitlocal=(z.options[0].selected)?true:false;
}
function WorldClock(){
now=new Date();
ofst=now.getTimezoneOffset()/60;
secs=now.getSeconds();
sec=-1.57+Math.PI*secs/30;
mins=now.getMinutes();
min=-1.57+Math.PI*mins/30;
hr=(isitlocal)?now.getHours():(now.getHours() + parseInt(ofst)) + parseInt(zone);
hrs=-1.575+Math.PI*hr/6+Math.PI*parseInt(now.getMinutes())/360;
if (hr < 0) hr+=24;
if (hr > 23) hr-=24;
ampm = (hr > 11)?"PM":"AM";
statusampm = ampm.toLowerCase();
hr2 = hr;
if (hr2 == 0) hr2=12;
(hr2 < 13)?hr2:hr2 %= 12;
if (hr2<10) hr2="0"+hr2
var finaltime=hr2+':'+((mins < 10)?"0"+mins:mins)+':'+((secs < 10)?"0"+secs:secs)+' '+statusampm;
if (document.all)
worldclock.innerHTML=finaltime
else if (document.getElementById)
document.getElementById("worldclock").innerHTML=finaltime
else if (document.layers){
document.worldclockns.document.worldclockns2.document.write(finaltime)
document.worldclockns.document.worldclockns2.document.close()
}
setTimeout('WorldClock()',1000);
}
window.onload=WorldClock
//-->
</script>
<ilayer id="worldclockns" width=100% height=35><layer id="worldclockns2" width=100% height=35 left=0 top=0 style="font:bold 16px Arial;"></layer></ilayer>
<p>
</form>
  </tr>
</table>
</body>
</html>

                                 

Calculator

<CENTER>
<FORM name="Keypad" action="">
<TABLE>
<B>
<TABLE border=2 width=50 height=60 cellpadding=1 cellspacing=5>
<TR>
<TD colspan=3 align=middle>
<input name="ReadOut" type="Text" size=24 value="0" width=100%>
</TD>
<TD
</TD>
<TD>
<input name="btnClear" type="Button" value="  C  " onclick="Clear()">
</TD>
<TD><input name="btnClearEntry" type="Button" value="  CE " onclick="ClearEntry()">
</TD>
</TR>
<TR>
<TD>
<input name="btnSeven" type="Button" value="  7  " onclick="NumPressed(7)">
</TD>
<TD>
<input name="btnEight" type="Button" value="  8  " onclick="NumPressed(8)">
</TD>
<TD>
<input name="btnNine" type="Button" value="  9  " onclick="NumPressed(9)">
</TD>
<TD>
</TD>
<TD>
<input name="btnNeg" type="Button" value=" +/- " onclick="Neg()">
</TD>
<TD>
<input name="btnPercent" type="Button" value="  % " onclick="Percent()">
</TD>
</TR>
<TR>
<TD>
<input name="btnFour" type="Button" value="  4  " onclick="NumPressed(4)">
</TD>
<TD>
<input name="btnFive" type="Button" value="  5  " onclick="NumPressed(5)">
</TD>
<TD>
<input name="btnSix" type="Button" value="  6  " onclick="NumPressed(6)">
</TD>
<TD>
</TD>
<TD align=middle><input name="btnPlus" type="Button" value="  +  " onclick="Operation('+')">
</TD>
<TD align=middle><input name="btnMinus" type="Button" value="   -   " onclick="Operation('-')">
</TD>
</TR>
<TR>
<TD>
<input name="btnOne" type="Button" value="  1  " onclick="NumPressed(1)">
</TD>
<TD>
<input name="btnTwo" type="Button" value="  2  " onclick="NumPressed(2)">
</TD>
<TD>
<input name="btnThree" type="Button" value="  3  " onclick="NumPressed(3)">
</TD>
<TD>
</TD>
<TD align=middle><input name="btnMultiply" type="Button" value="  *  " onclick="Operation('*')">
</TD>
<TD align=middle><input name="btnDivide" type="Button" value="   /   " onclick="Operation('/')">
</TD>
</TR>
<TR>
<TD>
<input name="btnZero" type="Button" value="  0  " onclick="NumPressed(0)">
</TD>
<TD>
<input name="btnDecimal" type="Button" value="   .  " onclick="Decimal()">
</TD>
<TD colspan=3>
</TD>
<TD>
<input name="btnEquals" type="Button" value="  =  " onclick="Operation('=')">
</TD>
</TR>
</TABLE>
</TABLE>
</B>
</FORM>
</CENTER>
<font face="Verdana, Arial, Helvetica" size=2>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var FKeyPad = document.Keypad;
var Accumulate = 0;
var FlagNewNum = false;
var PendingOp = "";
function NumPressed (Num) {
if (FlagNewNum) {
FKeyPad.ReadOut.value  = Num;
FlagNewNum = false;
   }
else {
if (FKeyPad.ReadOut.value == "0")
FKeyPad.ReadOut.value = Num;
else
FKeyPad.ReadOut.value += Num;
   }
}
function Operation (Op) {
var Readout = FKeyPad.ReadOut.value;
if (FlagNewNum && PendingOp != "=");
else
{
FlagNewNum = true;
if ( '+' == PendingOp )
Accumulate += parseFloat(Readout);
else if ( '-' == PendingOp )
Accumulate -= parseFloat(Readout);
else if ( '/' == PendingOp )
Accumulate /= parseFloat(Readout);
else if ( '*' == PendingOp )
Accumulate *= parseFloat(Readout);
else
Accumulate = parseFloat(Readout);
FKeyPad.ReadOut.value = Accumulate;
PendingOp = Op;
   }
}
function Decimal () {
var curReadOut = FKeyPad.ReadOut.value;
if (FlagNewNum) {
curReadOut = "0.";
FlagNewNum = false;
   }
else
{
if (curReadOut.indexOf(".") == -1)
curReadOut += ".";
   }
FKeyPad.ReadOut.value = curReadOut;
}
function ClearEntry () {
FKeyPad.ReadOut.value = "0";
FlagNewNum = true;
}
function Clear () {
Accumulate = 0;
PendingOp = "";
ClearEntry();
}
function Neg () {
FKeyPad.ReadOut.value = parseFloat(FKeyPad.ReadOut.value) * -1;
}
function Percent () {
FKeyPad.ReadOut.value = (parseFloat(FKeyPad.ReadOut.value) / 100) * parseFloat(Accumulate);
}
// End -->
</SCRIPT>
 
 

Alert click messagebox

<form>
<input type="button" value="message" onClick="alert('YOUR MESSAGE GOES HERE'); return true">
form>
<font face="Tahoma"><a target="_blank" href="http://comp-wizards.blogspot.in/"><span style="font-size: 8pt; text-decoration: none">Ghanshyam chheta's JavaScript Free Codespan>a>font>


EaseUS Partition Master

Click to see larger images



As Partition Magic alternative, EaseUS Partition Master Home Edition is a ALL-IN-ONE partition solution and disk management freeware. It allows you to extend partition (especially for system drive), manage disk space easily, settle low disk space problem on MBR and GUID partition table (GPT) disk under Windows 2000/XP/Vista/Windows 7 (SP1 included) and Windows 8 32 bit and 64 bit system. Easeus Partition Master Home Edition is an all-in-one partition solution and disk management freeware. Three main features: Partition Manager, Partition Recovery Wizard and Disk & Partition Copy to solve all partition problems under hardware RAID, MBR & GPT disks, removable devices. The program allows you to drag and drop on the disk map to simplify your job. It doesn't require a reboot when extending NTFS partition to minimize computer downtime. New feature: Upgrade system disk to a bigger one with one-click.

What's new in this version:

Version 9.1.1 supports Windows 8.




Free download EaseUS Partition Master

Labels