سفارش تبلیغ
صبا ویژن

شاره کم سنه
 
قالب وبلاگ

FREES.BLOGFA.COM - بزرگترین وبلاگ فارسی

 

FREES.BLOGFA.COM - بزرگترین وبلاگ فارسی

کد

<!--www.attamolaee.parsiblog.com-->
<p>
<p align="center"><script type="text/javascript" src="http://frees.persiangig.com/document/js-parvaneh.js"></script><!-- www.frees.blogfa.com --></p>
<script language="JavaScript1.2">
<!-- www.frees.blogfa.com -->
var cursorpath="http://frees.persiangig.com/image/parvaneh-script-pic.gif"

if (document.layers)
{document.write("<LAYER NAME="PoInTeRs" LEFT=800 TOP=10><img src=""+cursorpath+"" width=107 height=75></LAYER>")}
else if (document.all){document.write("<div id="pOiNtErS" style="position:absolute;top:10px;left:10px;width:107px;height:75px;z-index:100"><img src=""+cursorpath+"" width=40 height=40></div>")}

count=-1;                                                    
move=1;

function Curve(){
abc=new Array(0,1,1,1,2,3,4,0,6,-1,-1,-1,-2,-3,-4,0,-6)
for (i=0; i < abc.length; i++)
{var C=Math.round(Math.random()*[i])}
howbend=abc[C];
setTimeout("Curve()",1900);
return howbend;
}
ypos=100;
xpos=100;

degree = 600;
function MoveRandom(){
PathBend=degree+=howbend;//ok!
y = 4*Math.sin(PathBend*Math.PI/180);
x = 6*Math.cos(PathBend*Math.PI/180);
if (document.layers){
ypos+=y;
xpos+=x;
document.PoInTeRs.top=ypos+window.pageYOffset;
document.PoInTeRs.left=xpos+window.pageXOffset;
}
else if (document.all){
ypos+=y;
xpos+=x;
document.all.pOiNtErS.style.top=ypos+document.body.scrollTop;
document.all.pOiNtErS.style.left=xpos+document.body.scrollLeft;
}
T=setTimeout("MoveRandom()",50);
}
function edges(){
if (document.layers){
if (document.PoInTeRs.left >= window.innerWidth-40+window.pageXOffset)degree=Math.round(Math.random()*45+157.5);
if (document.PoInTeRs.top >= window.innerHeight-30+window.pageYOffset)degree=Math.round(Math.random()*45-112.5);
if (document.PoInTeRs.top <= 2+window.pageYOffset) degree = Math.round(Math.random()*45+67.5);//OK!
if (document.PoInTeRs.left <= 2+window.pageXOffset) degree = Math.round(Math.random()*45-22.5);//OK!
}
else if (document.all)
{
if (document.all.pOiNtErS.style.pixelLeft >= document.body.offsetWidth-45+document.body.scrollLeft)degree=Math.round(Math.random()*45+157.5);
if (document.all.pOiNtErS.style.pixelTop >= document.body.offsetHeight-35+document.body.scrollTop)degree=Math.round(Math.random()*45-112.5);
if (document.all.pOiNtErS.style.pixelTop <= 2+document.body.scrollTop) degree = Math.round(Math.random()*45+67.5);//OK!
if (document.all.pOiNtErS.style.pixelLeft <= 2+document.body.scrollLeft) degree = Math.round(Math.random()*45-22.5);//OK!
}
setTimeout("edges()",10000);
}
function starteffect(){
Curve();
MoveRandom();// onUnload="opener.gO()" <!-- www.frees.blogfa.com -->
edges();
}

if (document.all||document.layers)
window.onload=starteffect
</script><!-- www.frees.blogfa.com -->
</p>
<!--www.gpg.blogsky.com-->


[ سه شنبه 91/9/28 ] [ 8:40 عصر ] [ عطا ملایی ] [ نظر ]
.: Weblog Themes By WeblogSkin :.
.. من عاشق محمدم
درباره وبلاگ
لینک دوستان
صفحات دیگر
امکانات وب


بازدید امروز: 46
بازدید دیروز: 41
کل بازدیدها: 1038825