• 27-11-2007, 12:47:17
    #1
    Üyeliği durduruldu
    birseyi merak ettim, bazi sitelere girince bir sekilde script ile 5-10 sn araliklarla yada 1-2 ser dk da olabilir MSN seklinde pop up pencereler aciliyor sanki kendi msn mizden mis gibi. Bunlari ne ile yapiyoruz yada bu kodlari nereden elde ediyoruz bilgisi olan arkadas varmi acaba ?
  • 27-11-2007, 12:56:11
    #2
    o girdigin sistenin kaynak kodlarından alabilirsin o dalgayı. java script ile yaptırıyorlar.
  • 27-11-2007, 12:58:02
    #3
    Üyeliği durduruldu
    Bunun icindeki kod ama nasil duzenlemek gerekiyor yardimci olabilir misiniz ?
    </center><div id="popupWin" style="right: 0px; bottom: 0px; display: none; z-index: 9999; position: absolute; height: 123px"><div id="popupWin_content" style="padding:2px; display: none; overflow: hidden; width: 201px; height: 116px; position: absolute;"><a rel="nofollow" href="http://affy.sevgilimol.com/?refer=emin" target="_blank"><img id="msnPopupImg" src="#" width="201" height="116" border="0" alt="" /></a><div id="eXTReMe"><a rel="nofollow" href="http://extremetracking.com/open?login=thtorg"><img src="http://t1.extreme-dm.com/i.gif" style="border: 0;"height="38" width="41" id="EXim" alt="eXTReMe Tracker" /></a><script type="text/javascript"><!--var EXlogin='thtorg' // Loginvar EXvsrv='s10' // VServerEXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?EXb=EXs.colorDepth:EXb=EXs.pixelDepth;navigator.javaEnabled()==1?EXjv="y":EXjv="n";EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";EXd.write("<img src=http://e1.extreme-dm.com","/"+EXvsrv+".g?login="+EXlogin+"&amp;","jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;","l="+escape(EXd.referrer)+" height=1 width=1>");//--></script><noscript><div id="neXTReMe"><img height="1" width="1" alt=""src="http://e1.extreme-dm.com/s10.g?login=thtorg&amp;j=n&amp;jv=n" /></div></noscript></div></div></div><script src="http://affy.sevgilimol.com/banners/js/msn_popup.js" language="JavaScript"></script></center>
  • 27-11-2007, 13:40:01
    #4
    Üyeliği durduruldu
    neyse sanirim kendi sorumu kendim cozdum yine... senin sayfan yazan yere kendi sayfanizi girin. resimler diye klasor acin yada ne isim verirseniz. oraya hangi resimlerin gelmesini istiyorsaniz o klasore atin. rastlegele resimler geliyor. minciklarsaniz sanirim gelme zamani ve daha ne gerekliyse cozersiniz.

    msn pop up
    
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    </head>
    <body>
    
    </center><div id="popupWin" style="right: 0px; bottom: 0px; display: none; z-index: 9999; position: absolute; height: 123px"><div id="popupWin_content" style="padding:2px; display: none; overflow: hidden; width: 201px; height: 116px; position: absolute;"><a rel="nofollow" href="seninsayfan.com" target="_blank"><img id="msnPopupImg" src="#" width="201" height="116" border="0" alt="" /></a>
    </div></div>
    <script  language="JavaScript">
    // Generate Randowm Number
    function GetRandom ()
    {
        var randomNumber = Math.floor ( Math.random() * 5 );
        if ( randomNumber == 0 ) randomNumber = GetRandom();
        return randomNumber;
    }
    var picLink = 'http://seninsayfan.com/resimler/' + GetRandom() + '.jpg';
    document.getElementById('msnPopupImg').src = picLink;
    //<![CDATA[
    var popupWinoldonloadHndlr=window.onload, popupWinpopupHgt, popupWinactualHgt, popupWintmrId=-1, popupWinresetTimer;
    var popupWincntDelta;
    window.onload=popupWinespopup_winLoad;
    function SetPosition()
    {
        var browser=navigator.appName
        var b_version=navigator.appVersion
        var version=parseFloat(b_version)
        el=document.getElementById('popupWin');
        if ( browser != "Microsoft Internet Explorer" )
        {
            el.style.position = 'fixed';
        }
        else
        {
            if ( version >= 7 )
            {
                el.style.position = 'fixed';
            }
            else
            {
                el.style.position = 'absolute';
            }
        }
    }
            
    function popupWinespopup_ShowPopup(show)
    {
        if (popupWintmrId!=-1) return;
        el=document.getElementById('popupWin');
        el.style.right='208px';
        el.style.top='';
        el.style.filter='';
        SetPosition();
        if (navigator.userAgent.indexOf('Opera')!=-1)
            el.style.bottom=(document.body.scrollHeight*1-document.body.scrollTop*1
            -document.body.offsetHeight*1+1*popupWinpopupBottom)+'px';
        popupWinactualHgt=0; el.style.height=popupWinactualHgt+'px';
        el.style.visibility='';
        if (!popupWinresetTimer) el.style.display='';
        popupWintmrId=setInterval(popupWinespopup_tmrTimer,(popupWinresetTimer?1000:20));
    }
    function popupWinespopup_winLoad ()
    {
        if (popupWinoldonloadHndlr!=null) popupWinoldonloadHndlr();
        elCnt=document.getElementById('popupWin_content')
        el=document.getElementById('popupWin');
        popupWinpopupBottom=el.style.bottom.substr(0,el.style.bottom.length-2);
        popupWinpopupHgt=el.style.height;
        popupWinpopupHgt=popupWinpopupHgt.substr(0,popupWinpopupHgt.length-2); popupWinactualHgt=0;
        popupWincntDelta=popupWinpopupHgt-(elCnt.style.height.substr(0,elCnt.style.height.length-2));
        popupWinresetTimer=true;
        popupWinespopup_ShowPopup(null);
    }
    
    function popupWinespopup_tmrTimer()
    {
      el=document.getElementById('popupWin');
      if (popupWinresetTimer)
      {
        el.style.display='';
        clearInterval(popupWintmrId); popupWinresetTimer=false;
        popupWintmrId=setInterval(popupWinespopup_tmrTimer,20);
      }
      popupWinactualHgt+=5;
      if (popupWinactualHgt>=popupWinpopupHgt)
      {
        popupWinactualHgt=popupWinpopupHgt; clearInterval(popupWintmrId); popupWintmrId=-1;
        document.getElementById('popupWin_content').style.display='';
      }
      if ((popupWinactualHgt-popupWincntDelta)>0)
      {
        elCnt=document.getElementById('popupWin_content')
        elCnt.style.display='';
        elCnt.style.height=(popupWinactualHgt-popupWincntDelta)+'px';
      }
      el.style.height=popupWinactualHgt+'px';
    }
    //]]>
     
    </script>
    </center>
    </body>
    </html>
  • 27-11-2007, 19:01:37
    #5
    popup a tıkladıgımızda açılacak olan sitenin adresini nereye yazıyoruz? "var picLink" in karşısına diye düşündüm ama o sanırım msn deki resimleri filan degiştiriyor?yani random image dedigine göre o klasöre attıgın resimleri rastgele gösteriyor,degil mi ?