A complete HTML file

Here is how a sample HTML file will look using this javascript. If you put the javascript in a different spot, you'll get strange results!

See what it does       Grab the source

See more javascripts

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>

<TITLE> your page title </TITLE>

</HEAD>



<BODY BACKGROUND="bg8.jpg" TEXT="000000" LINK="0000FF" VLINK="CC3300" ALINK="CC0000">


<SCRIPT>
<!-- start hiding
// Author: Nicolas @ http://www.javascript-page.com

// replace membername with your GeoCities member name
var membername = "membername"

// if the page is your index page, you can leave subpage.html blank (but keep the quote marks)
// otherwise put the path and page name like "pics/thumbs.html"
var subpage = "subpage.html"

var gc = "http://www.geocities.com/~"
var sl = "/"
var url = document.location.href

if (url.indexOf("~") == -1)
{
document.location = gc + membername + sl + subpage
}
// stop hiding -->
</SCRIPT>


Your page content--such as text and graphics--goes here!



</BODY>
</HTML>





Copyright ©1997-2001  Charlene C. Schaar
All rights reserved.

Hosted by www.Geocities.ws

1