Category Archives: Javascript

Determine your fate

<html> <head> <title>MAGIC 8 BALL</title> <script language=”javascript”> var ques= prompt(‘Enter your yes/no question, so we can determine you fate’, ‘ ‘); if ( (ques==’ ‘) || (ques==null) ) { ques=”None”; } </script></head> <body bgcolor=”#c0c0c0″ text=”black” link=”fuschia” vlink=”red”> <br><br><center><h1>Magic 8 Ball</h1><br><br><br><br> …

Read more »

Improve mathematical skill

<html> <body onclick=”MouseClick()” bgColor=Aqua text=black background=”" > <div id=’TableDiv’ class=Section1> <p class=MsoNormal style=”BACKGROUND-IMAGE: url(”)”> <TABLE cellSpacing=1 cellPadding=1 width=”100%” height=”5%” id=ResultsTable style=”LEFT: 5px; WIDTH: 100%; FONT-FAMILY: sans-serif; POSITION: absolute; TOP: 486px” bgColor=cornflowerblue> <TR> <TD><INPUT id=HelpID onclick=’ShowHelp()’ type=button value=’?’ name=HelpBtn size=16 ></TD> …

Read more »

Vanishing NO

Just copy the codes and paste on notepad…. Save it as x.html…Open the file and  view in mozilla or Internet Explorer <html><head> <SCRIPT LANGUAGE=”JavaScript”> var flag = 1; function t() { if(flag == 1) { N.style.top = “75px”; N.style.left = …

Read more »

Shake you browser

Just copy the codes and paste on notepad….Save it as x.html…Open the file and view in mozilla or Internet Explorer <html> <head> <SCRIPT LANGUAGE=”JavaScript”> <!– Begin function shake(n) { if (parent.moveBy) { for (i = 10; i > 0; i–) …

Read more »

Learning Javascript

Learning Javascript was the simplest of the tasks I ever performed…. It just took a matter of minutes to take in the basics….After the basics I went after some javascript codes and things like that…… NB: Some codes are given. …

Read more »