Oz Web Hub : the spot for the web design beginner

Home > Java scripts > Web resources

Common javascripts

Mask your email address

Place in Body where you want your email address

Change yahoo.com and dave to your own email address.

Back to Javascripts index

No right click

This javascript stops visitors from copying your site.

Copy and paste after your HEAD tags in your HTML

User name and password

Place in HEAD tags


Change URL, password and username to your choice.

Place in BODY of page

<b>Login Area</b>

<i><b>UserID:</b></i><form name="login"><input

name="id" type="text">

<i><b>Password:</b></i><input name="pass"

type="password">

<input type="button" value="Login"

onClick="pasuser(this.form)"><br><input

type="Reset"></form>

Back to Javascripts index

Pop up window javascript

First make a page with the pop-up window code in it and upload to server.

Copy this code into the HEAD of your HTML document

Now Paste this onLoad event handler into the BODY tag

<BODY onLoad="javascript:popUp('http://www.yoursite.html')">

If you already have something like a bgcolor in your body code, place this above that.

You can also use the pop up window generator

Stop pop ups

Back to Javascripts index

 

straight to the top

© Jenny Campbell