| 1. |
Calendar.
Note(Click on me)

This Script generates a Calendar for a chosen month and year.
The selected date together with month and year can be passed on to the calling input text box or can be customised such that
it can be received for any other use.
Date Uploaded:01-04-2002.
Compatibility: Works well on IE5+ and Netscape6+. Doesnot work on Netscape4.
Code: To download the code Click here.
Click here to see it in use.
|
| 2. |
Advanced Menu.
Note(Click on me)

Multilevel drop down menu which you can use for your sites with absolutely no technical knowledge.
Date Uploaded:05-29-2002.
Compatibility: Works well on IE5 and Netscape6x Browsers.
Click Here To download the code.
Usage: Click Here To read the instructions on how to use the script.
Click here to see it in use.
|
| 3. |
Autofilling the dropdown box.
Note(Click on me)

This Script fills the textbox with one of the entries in the dropdown select box by just entering first few characters of the word.
Compatibility: Works well on IE5+.Does not work on Netscape.
To download the Code Click here.
Click here to see it in use.
|
| 4. |
Client side sorting of a table.
Note(Click on me)

This Script is used to sort a table on the client side.
Date Uploaded:01-29-2002.
Compatibility: Works well on IE5 and Netscape6x Browsers.
Click Here To download the code.
Usage: Download the zip file by clicking the above link and use the html file in it.
Click here to see it in use.
|
| 5. |
Font dialog box.
Note(Click on me)

Allow your users to select the font style for a particular text on your site with this user friendly font dialog box. You can also use the script to add spice to your application wherever you find it useful
Date Uploaded:03-04-2002.
Compatibility: Works well on IE5 and Netscape6x Browsers.
Click Here To download the code.
Usage: Download the zip file by clicking the above link and use the html file in it.
Click here to see it in use.
|
| 6. |
Disable Right Click.
Note(Click on me)

This Script disables the use of right mouse click so that the user cannot copy your images.
Date Uploaded:01-04-2002.
Compatibility: Works well on IE and Netscape4+ Browsers. Doesnot work on Netscape6+.
Code:
Put the above code inside the head tag of your html.
Code in Use: Right Click on any portion of this page.
|
| 7. |
Open a new window occupying full width and height of the screen.
Note(Click on me)

This Script Opens a new window occupying full width and height of the users screen.
Date Uploaded:01-04-2002.
Compatibility: Works well on IE5 and Netscape.
Code:
< script language="javascript1.2">
function newwindowopen()
{
window.open("Name of the file you have to open","newwindow","width=" + screen.width + ",height="
+ screen.height + ",screenx=0,screeny=0,left=0,top=0,scrollbars,toolbar=yes,location=yes, menubar=yes,resizable=yes,");
}
Usage: Call the above function from any link on your page from where you want to open a new window.
Code in Use: Click here.
|
| 8. |
Good old scrolling text on the status bar.
Note(Click on me)

This Script displays a scrolling text on the browsers status bar.
Date Uploaded:01-04-2002.
Compatibility: Works well on IE5 and Netscape.
Code:
// text to scroll
scrolltext = "Welcome to My Javascript page";
// display time for StatusMsg()-function
delayStatusMsg = 1000 * 3;
st_len = 125 + scrolltext.length; // 125 spaces are appropriate as separator
outtext = "";
while (outtext.length < 125) {
outtext += " ";
}
outtext += scrolltext;
function stScroll () {
outtext = outtext.substring(1, st_len) + outtext.substring(0, 1);
self.status = outtext;
clearTimeout(timer_id);
timer_id = setTimeout("stScroll()", 100); // 1/10-second delay
}
// additional functions
// common onMouseOver-event handler
function StatusMsg (aMsg) {
clearTimeout(timer_id);
self.status = aMsg;
timer_id = setTimeout("stScroll()", delayStatusMsg);
}
// this will stop the scroller
function stopScroll () {
clearTimeout(timer_id);
self.status = "";
}
// this will restart the scroller
function restartScroll () {
clearTimeout(timer_id);
self.status = "";
timer_id = setTimeout("stScroll()", 100);
}
// this will invoke scrolling after 5 secs
timer_id = setTimeout("stScroll()", 5000);
Usage: put the above code in the head section of your html and call the function 'StatusMsg()' on onload in your body tag.
Code in Use: See the status bar.
|
| |