<!---------------Cut------------->
<HTML>
<HEAD>
<TITLE>Watermark Script</TITLE>
<SCRIPT LANGUAGE="JavaScript1.2">
// Script Editor: Howard Chen
// Browser Compatible for this script: Netscape 4.0 or Higher
// Get more JavaScripts at http://www.geocities.com/SiliconValley/Network/7432/
// Bug report to hchen007@geocities.com
// This script is free as long as you keep its credits
var n = (document.layers) ? 1:0
function init() {
// initialize objects
mark = new dynLayer("watermark")
setInterval("wtrmark()",200)
}
//=======================================================
function dynLayer(id,nestref,drag) {
if (n) {
this.css = document.layers[id]
this.ref = document.layers[id].document
this.x = this.css.left
this.y = this.css.top
}
this.obj = id + "Object"
eval(this.obj + "=this")
this.moveBy = dynLayerMoveBy
this.moveTo = dynLayerMoveTo
}
//=======================================================
function dynLayerMoveBy(x,y) {
this.x += x
this.css.left = this.x
this.y += y
this.css.top = this.y
}
function dynLayerMoveTo(x,y) {
this.x = x
this.css.left = this.x
this.y = y
this.css.top = this.y
}
function wtrmark()
{
windowWidth = window.innerWidth-17
windowHeight = window.innerHeight-17
mark.moveTo(windowWidth-150+window.pageXOffset,window.pageYOffset)
/* The 150 is the width of the image, remanber to change it.
}
</SCRIPT>
</HEAD>
<BODY onLoad="init()">
<DIV id="watermark" STYLE="position:absolute;top:200;left:320;width:150;height:56;clip:rect(0,150,56,0);">
<!-- Adjust the width and height to fit the image in, remanber to change the clip:rect and
the ones in wtrmark() too. -->
<a href="WtrSource.htm"><IMG SRC="WtrMark.gif" HEIGHT=56 BORDER=0 WIDTH=150></a>
<!-- Put in picture and links as normal -->
</DIV>
</BODY>
</HTML>
<!--------------End-------------->
IMPORTANT: The scripts provided in this page are
free as long as you keep the credits in the code. E-mail
me or use Script Rebuild Service for additional help about Cut N Paste or to ask
for a script that is just for you.Post Your Script Home