Welcome to W3Courses
 Like Us on Facebook

Display

Display Current Date Automatically on your Website using JavaScript

The following code displays the current date with month and year in the following format:

September 20, 2007

<script>
<!-- //Hide From Old Browsers

/*
   Do Not Remove the Following Line
   For more scripts visit http://www.w3courses.com
*/

Share

Display a Default Form Automatically after Starting up Access 2003 Database

The following steps will setup a form to be displayed automatically when the Access database Starts up.

1. Click Tools and then click Startup.
2. In the Display Form/Page box, click a form.
3. Click Ok.

Share

How to Display a Webpage in the PopUp Window after Clicking from a Link using JavaScript

The following code will add a link to your webpage and when clicked on the link, the hyperlinked webpage will open in a popup window

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=600,left = 262,top = 84');");
}

Share

Automatically Display the Current or Today's Date with JavaScript

Add the following code to your html page where you want today's date to be displayed automatically

<script>
<!-- //Hide From Old Browsers

/*
   Do Not Remove the Following Line
   For more scripts visit http://www.w3courses.com
*/

Share