
Üye olmayanlara msn iletisi !!
Ben bunu biraz değiştirdim diğer halinden daha güzel olduğunu tahmin ediyorum ben kodlarını veriyim isteyen hoşuna giden kullansın.
Nasıl olduğunu görmek isteyen sitemden bakabilir...
Kod: Tümünü seç
<!-- BEGIN switch_user_logged_out -->
<DIV onselectstart="return false;"
onmousedown="return popupWinespopup_DragDrop(event);" id=popupWin
style="BORDER-RIGHT: black 2px solid; BORDER-TOP: black 2px solid; DISPLAY: none; Z-INDEX: 9999; RIGHT: 0px; BACKGROUND: #f6f6f6; BORDER-LEFT: black 2px solid; WIDTH: 330px; BOTTOM: 0px; BORDER-BOTTOM: black 2px solid; POSITION: absolute; TOP: -400px; HEIGHT: 150px">
<DIV id=popupWin_header
style=" FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='white', EndColorStr='white'); LEFT: 2px; FONT: 11px arial,sans-serif; WIDTH: 324px; CURSOR: default; COLOR: black; POSITION: absolute; TOP: 2px; HEIGHT: 14px; TEXT-DECORATION: none"><SPAN
id=popupWintitleEl> </SPAN><SPAN
id=popupWintitleEl>Merhaba Ziyaretci</SPAN><SPAN
onmousedown=event.cancelBubble=true; onmouseover="style.color='#455690';"
style="RIGHT: 3px; FONT: bold 12px arial,sans-serif; CURSOR: pointer; COLOR: black; POSITION: absolute; TOP: 2px"
onclick=popupWinespopup_Close() onmouseout="style.color='#728EB8';">Kapat</SPAN></DIV>
<DIV onmousedown=event.cancelBubble=true; id=popupWin_*******
style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: black 1px solid; DISPLAY: none; PADDING-LEFT: 2px; BACKGROUND: black ; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#FFFFFFFF', EndColorStr='gray'); LEFT: 2px; PADDING-BOTTOM: 2px; OVERFLOW: hidden; BORDER-LEFT: black 1px solid; WIDTH: 320px; PADDING-TOP: 2px; BORDER-BOTTOM: black 1px solid; POSITION: absolute; TOP: 20px; HEIGHT: 125px; TEXT-ALIGN: center">
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 height=70
cellSpacing=0 cellPadding=0 width=211 border=0>
<TBODY>
<TR>
<TD width=211 height=67>
<P align=center> <B><FONT color=black>Aramýza Hosgeldiniz...<br><BR>Forumlarımızdan Kısıtlamasız Faydalanabilmek İçin Lütfen Üye Olunuz.</FONT><FONT color=#ff0000><A
style="TEXT-DECORATION: none" href="{U_REGISTER}"
target=_blank><FONT color=#ff0000>Üye Olmak Ýçin</FONT></A></FONT><FONT
color=black> Buraya Týklayýnýz..<br><br>Eğer Zaten Üye İseniz <FONT color=#ff0000><A
style="TEXT-DECORATION: none" href="/login.php"
target=_blank><FONT color=#ff0000>Giriş</FONT></A><FONT color=black> Yapmak İçin Tıklayınız..</FONT></B></P></TD></TR></TBODY></TABLE></DIV></DIV>
<SCRIPT type=text/javascript>
//<![CDATA[
var popupWinoldonloadHndlr=window.onload, popupWinpopupHgt, popupWinactualHgt, popupWintmrId=-1, popupWinresetTimer;
var popupWintitHgt, popupWincntDelta, popupWintmrHide=-1, popupWinhideAfter=-1, popupWinhideAlpha, popupWinhasFilters=true;
var popupWinnWin, popupWinshowBy=null, popupWindxTimer=-1, popupWinpopupBottom;
var popupWinnText,popupWinnMsg,popupWinnTitle,popupWinbChangeTexts=false;
window.onload=popupWinespopup_winLoad;
function popupWinespopup_ShowPopup(show)
{
if (popupWindxTimer!=-1) { el.filters.blendTrans.stop(); }
if ((popupWintmrHide!=-1) && ((show!=null) && (show==popupWinshowBy)))
{
clearInterval(popupWintmrHide);
popupWintmrHide=setInterval(popupWinespopup_tmrHideTimer,popupWinhideAfter);
return;
}
if (popupWintmrId!=-1) return;
popupWinshowBy=show;
elCnt=document.getElementById('popupWin_*******')
elTit=document.getElementById('popupWin_header');
el=document.getElementById('popupWin');
el.style.left='340';
el.style.top='250';
el.style.filter='';
if (popupWintmrHide!=-1) clearInterval(popupWintmrHide); popupWintmrHide=-1;
document.getElementById('popupWin_header').style.display='';
document.getElementById('popupWin_*******').style.display='';
if (navigator.userAgent.indexOf('Opera')!=-1)
el.style.bottom=(document.body.scrollHeight*1-document.body.scrollTop*1
-document.body.offsetHeight*1+1*popupWinpopupBottom)+'px';
if (popupWinbChangeTexts)
{
popupWinbChangeTexts=false;
document.getElementById('popupWinaCnt').innerHTML=popupWinnMsg;
document.getElementById('popupWintitleEl').innerHTML=popupWinnTitle;
}
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_*******')
elTit=document.getElementById('popupWin_header');
el=document.getElementById('popupWin');
popupWinpopupBottom=el.style.bottom.substr(0,el.style.bottom.length-2);
popupWintitHgt=elTit.style.height.substr(0,elTit.style.height.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));
if (true)
{
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_*******').style.display='';
if (popupWinhideAfter!=-1) popupWintmrHide=setInterval(popupWinespopup_tmrHideTimer,popupWinhideAfter);
}
if (popupWintitHgt<popupWinactualHgt-6)
document.getElementById('popupWin_header').style.display='';
if ((popupWinactualHgt-popupWincntDelta)>0)
{
elCnt=document.getElementById('popupWin_*******')
elCnt.style.display='';
elCnt.style.height=(popupWinactualHgt-popupWincntDelta)+'px';
}
el.style.height=popupWinactualHgt+'px';
}
function popupWinespopup_tmrHideTimer()
{
clearInterval(popupWintmrHide); popupWintmrHide=-1;
el=document.getElementById('popupWin');
if (popupWinhasFilters)
{
backCnt=document.getElementById('popupWin_*******').innerHTML;
backTit=document.getElementById('popupWin_header').innerHTML;
document.getElementById('popupWin_*******').innerHTML='';
document.getElementById('popupWin_header').innerHTML='';
el.style.filter='blendTrans(duration=1)';
el.filters.blendTrans.apply();
el.style.visibility='hidden';
el.filters.blendTrans.play();
document.getElementById('popupWin_*******').innerHTML=backCnt;
document.getElementById('popupWin_header').innerHTML=backTit;
popupWindxTimer=setInterval(popupWinespopup_dxTimer,1000);
}
else el.style.visibility='hidden';
}
function popupWinespopup_dxTimer()
{
clearInterval(popupWindxTimer); popupWindxTimer=-1;
}
function popupWinespopup_Close()
{
if (popupWintmrId==-1)
{
el=document.getElementById('popupWin');
el.style.filter='';
el.style.display='none';
if (popupWintmrHide!=-1) clearInterval(popupWintmrHide); popupWintmrHide=-1;
}
}
var popupWinmousemoveBack,popupWinmouseupBack;
var popupWinofsX,popupWinofsY;
function popupWinespopup_DragDrop(e)
{
popupWinmousemoveBack=document.body.onmousemove;
popupWinmouseupBack=document.body.onmouseup;
ox=(e.offsetX==null)?e.layerX:e.offsetX;
oy=(e.offsetY==null)?e.layerY:e.offsetY;
popupWinofsX=ox; popupWinofsY=oy;
document.body.onmousemove=popupWinespopup_DragDropMove;
document.body.onmouseup=popupWinespopup_DragDropStop;
if (popupWintmrHide!=-1) clearInterval(popupWintmrHide);
}
function popupWinespopup_DragDropMove(e)
{
el=document.getElementById('popupWin');
if (e==null&&event!=null)
{
el.style.left=(event.clientX*1+document.body.scrollLeft-popupWinofsX)+'px';
el.style.top=(event.clientY*1+document.body.scrollTop-popupWinofsY)+'px';
event.cancelBubble=true;
}
else
{
el.style.left=(e.pageX*1-popupWinofsX)+'px';
el.style.top=(e.pageY*1-popupWinofsY)+'px';
e.cancelBubble=true;
}
if ((event.button&1)==0) popupWinespopup_DragDropStop();
}
function popupWinespopup_DragDropStop()
{
document.body.onmousemove=popupWinmousemoveBack;
document.body.onmouseup=popupWinmouseupBack;
}
//]]>
</SCRIPT>
</TABLE></TABLE>
<!-- END switch_user_logged_out -->
Nasıl olduğunu görmek isteyen sitemden bakabilir...
Localhost ta kurdum sorunsuz çalıştı.Fakat kendi siteme eklediğim zaman hiçbirşey çıkmıyor.Neden olabilir?
[ resmi görüntülemek için tıklayın ]
[ resmi görüntülemek için tıklayın ]
Re: Üye olmayanlara msn iletisi !!
paylaşım için saol arkadaşım
Re: Üye olmayanlara msn iletisi !!
ie de calisiyor firefox ta calismiyor 

Kimler çevrimiçi
Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 2 misafir