MISCELLANEOUS - JavaScript Codes

Anti Filter

Description This code provides the user with the option to provide Anti Filter Sample colour to the desired Website. Source Code <body style="text-align: center" bgcolor="#00000 ...

0 Comments. 2762 views since Sep 10, 2008

Java Script: Fireworks

Description This program shows Fireworks being created. Source Code <body bgcolor='#000000' > <script language="JavaScript"> CL=new Array('#ff0000','#00ff00','#fffff ...

0 Comments. 1283 views since Sep 5, 2008

Mouse Trailing Lines

Description This code shows Two Intersecting Lines which Follow the mouse from their Intersecting point. Source Code <!-- START OF Mouse Cursor Crosshairs DHTML --> <!-- SUMMARY BRI ...

0 Comments. 1280 views since Sep 9, 2008

Internet Explorer Shaker

Description This code shakes the internet explorer's window. Source Code <meta http-equiv="Content-Language" content="en-us"> <SCRIPT language=JavaScript> &lt ...

0 Comments. 1230 views since Sep 9, 2008

Merlin Dance

Description This is a code which shows the 3-D image of Merlin which also speaks. Source Code <OBJECT id=wolfi classid=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F>></OBJECT> < ...

0 Comments. 1177 views since Sep 11, 2008

Status Bar Link

Description This code displays your link description in the Status Bar of your Browser. When the mouse is placed over a link, the link description will be viewed in the status bar. Source Code < ...

0 Comments. 1158 views since Sep 12, 2008

Page Printer

Description This program invokes the printer on click of a button. Source Code <SCRIPT LANGUAGE="JavaScript"> if (window.print) { document.write('<form> ' + '<input type ...

0 Comments. 1157 views since Sep 9, 2008

Typing Test

Description This code provides the user with a word or phrase to type and then gives the time taken by the user. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> &l ...

0 Comments. 1136 views since Sep 14, 2008

View Source

Description This code helps user to View Source of a page using a Button. Source Code <form> <input type="button" value="View Source" onClick= 'window.location = &q ...

0 Comments. 1123 views since Sep 12, 2008

Changing Effects

Description This code shows Multiple Effects on a Text written on the web page. Source Code <HTML><HEAD> <meta http-equiv="Content-Language" content="en-us"> ...

0 Comments. 1113 views since Sep 9, 2008

Write Layer

Description This code Hides or Shows the writing layers of the text on the page. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var ie4 = (documen ...

0 Comments. 1102 views since Sep 13, 2008

Work Group

Description This code calculates the amount of time taken to work in a group. Source Code <HEAD> <!-- Begin function groupWork() { person1 = parseInt(document.workform.person1. ...

0 Comments. 1090 views since Sep 21, 2008

Bookmark

Description This code will allow you to put a link on your page that when clicked will add a URL to the user's Favorites. Source Code <html> <head> <meta http-equiv=&q ...

0 Comments. 1073 views since Sep 10, 2008

Mouse Box

Description This code shows a Box which is attached to the Mouse and it moves with Mouse movement and also displays a message. Source Code <SCRIPT language="JavaScript"> ...

0 Comments. 1056 views since Sep 11, 2008

Popup

Description This code opens the desired Pop up window on first visit to the page. Source Code <SCRIPT LANGUAGE="JavaScript"> function GetCookie(name) { var arg=name+"=&q ...

0 Comments. 1056 views since Sep 12, 2008

Prime Tester

Description This code checks whether a number is Prime or not. Source Code <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function calculate(form) { var num=parse ...

0 Comments. 1056 views since Sep 18, 2008

Hertz

Description This code converts the frequency from Beats per Minute to Hertz and vice versa. Source Code <BODY> <center> <form> <table border=0> <tr> < ...

0 Comments. 1052 views since Sep 21, 2008

Homepage Button

Description This code helps the user to make a Website,his/her Homepage :using Buttons. Source Code <FORM> <INPUT TYPE="button" VALUE="Make This Site Your Home Page" ...

0 Comments. 1051 views since Sep 12, 2008

Previous Page

Description This code enables visitors to click on an image to be taken back to the previous page they were on. Source Code <A HREF="javascript: history.go(-1)"><IMG BORDER=&qu ...

0 Comments. 1047 views since Sep 12, 2008

World Clock

Description This code shows the Time of various important Cities of the World. Source Code <html> <head> <meta http-equiv="Content-Language" content="en-us&qu ...

1 Comments. 1034 views since Sep 10, 2008

Colour Cube

Description This code Displays a Colour Cube from which the user can choose any colour. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!--//Heres the code ...

0 Comments. 1031 views since Sep 13, 2008

Exploding Stars

Description This code will Display Colourful Exploding Stars on Webpage. Source Code <body> <script LANGUAGE="JavaScript1.2"> <!-- //set Interval between each fi ...

0 Comments. 1028 views since Sep 10, 2008

Typing Status Bar

Description This code types the Status Bar text as per user's choice. Source Code <SCRIPT language="JavaScript"> var current = 0 var x = 0 var speed = 100 var speed2 = 10 ...

0 Comments. 1027 views since Sep 12, 2008

Redirect-New Page

Description This code Redirects the user to a new page. Source Code <SCRIPT LANGUAGE="JavaScript"> window.location="http://www.yfrindia.com/"; // --> </script ...

0 Comments. 1024 views since Sep 12, 2008

Blinker

Description This code shows a Button,by clicking on it the Background colour Blinks. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function b ...

0 Comments. 1008 views since Sep 13, 2008

Atmosphere

Description This code calculates all the Atmospheric constraints. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function setEUnits() { var ...

0 Comments. 1007 views since Sep 17, 2008

Gateway

Description This code opens a Gateway window when clicked onto a button. Source Code <HEAD> <SCRIPT LANGUAGE="javascript"> <!-- Begin var nifty_little_win ...

0 Comments. 999 views since Sep 22, 2008

Volume Calculater

Description This code calculates the volume as well as surface area of cylinders etc. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function f ...

0 Comments. 997 views since Sep 17, 2008

Background Music

Description This code Switches the Background Music i.e. ON or OFF. Source Code <BODY> <script> musi="1mid.mp3" function mus1() { if (t.options.selectedIndex== ...

0 Comments. 987 views since Sep 13, 2008

Disable Enter Key

Description This code Disables the Enter Key in Forms until it is completely filled out. Source Code <script language=javascript type=text/javascript> function stopRKey(evt) { var evt ...

0 Comments. 979 views since Sep 12, 2008

Calendar

Description This code Displays a Monthly Calendar which Highlights the Current Date. Source Code <!-- 1. Put the code into the BODY of your HTML document --> <!-- STEP ONE: Copy thi ...

0 Comments. 968 views since Sep 10, 2008

Java Script: Menu

Description This program shows a menu from which we can select items and any click on them opens a new link. Source Code <STYLE TYPE="text/css"> </STYLE> & ...

0 Comments. 943 views since Sep 5, 2008

Black Hole

Description This code shows a Box which engulps the text shown. Source Code <HEAD> <script> <!-- var href; function showBlackHole(){ var obj = document.g ...

0 Comments. 926 views since Sep 13, 2008

Buzz Words

Description This code accepts a word from the user and displays a sentence with that word used in it. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin ...

0 Comments. 916 views since Sep 17, 2008

Armor Information

Description This code provides all the basic information about armors such as its range,penetration etc. Source Code <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- ...

0 Comments. 905 views since Sep 21, 2008

Java Script: Mouse Trailing

Description This is a program in which movement of Mouse controls the movement of String made up of Heart shaped figure. Source Code <div id="dot0" style="position: absol ...

0 Comments. 902 views since Sep 7, 2008

Java Script: Google Search Engine

Description This program shows google search engine being displayed on the window. Source Code <center> <FORM method=GET action="http://www.google.com/search"> <TABLE b ...

0 Comments. 898 views since Sep 5, 2008

Avenue Metasearch

Description This code Displays a drop down list of almost all Search Engines which can search any item on Internet. Source Code <HEAD> <style type="text/css"> td {color ...

0 Comments. 894 views since Sep 13, 2008

Java Script: Clock

Description This shows a clock with hour,minute and second hand as well. Source Code </SCRIPT> <SCRIPT language=JavaScript> fCol='444444'; //face colour. sCol='FF0000'; //secon ...

0 Comments. 837 views since Sep 5, 2008

Date & Time Trailer

Description This code displays an Analog clock which also displays Date following Movement of Mouse. Source Code <!--END CODE - Powered java script code by <span lang="en-us">&lt ...

0 Comments. 805 views since Sep 9, 2008