Using revealTrans to do page transitions in Javascript

Here are some page transitions to amaze your visitors. All you have to do is add a new meta tag to the <HEAD> section of your page: ...

Scrolling message on the status bar using Javascript

If you are looking for a simple java script to show a scrolling message on the status bar then you can use this script. TWO STEPS TO INS...

Getting Browser's height and width using Javascript

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, y...

Disabling Right Click option in a browser using Javascript

There are two ways you can disable the 'Right Click' option on a browser's window. These get placed in the <HEAD> of your...

Program to read a file line by line in Java

This sample Java program demonstrates how to read a file in Java Line by Line. For this the following two classes DataInputStream and Buffe...

Program to execute system commands in a Java

Most often in your Java programs you will find a need to execute system DOS commands. You can execute any system commands that are OS speci...

Short-Circuit Logical Operator In Java

Java provides two interesting Boolean operators not found in most other computer languages. These are secondary versions of the Boolean AND...

How to get List of stored procedures in SQL Server

This post is about sp_stored_procedures which is used to get a list of stored procedures in a SQL Server database. The simplest way to us...