"Allan Vebel" <allan@vebel.dk> wrote in message
> Det er bare dette du skal rette til så det passer til dit eget formål.
> Husk at det skal stå på én lang linie:
>
> document.write('<script>\n var advertiser =
\'DanskTipstjeneste_468x248_ver01_070202_bb.gif\';\n var adsrc =
\'
http://netgravity.jubii.dk/creative/DanskTipstjeneste/feb_02/Lotto_BB_Bann
ere_03.gif\';\n var adlink = \'\' ;\n var feq = 1;\n var TimeBeforeShow =
700 ;\n var TimeDown = 3000 ;\n \n
> function GC(name){var
dc=document.cookie,start=dc.indexOf(name+"="),len=start+name.length+1;if
(!start&&name!=dc.substring(0,name.length)) return null;if (start==-1)return
null;var end=dc.indexOf(";",len);if (end==-1)end=dc.length;return
unescape(dc.substring(len,end))}\n function
> SC(name,value,expires){document.cookie=name+"="+escape(value) +
";expires=" + expires.toGMTString() }\n \n function BB_Start(){\n var xy
= getDim(KATEGORIER);xy.x++;xy.y++\n var kX = xy.x + 378, aY = xy.y -
BB_ADD.height, exp=new Date()\n onresize=BB_Resize\n BB_Clip =
BB_ADD.height\n
> var h = \'<img src=\' + BB_KNAP.src + \'
style="position:absolute;cursor:hand;\'\n h += \'width:\' + BB_KNAP.width
+ \'px;height:\' + BB_KNAP.height + \'px;\'\n h += \'left:\' + kX +
\'px;top:\' + xy.y + \'px" id="BB_A" onclick="BB_Click()">\'\n h += \'<img
src=\' + BB_ADD.src + \'
> style="position:absolute;\'\n h += \'width:\' + BB_ADD.width +
\'px;height:\' + BB_Clip + \'px;\'\n h += \'clip:rect(\' + BB_Clip + \'
auto auto auto);\'\n h += \'left:\' + xy.x + \'px;top:\' + aY + \'px"
id="BB_B">\'\n document.body.insertAdjacentHTML("beforeEnd",h)\n BB_AS =
BB_A.style;
> BB_BS = BB_B.style\n var C = GC(advertiser), showIT = false\n var
today = "" + exp.getDate() + exp.getMonth() + ",";\n if (C!=null){\n if
(C.indexOf(today)==-1){\n today = C + today\n showIT =
ue\n }\n } else { showIT = true }\n if (showIT){\n
> setTimeout("if(BB_Dir<0)BB_Click();",TimeBeforeShow)\n
exp.setDate(exp.getDate()+7)\n SC(advertiser,today,exp)\n }\n }
\n\nfunction BB_Click(){\n if (BB_Moving) return;\n BB_Dir *= -1\n BB_Steps
= 0\n if (window.BB_Int) clearInterval(BB_Int)\n BB_Moving = true\n BB_Int =
> setInterval("BB_Next()",50)\n}\n\nfunction BB_Next(){\n var add = BB_Dir *
(++BB_Steps<16 ? 16 : 8)\n BB_Clip -= add\n BB_BS.clip = \'rect(\' + BB_Clip
+ \' auto auto auto)\'\n BB_BS.posTop += add\n if (BB_Dir<0) BB_Adjust();\n
if (BB_Clip<=0 || BB_Clip>=BB_ADD.height){\n clearInterval(BB_Int);\n
> setTimeout("BB_Adjust()",50)\n if (BB_Dir>0) setTimeout("BB_Moving =
false;BB_Click()",TimeDown); else BB_Moving=false;\n }\n}\nfunction
BB_Adjust(){\n BB_AS.posTop = BB_B.offsetTop +
BB_B.offsetHeight\n}\nfunction BB_Resize(){\n var xy =
getDim(KATEGORIER);xy.x++;xy.y++\n BB_BS.posLeft = xy.x\n
> BB_AS.posLeft = xy.x + 378\n}\n\nfunction getDim(el){\n var rd =
{x:el.offsetLeft,y:el.offsetTop}, tEl=el.offsetParent\n while (tEl){\n
rd.x += tEl.offsetLeft\n rd.y += tEl.offsetTop\n tEl =
tEl.offsetParent\n }\n return rd\n}\n\nif (document.all){\n BB_ADD = new
Image; BB_ADD.src =
> adsrc\n BB_KNAP = new Image; BB_KNAP.src =
\'
http://i.jubii.dk/www/reklame.gif\'\n BB_Steps = 0\n BB_Moving = false\n
BB_Dir = -1\n onload = BB_Start;\n\n}\n \n</script>');
Det fatter jeg jo ikke en skid af... Det kan da ikke passe at det ikke må
opdeles på flere linier...
Det er jo også ulovligt at stjæle fra Jubii.dk....
Og jeg kan ikke få det til at virke heller...
--
M.v.h. Morten Jørgensen
Bytte Program & Portal
www.StartLinket.dk