Ghamnevis
Well-Known Member
سلام !
شايد خيلي ها كه فكر هم ميكنم همينطوره اين اپلت رو داريد! ولي خوب ديگه گفتم بد نيست بقيه ي كمي كه بلد نيستند استفاده كنند ، راستي نظر يادتون نرهـــــــــــــــــــا منتظرم!
بازم ممنون سايان
شايد خيلي ها كه فكر هم ميكنم همينطوره اين اپلت رو داريد! ولي خوب ديگه گفتم بد نيست بقيه ي كمي كه بلد نيستند استفاده كنند ، راستي نظر يادتون نرهـــــــــــــــــــا منتظرم!
کد:
<html dir="ltr">
<!-- ONE STEP TO INSTALL LOGO ORBIT:
1. Copy the coding into the HEAD of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (document.all) {
//Things you can alter
yourLogo = "*Majid*Online*Ghamnevis"; //Not less than 2 letters!
logoFont = "Arial";
logoColor = "800000";
//Nothing needs altering below!
yourLogo = yourLogo.split('');
L = yourLogo.length;
TrigSplit = 360 / L;
Sz = new Array()
logoWidth = 100;
logoHeight = -30;
ypos = 0;
xpos = 0;
step = 0.03;
currStep = 0;
document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < L; i++) {
document.write('<div id="ie" style="position:absolute;top:0px;left:0px;'
+'width:10px;height:10px;font-family:'+logoFont+';font-size:12px;'
+'color:'+logoColor+';text-align:center">'+yourLogo[i]+'</div>');
}
document.write('</div></div>');
function Mouse() {
ypos = event.y;
xpos = event.x - 5;
}
document.onmousemove=Mouse;
function animateLogo() {
outer.style.pixelTop = document.body.scrollTop;
for (i = 0; i < L; i++) {
ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180);
ie[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180);
Sz[i] = ie[i].style.pixelTop - ypos;
if (Sz[i] < 5) Sz[i] = 5;
ie[i].style.fontSize = Sz[i] / 1.7;
}
currStep -= step;
setTimeout('animateLogo()', 20);
}
window.onload = animateLogo;
}
// End -->
</script>
<!-- Script Size: 1.93 KB -->
<p><a href="mailto:[email protected]">[email protected]</a> </p>
<p>A new and simple Persian weblog for All Iranians :
<a href="http://Pc4All.persianblog.com">http://Pc4All.persianblog.com</a></p>
<div>
The First Persian Graphic , Web and Multimedia Reference :
<a title="http://www.majidonline.com" href="http://www.majidonline.com">
http://www.majidonline.com</a></div>
<div>
The Professional PHP Hosting :
<a title="http://www.persianservices.com" href="http://www.persianservices.com">
http://www.persianservices.com</a></div>
<div>
Webmaster Tools :
<a title="http://tools.majidonline.com" href="http://tools.majidonline.com">
http://tools.majidonline.com</a></div>
<p>&nbsp;</p>
<p>Age Khoshetun oomade Be anjomane FrontPage dar site Agha Majid Sar bezanid! </p>
</html>
بازم ممنون سايان