Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

 

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

webmaster resources
website design

Javascript Codes

Javascript code is a scripting language designed for use within a web page and/or on a web server. It is used to create special effects within a web page.

Elements such as links, images and forms can all be manipulated using this powerful technology.

Unlike CGI scripts, javascript codes can be placed directly into your HTML code. It can also reside on your server and be called from a small code within your web page.

If you'd like to place your javascript code within a file on your server, you will need to open a plain text editor and place your javascript code within the editor. The javascript code file should then be saved with a .js extension.

In order to call your javascript code, you will need to link to the file. You can do so by placing a small javascript code within the HTML of your web page that looks something like this:

<SCRIPT language="Javascript" src="http://www.yoursite.com/yourfile.js">

This powerful scripting language can be used to create special effects within your web page, such as link effects, mouseovers, image roll overs, navigational systems and much more.

You can even use javascript codes to dynamically update your web site! Click here to learn how.

Although javascript codes can certainly help you spice up your web site, there are many scripts that your visitors may find irritating. Try to avoid scripts such as mouse trailers, mouseover sounds, mouseover pop up windows and mouseover redirects.

Carefully select scripts that will enhance your visitors experience and encourage them to return in the future.

If you're looking for some simple javascript codes to spice up your web site, you've come to the right place. You will find a variety of javascript code snippets below. Simply click on the links and copy and paste the codes into your web page according to the instructions.


Note: For additional codes, make sure you don't miss our Web Design Tips, HTML Tips and HTML Codes Chart sections.

Password Protect and Encrypt / Encode HTML Code Pages

Disable enter key within forms

Highlight an Image on Mouseover

Disappearing default form text

Open multiple windows with links

Make this site your home page button

Add to favorites button

Typing status bar text

Protect your web page content

Open a new window with a button

Open a new window with a link

First visit popup window


Close a window with a button

Close a window with a link

Open a window on page load

Reload a window with a button

Reload a window with a link

Reload/Redirect to another page
Redirect to another page

Status bar link description

Back to previous page with a button

Back to previous page with a link

Back to previous page with an image

Button email prompt

View source code with a button

View source code with a link

On mouse over alert box

Date 1 Internet Explorer

Date 2 Internet Explorer

Date 3 Internet Explorer

Drop Down Box with automatic redirect

Drop Down Box with automatic redirect 2

Prevent your site from being framed

Preloading images

Status Bar Clock


The above JavaScript codes are excerpts from Web Design Mastery

Web Design Mastery is a complete step by step guide to designing a professional web site. Not only will you learn how to design a professional web site, but you'll also learn in the easiest possible fashion -- with hundreds of copy & paste codes...

If you like these codes, you'll love Web Design Mastery. Get these codes and many more.

 More


Web Design Information:

Web Development
HTML Codes
HTML Tips
Web Design Tips
Javascript Snippets
216 Safe Colors
Symbols

Web Design Articles:

Selecting a Quality Domain Name
Selecting the Best Web Design Language for Your Project
Bring Your Web Site to Life With PHP
The Birth of a Professional Web Site (10 part series)
Increase Your Traffic by Recovering Your Lost Visitors
Using HTML Tables to Format Your Web Page
HTML Forms -- Back to the Basics and Beyond Part One - Basic Forms Tutorial
HTML Forms -- Back to the Basics and Beyond Part Two -  Advanced Forms
HTML Forms -- Back to the Basics and Beyond Part Three - Form Tips & Tricks
35 Deadly Web Site Sins that will Kill Your Business!
Selecting A Quality Web Host
Mini-Sites -- Highly Targeted Sales Generators
Spice Up Your Web Site with JavaScript
Use CGI to Automate Your Web Site
Give Your Graphics A Professional Look without the Price
Use JavaScript to Dynamically Update Your Website
10 Website Essentials to Increase Your Sales
Is Your Domain Name A Trademark Infringement?
Steps to Optimizing Your HTML Codes
The Secrets to Building a Successful Website

Web Development Tutorials:

Creating an Ebook
Internet Marketing Strategies
Internet Marketing Tools
Developing an Internet Business
Developing a Professional Web Site
Free Content
Webpage Optimization
Hosting Your Site
Promotion
Internet Marketing
Web Site Building
Listing Your Site
Internet Advertising
Developing Traffic
Web Development Strategies


If you've found these javascript codes helpful and would like to submit your own javascript codes to be included on our site, simply send us an email with a complete description of what the javascript code does, the actual code and the name and web address you would like to include. If selected, your javascript code will be placed on our site, as well as your credits and a link to your web site.


Back