Przesuwający się napis w JS 0
var, netscape, się, przesuwający, napis, imgwidth, xdistance, ydistance, view, imgheight, =, 0
var, +, netscape, się, w, js, przesuwający, napis, imgwidth, xdistance, ydistance, view, imgheight, class=quotjsbrandquot, napis
ltdiv, id=quotjsbrandquot, colorred, style=quotpositionabsolute, top0, visibilityhidequot, zindex, 108
var, align=quotrightquotgtltbgtltigtnapisltbgtltigtltdivgt
ltscript, language=quotjavascript12quotgt
lt, 15
var,
var, pagewidth, xoffset, 5
var, yoffset, 50
var,
nbspvar, pageheight, 1, left, documentlayers, truefalse
var, explorer, documentall, truefalse
if, 31
var, explorer
nbspif, documentjsbrandnbsp
if, explorer
nbspvar, documentalljsbrandnbsp
function, watermark,
nbspif, 10
gt
ltscriptgt
nbsp, quotquotnbspnbspnbspnbsp
nbspnbspnbspnbspnbspnbspnbsp
nbspnbspnbspnbspnbspnbspnbsp
setintervalquotwatermarkquot, =pagewidth+xoffsetleft
nbspviewstyledisplay,
nbsppageheight, windowinnerheight
nbsppagewidth, windowinnerwidth
nbspxoffset, windowpagexoffset
nbspyoffset, windowpageyoffset
nbspviewvisibility, quothidequot
nbspviewtop, pageheight+yoffsetup
nbspviewstyleleft, pageheight+yoffsetup
nbspviewleft, quotshowquotnbspnbsp
nbspif, documentbodyscrolltop
nbspviewstyletop, 1
nbspviewstyledisplay, pagewidth+xoffsetleft
nbspviewvisibility=, documentbodyscrollleft
nbspyoffset, documentbodyclientwidth
nbspxoffset, documentbodyclientheight
nbsppagewidth, quotnonequot
nbsppageheight, navigatorappversionindexofquotmacquot, ==, up,
Czwartek 03 Kwiecień 2025r.
Godz 00:00:00
Postów: 251
Przesuwający się napis w JS
Napis
<DIV CLASS="jsbrand" ID="jsbrand" STYLE="position:absolute; color:red; top:0; visibility:hide;" ZINDEX: 1; ALIGN="right"><B><I>Napis</B></I></DIV>
<SCRIPT LANGUAGE="Javascript1.2">
<!--
var xdistance = 0;
var ydistance = 15;
var imgwidth = 108;
var imgheight = 31;
var xoffset = 5;
var yoffset = 50;
var pageheight = 0;
var pagewidth = 0;
var left = imgwidth + xdistance + 0;
var up = imgheight + ydistance + 0;
var netscape = (document.layers)? true:false
var explorer = (document.all)? true:false
if (netscape)
{ var view = document.jsbrand; }
if (explorer)
{ var view = document.all.jsbrand; }
function watermark()
{ if (netscape)
{ pageheight = window.innerHeight
pagewidth = window.innerWidth
xoffset = window.pageXOffset
yoffset = window.pageYOffset
view.visibility = "hide"
view.top = (pageheight+yoffset-up)
view.left = (pagewidth+xoffset-left)
view.visibility= "show" }
if (explorer)
{ if (navigator.appVersion.indexOf("Mac") == -1)
{ view.style.display = "none";
pageheight = document.body.clientHeight;
pagewidth = document.body.clientWidth;
xoffset = document.body.scrollLeft;
yoffset = document.body.scrollTop;
view.style.top = (pageheight+yoffset-up);
view.style.left =(pagewidth+xoffset-left);
view.style.display = ""; }
}
}
setInterval("watermark()", 10);
//-->
</SCRIPT>
Darmowy hosting zapewnia PRV.PL