Перейти к публикации

havesov

новички
  • Публикации

    3
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные пользователем havesov

  1. poprobuyte eto

    <html>
    
    <head>
    
    <script language="Javascript">
    
    var text1=""
    
    comeback=0
    
    cometo=0
    
    function dis(){window.status=text1.substring(0,cometo)
    
    if(comeback==1){cometo--;
    
    if(cometo==0){comeback=0}}else{cometo++;if(cometo==text1.length){comeback=1}}
    
    window.status=text1.substring(0,cometo)+""
    
    if(cometo==text1.length){window.setTimeout("dis()",500);}else{window.setTimeout("dis()",50);}}
    
    dis()
    
    </script>
    
    <script>
    
    function hidestatus(){window.status=''
    
    return true
    
    }
    
    if (document.layers)
    
    document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
    
    document.onmouseover=hidestatus
    
    document.onmouseout=hidestatus
    
    </script>
    
    <script language="JavaScript" type="text/javascript">
    
    <!--
    
    var y1 = 300;   // change the # on the left to adjuct the Y co-ordinate
    
    (document.getElementById) ? dom = true : dom = false;
    
    
    function hideIt() {
    
      if (dom) {document.getElementById("layer1").style.visibility='hidden';}
    
      if (document.layers) {document.layers["layer1"].visibility='hide';} }
    
    
    function showIt() {
    
      if (dom) {document.getElementById("layer1").style.visibility='visible';}
    
      if (document.layers) {document.layers["layer1"].visibility='show';} }
    
    
    function placeIt() {
    
      if (dom && !document.all) {document.getElementById("layer1").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
    
      if (document.layers) {document.layers["layer1"].top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1))}
    
      if (document.all) {document.all["layer1"].style.top = document.body.scrollTop + (document.body.clientHeight - (document.body.clientHeight-y1));}
    
      window.setTimeout("placeIt()", 10); }
    
    // -->
    
    </script>
    
    </head>
    
    
    <body link="black" vlink="black" alink="black" text="black" onLoad="placeIt(); showIt();" onResize="window.location.href = window.location.href;"><div id="layer1" style="width:500px; height:300px; position:absolute; left:300px; top:250px; z-index:1; visibility:hidden;">
    
    
    <table cellpadding="0" cellspacing="0" border="1" border color="#000000" width="500" bordercolordark="black" bordercolorlight="black">
    
    <td background=http://www.havesov.com/middle-top.gif width="500">
    
    <a href='#' onClick="hideIt();" ><img align=right src=http://www.havesov.com/close.gif border=0></a></td>
    
           
    
             </tr>
    
    <tr><td colspan=0 width="500">
    
    <img src="http://havesov.com/30music.jpg">
    
    </td>
    
    </tr>
    
    </table>
    
    </div>
    
    </body>
    
    </html>

×
×
  • Создать...