»
EnglishFrenchVietnamese

Print - Floating Message-Scroller - JavaScriptBank.com

Full version: jsB@nk » » Floating Message-Scroller
URL: https://www.javascriptbank.com/floating-message-scroller.html

Floating Message-Scroller © JavaScriptBank.comThis floating message-scroller will stay on the righthand bottom-corner of your webpage even if your visitor scrolls down the page.

Full version: jsB@nk » » Floating Message-Scroller
URL: https://www.javascriptbank.com/floating-message-scroller.html



CSS
<STYLE>#watermark {PADDING-LEFT: 0px; POSITION: absolute; WIDTH: 120px}</STYLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<SCRIPT language=JavaScript1.2><!--// Watermark script by Paul Anderson, CNET Builder.com. All rights reserved.markW = 130;       // pixels widemarkH = 90;       // pixels highmarkX = 99;      // percent rightmarkY = 99;      // percent downmarkRefresh = 50; // milliseconds// set common object referenceif (!document.all) document.all = document;if (!document.all.waterMark.style) document.all.waterMark.style = document.all.waterMark;wMark = document.all.waterMark.style;wMark.width = markW;wMark.height = markH;navDOM = window.innerHeight; // Nav DOM flag function setVals() { barW = 0; // scrollbar compensation for PC Nav barH = 0; if (navDOM) {  if (document.height > innerHeight) barW = 20;  if (document.width > innerWidth) barH = 20;  } else {  innerWidth = document.body.clientWidth;  innerHeight = document.body.clientHeight;  } posX = ((innerWidth - markW)-barW) * (markX/100); posY = ((innerHeight - markH)-barH) * (markY/100); }function wRefresh() { wMark.left = posX + (navDOM?pageXOffset:document.body.scrollLeft); wMark.top = posY + (navDOM?pageYOffset:document.body.scrollTop); }function markMe() { setVals(); window.onresize=setVals; markID = setInterval ("wRefresh()",markRefresh); }window.onload=markMe;//-->  </SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<IFRAME frameBorder=0 id=waterMark scrolling=no src="newscontent211.htm"></IFRAME><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


Files
http://javascriptbank.com/javascript/scroller/newscontent211.htm