function bev() { if (document.all) { var dabs = document.all.bevcss.style; if ( ( incrx>0 && bevs.pixelLeft>=document.body.offsetWidth ) ||( incrx<0 && bevs.pixelLeft<=0 ) ) incrx = -incrx; if ( ( incry>0 && bevs.pixelTop>=document.body.offsetHeight ) ||( incry<0 && bevs.pixelTop<=0 ) ) incry = -incry; dabs.pixelTop+=incry dabs.pixelLeft+=incrx setTimeout(\"bev()\",20) } } </script>
der der står offsetWidth og offsetHeight bør der også kompenseres for bredden af det opbjek du futter rundt med. fx: if ( ( incry>0 && bevs.pixelTop>=document.body.offsetHeight-objHojde )
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.