<div id="scyscraper" style="position: absolute; left: 468px; width: 100px; border: 0px; top:100px"> <table border="1" bgcolor="#99FF66" cellpadding="8" style="font-size: 10; color: #000000; font-family: Tahoma" width="100%" height="63%"> <tr> <td bordercolor="#000000" align="right" valign="top" height="26"> <span title="Zamknij Reklame" style="cursor: pointer; font-weight: bold;" onclick="document.getElementById('scyscraper').style.display='none'"> Zamknij </tr> <tr> <td bordercolor="#000000" align="center" valign="top"> treść reklamy </td> </tr> </table> <script type="text/javascript"> (function(element,el_left,D){ D=document el_left=((D.body.clientWidth||D.documentElement.clientWidth)-400) el_top=150 with(D.getElementById('scyscraper').style){ top=el_top+'px' left=el_left+'px' } el_left_start=el_top_start=0 })() function el_move(ydiff){ with(document){ ydiff=el_top_start-(body.scrollTop||documentElement.scrollTop) if(ydiff)el_top_start-=~~(ydiff/10) getElementById('scyscraper').style.top=el_top_start+el_top+'px' } } elmove=setInterval("el_move()",10) </script>
I wszystko jest ok tyle że ja potrzebuje aby to okienko pojawiało sie co 10 odswieżenie strony lub np przez pierwsze 2 minuty przebywania na stronie. Pomoże ktoś
