Javascript Tutorials
1. Use WinSCP to transfer log files remotely using Javascript
By: Eskalin : 2012-10-24
Description: Normally winscp program is used to connect to a remote machine and transfer files. Recently I wanted to connect to my linux machine from a windows machine to download a file automatically everyday. The linux machine was generating daily log files and the name of the log file keeps changing as the current date. So i wrote this script to connect to that machine remotely and download the file every day by running the script in a scheduler.
2. Pause execution in JavaScript
By: Dave Reed : 2011-01-28
Description: This javascript pauses the execution for specifed numSeconds.
3. Verifying user input in JavaScript
By: Dave Reed : 2011-01-28
Description: This javascript library contains functions for verifying the contents of a text box. For each function the name of a text box is passed as input, along with any restrictions on the contents. If the contents of the box are not legal, a warning is displayed.
4. Javascript to display client date and time on webpage
By: [email protected] : 2009-12-26
Description: Use below code to display client date and time on web page.
5. Getting Browser's height and width using Javascript
By: Emiley J. : 2009-01-07
Description: Getting the Browser's height and width is quite useful in many circumstances. For example if you are using a google map in your site, you will have to set a height and width for the map object. But the problem is there are so many different types of browsers out there and you don't know which one the end user will be using. Another issue is the height and the width of different laptops and desktops available in the market.
6. Highlighting text on a page using CSS
By: Emiley J. : 2008-09-06
Description: With CSS you can highlight text on a page, making it look like you ran a yellow highlight marker over it. This is great for emphasizing important words or points.
7. Scrolling message on the status bar using Javascript
By: Guru Singh : 2008-09-05
Description: If you are looking for a simple java script to show a scrolling message on the status bar then you can use this script.
8. Diabling Right Click option in a browser using Javascript
By: Guru Singh : 2008-09-05
Description: There are two ways you can disable the 'Right Click' option on a browser's
9. Password protect a web page using Javascript
By: Guru Singh : 2008-09-05
Description: In the below code, Password is the password and protected.html is the name of the password-protected page. (Substitute your own password and URL when you use this script.) If visitors enter the correct password, they will forward to protected.html; if they enter an incorrect password, they'll hit the page called oops.html.
10. Using revealTrans to do page transitions in Javascript
By: Guru Singh : 2008-09-05
Description: Here are some page transitions to amaze
your visitors. In the code in this tutorial, the time it takes to transition is five seconds and the transition effect is #17. Below is a list of all available transition effects.