webmaster

You are browsing the webmaster tag archive.

Make this page your start page code

Want an option for visitors to make your page their start page?
Place this code where you would like the link to appear on your site and change yourdomain to your domain name. Only works with Internet Explorer browser.

<!– Start Make Homepage Code –>
<!–[if IE]>
<a HREF onClick=”this.style.behavior=’url(#default#homepage)’;this.setHomePage(’http://www.yourdomain.com’);”>Click here to make this site your start page!</a></font>
<![endif]–>
<!– End Make Homepage Code –>

Graphic Hovering Effect On Links

When you mouse over links in our forums you will see a graphical hovering effect. Here is the code to get this same results on your website.
Code:

a:hover, a:active { background: url(http://www.yourdomain.com/images/yourgraphic.gif); }

You must replace yourdomain with your own website address.
You must have a graphic to use for the hovering effect and change the path to [...]

No Right Click Without A Warning

Don’t want visitors to be able to right click on your page yet you don’t like giving them a popup warning either?
Paste this code into the head of your webpage:

<script language=JavaScript>
<!–

//Disable right click script III- By Renigade ( \n
<!–
var prefix = ‘&#109;a’ + ‘i&#108;’ + ‘&#116;o’;
var path = ‘hr’ + ‘ef’ + ‘=’;
var [...]

No Right Clicking With Warning

Don’t want people to be able to right click on your page and want to warn them so? Paste this code into the head of your page.
Place this into the head of your page:

<script language=”JavaScript”> <!–

// No rightclick script v.2.5

// (c) 1998 barts1000

//  \n
<!–
var prefix = ‘&#109;a’ + ‘i&#108;’ + ‘&#116;o’;
var path = ‘hr’ + [...]

Go Back

Place this code on a webpage and when someone clicks it they will be returned to the page they were at before this page.

Code:
<a href=”javascript: history.back(-2)”>Back</a>

Redirect Old Domain To New Domain & Other Tricks

The best way to redirect an old web site to the new web site and keep the same search engine rankings is to use the permanent 301 redirect by creating an .htaccess file and adding some snips of code.
When a visitor/search engine requests a web page, your web server checks for a .htaccess file. Using [...]

Prevent Direct Linking

Want to prevent direct linking to your files? Sick of people linking to files that you feel should only be accessed from your website and not their’s? Read on…
Open your notepad.
Insert the follow code as it is displayed and change “mydomain.com” to your own domain name:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
RewriteCond [...]

Blinking Text - Javascript

Make your text blink with this script.

Copy this code into the HEAD of your HTML document

Code:
<SCRIPT LANGUAGE=”JavaScript”>

window.onerror = null;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var NS4 = (bName == “Netscape” && bVer >= 4);
var IE4 = (bName == “Microsoft Internet Explorer”
&& bVer >= 4);
var NS3 = (bName == [...]

Redirect Url - JavaScript

Occasionally, you may wish to have a redirect page that pauses for a few seconds before sending the visitor off to the destination. For example, there may be important text on the redirect page you wish the visitor to get a chance to read, or a banner ad to see before proceeding. This redirect script [...]

Close Window Scripts

Add any of these cool scripts to your pop up pages for the visitor to close them. Several to choose from:
1. Closing a Regular Window from a Link Click

Code:
<a href=”javascript:window.close()”>Close</a>

2. Closing a Regular Window from an Image Click

Code:
<a href=”javascript:window.close()”>
<img border=”0″ src=”closingwindows.gif” width=”95″ height=”46″>
</a>

3. Closing a Regular Window from a Button Click

Code:
<form>
<input type=”button” [...]

m121ban2





mp

dotme NEW .ME There’s a story inside each one of us, waiting to be told. Tell yours to the world with .ME -- the Top Level Domain that’s all about you!

register domain names Domain Sales

.com $8.00

.info $1.99

.net $7.50