SİTENİZ İCİN MOUSE EFEKTLERİ
Mousenin pesinden gelen yazı
PHP:
<!---
<SCRIPT LANGUAGE="JavaScript">
<!-- Delayed Mouse Follow by Themes
message='Themes';
FonT='Verdana';
ColoR='999999';
SizE=2; //1 ile 7 arası! var amount=5*ypos=-50*xpos=0*Ay=0*Ax=0*By=0*Bx=0*Cy=0*Cx=0*Dy=0*Dx=0*Ey=0*Ex=0;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=nsl'+i+' top=0 left=0><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){
xpos=evnt.pageX+20;
ypos=evnt.pageY+20;
}
window.onMouseMove = nsmouse;
}
else if (document.all){
document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
document.write("<div style='position:relative'>");
for (i = 0; i < amount; i++)
{document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;width:400px;height:20px"><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></div>')}
document.write("</div>");
document.write("</div>");
function iemouse(){
ypos=event.y+20;
xpos=event.x+20;
}
window.document.onmousemove = iemouse;
}
function makefollow(){
if (document.layers){
document.layers['nsl'+0].top=ay;document.layers['nsl'+0].left=ax;
document.layers['nsl'+1].top=by;document.layers['nsl'+1].left=bx;
document.layers['nsl'+2].top=cy;document.layers['nsl'+2].left=cx;
document.layers['nsl'+3].top=Dy;document.layers['nsl'+3].left=Dx;
document.layers['nsl'+4].top=Ey;document.layers['nsl'+4].left=Ex;
}
else if (document.all){
outer.style.pixelTop=document.body.scrollTop;
text[0].style.pixelTop=ay;text[0].style.pixelLeft=ax;
text[1].style.pixelTop=by;text[1].style.pixelLeft=bx;
text[2].style.pixelTop=cy;text[2].style.pixelLeft=cx;
text[3].style.pixelTop=Dy;text[3].style.pixelLeft=Dx;
text[4].style.pixelTop=Ey;text[4].style.pixelLeft=Ex;
}
}
function move(){
ey=Ey+=(ypos-Ey)*0.2;ex=Ex+=(xpos-Ex)*0.2;
dy=Dy+=(ey-Dy)*0.3;dx=Dx+=(ex-Dx)*0.3;
cy=Cy+=(dy-Cy)*0.4;cx=Cx+=(dx-Cx)*0.4;
by=By+=(cy-By)*0.5;bx=Bx+=(cx-Bx)*0.5;
ay=Ay+=(by-Ay)*0.6;ax=Ax+=(bx-Ax)*0.6;
makefollow();
setTimeout('move()'*10);
}
window.onload=move;
//-->
</script>
<!--- KAYNAK: http://www.vbulletin-turkiye.com --->
Cursor Sekilleri
PHP:
<!---
<!---<head> Başlangıcı --->
<A HREF="#" STYLE="cursor:auto">STYLE ="cursor:auto" - otomatik cursor</A>
<br><br>
<A HREF="#" STYLE="cursor:crosshair">STYLE ="cursor:crosshair" - + simgesi</A>
<br><br>
<A HREF="#" STYLE="cursor: default">STYLE ="cursor:default" - varsayılan cursor</A>
<br><br>
<A HREF="#" STYLE="cursor: e-resize">STYLE ="cursor:e-resize" - sola-sağa ok</A>
<br><br>
<A HREF="#" STYLE="cursor: hand">STYLE ="cursor:hand" - el simgesi</A>
<br><br>
<A HREF="#" STYLE="cursor: help">STYLE ="cursor:help" - soru işareti</A>
<br><br>
<A HREF="#" STYLE="cursor: move">STYLE ="cursor:move" - taşıma simgesi</A>
<br><br>
<A HREF="#" STYLE="cursor: n-resize">STYLE ="cursor:n-resize" - aşağı-yukarı ok</A>
<br><br>
<A HREF="#" STYLE="cursor: ne-resize">STYLE ="cursor:ne-resize" - kuzeydoğudan ok</A>
<br><br>
<A HREF="#" STYLE="cursor: nw-resize">STYLE ="cursor:nw-resize" - güneydoğudan ok</A>
<br><br>
<A HREF="#" STYLE="cursor: pointer">STYLE ="cursor:pointer" - el simgesi</A>
<br><br>
<A HREF="#" STYLE="cursor: s-resize">STYLE ="cursor:s-resize" - aşağı-yukarı ok</A>
<br><br>
<A HREF="#" STYLE="cursor: text">STYLE ="cursor:text" - yazı simgesi</A>
<br><br>
<A HREF="#" STYLE="cursor: w-resize">STYLE ="cursor:w-resize" - iki yönlü ok</A>
<br><br>
<A HREF="#" STYLE="cursor: wait">STYLE="cursor:wait" - bekleme simgesi</A>
<!--- KAYNAK: http://www.vbulletin-turkiye.com --->
Mouse Efekti 1
PHP:
<!---
<script language="JavaScript">
<!-- Script by Themes
NS4=(document.layers);
IE4=(document.all);
Clrs=new Array('ff0000'*'00ff00'*'ffffff'*'ff00ff'*'ffa500'*'ffff00'*'00ff00'*'ffffff'*'ff00ff')
yBase=0;
xBase=0;
step=3;
currStep=0;
Ypos=0;
Xpos=0;
if (NS4){
for (i=0; i < 14; i++)
document.write('<LAYER NAME="n'+i+'" LEFT=0 TOP=0 CLIP="0*0*'+i/4+'*'+i/4+'"></LAYER>');
window.captureEvents(Event.MOUSEMOVE);
function nMouse(evnt){
Ypos = evnt.pageY-window.pageYOffset;
Xpos = evnt.pageX;
}
window.onMouseMove=nMouse;
}
if (IE4){
document.write('<div id="e" style="position:absolute;top:0;left:0"><div style="position:relative">');
for (i=0; i < 14; i++)
{document.write('<div id="me" style="position:absolute;top:0;left:0;width:'+i/4+';height:'+i/4+';font-size:'+i/4+'"></div>')}
document.write('</div></div>');
function iMouse(){
Ypos=event.y;
Xpos=event.x;
}
document.onmousemove = iMouse;
}
function Comet(){
S=(NS4)?window.pageYOffset:0;
if (IE4) e.style.top=document.body.scrollTop;
var yBase=(document.layers)?window.innerHeight/4:window.document.body.clientHeight/4;
var xBase=(document.layers)?window.innerWidth/4:window.document.body.clientWidth/4;
for (i=0; i < 14; i++){
var randCol=Math.round(Math.random()*8);
var layer=(NS4)?document.layers['n'+i]:me[i].style;
layer.top =Ypos + yBase*Math.cos((currStep+i*4)/12)*Math.cos(0.7+currStep/200)+S;
layer.left=Xpos + xBase*Math.sin((currStep+i*3)/10)*Math.sin(8.2+currStep/400);
if (NS4) layer.bgColor=Clrs[randCol];
if (IE4)layer.background=Clrs[randCol];
}
currStep+=step;
setTimeout("Comet()"*40);
}
window.onload=Comet;
// -->
</script>
<!--- KAYNAK: http://www.vbulletin-turkiye.com --->
Mouse Efekti 2
PHP:
<!---
<script language="JavaScript">
<!-- Script by Themes
ns=(document.layers)?1:0;
Clrs=new Array('ff0000'*'00ff00'*'ffffff'*'ff00ff'*'ffa500'*'ffff00'*'00ff00'*'ffffff'*'ff00ff')
var amount=8
var step=0.3;
var currStep=0;
var Ypos=0;
var Xpos=0;
if (ns){
for (i=0; i < amount; i++)
document.write('<LAYER NAME="n'+i+'" LEFT=0 TOP=0 BGCOLOR=#FFFFFF CLIP="0*0*2*2"></LAYER>');
window.captureEvents(Event.MOUSEMOVE);
function nMouse(evnt){
Ypos = evnt.pageY;
Xpos = evnt.pageX;
}
window.onMouseMove=nMouse;
}
else{
document.write('<div style="position:absolute;top:0px;left:0px">');
document.write('<div style="position:relative">');
for (i=0; i < amount; i++)
document.write('<div id="me" style="position:absolute;top:0px;left:0px;width:2px;height:2px;font-size:2px;background:#00aaff"></div>');
document.write('</div></div>');
function iMouse(){
Ypos=event.y+document.body.scrollTop;
Xpos=event.x+document.body.scrollLeft;
}
document.onmousemove = iMouse;
}
function flash(){
for (i=0; i < amount; i++){
var randCol=Math.floor(Math.random()*Clrs.length);
var layer=(document.layers)?document.layers['n'+i]:me[i].style;
layer.top =Ypos+60*Math.sin((currStep + i*3.1)/4)*Math.cos(currStep/10);
layer.left=Xpos+60*Math.cos((currStep + i*3.1)/4);
if (ns) layer.bgColor=Clrs[randCol];else layer.background=Clrs[randCol];
}
currStep+=step;
setTimeout("flash()"*10);
}
window.onload=flash;
// -->
</script>
--->
Son düzenleme: