‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
write(‘
‘)
}
}
var Clrs=new Array(6)
Clrs=’ff0000′;
Clrs=’00ff00′;
Clrs=’000aff’;
Clrs=’ff00ff’;
Clrs=’fff000′;
Clrs=’fffff0′;
if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var step;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;
if (document.all)
{
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}
else if (document.layers)
{
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (document.all)
{
yBase = window.document.body.offsetHeight/4;
xBase = window.document.body.offsetWidth/4;
}
else if (document.layers)
{
yBase = window.innerHeight/4;
xBase = window.innerWidth/4;
}
if (document.all)
{
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{step=3;
starsDiv.all.style.top = Ypos + yBase*Math.cos((currStep + i*4)/12)*Math.cos(0.7+currStep/200);
starsDiv.all.style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(8.2+currStep/400);
for (ai=0; ai < Clrs.length; ai++)
{
var c=Math.round(Math.random()*);
}
starsDiv.all.style.background=Clrs;
}
}
else if (document.layers)
{
for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
{step = 4;
var templayer=”a”+j
document.layers.top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(0.7+currStep/200);
document.layers.left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(8.2+currStep/400);
for (aj=0; aj < Clrs.length; aj++)
{
var c=Math.round(Math.random()*);
}
document.layers.bgColor=Clrs;
}
}
currStep+= step;
setTimeout(“animateLogo()”, 10);
}
animateLogo();
// –>
كود لكرات تتبع الفأرة
كود لنص يتبع الفأرة
كود لرابط يتغير لونه بمجرد مرور الفأرة
كود لأسهم تتبع الفأرة
‘) : document.write(‘‘)
}
trail()
}
function trail() { // trailing function
for (i = 0; i = 2; i–) { // save the coordinate for the div/layer that’s behind
storage = storage
}
d = 0 // reset for future use
var timer = setTimeout(“trail()”,10) // call recursively
}
function processEvent(e) { // catches and processes the mousemove event
if (isIE) { // for IE
storage = window.event.y+document.body.scrollTop+10
storage = window.event.x+document.body.scrollLeft+10
} else { // for Navigator
storage = e.pageY+12
storage = e.pageX+12
}
}
if (isNav) {
document.captureEvents(Event.MOUSEMOVE) // Defines what events to capture for Navigator
}
if (isIE || isNav) { // initiates the script
initTrail()
document.onmousemove = processEvent // start capturing
}
//–>
منقول من موقع وليس منتدى
عالم البنات النسائي كل ما يخص المرأة العربية من ازياء وجمال والحياة الزوجية والمطبخ