العربية
<!-- موقع الويب:http://www.downcodes.com --> <!-- bbs:http://bbs.downcodes.com --> <!-- كود HTML الكامل كما يلي --> <html > <head> <title>عرض توضيحي للتأثير الكوني الحقيقي في صفحة الويب [مؤثرات خاصة لصفحة الويب]</title> <meta name="Author" content="http://www.downcodes.com"> < meta http-equiv ="imagetoolbar" content="no"> <style type="text/css"> body {cursor:crosshair;margin:0;position:overflow:hidden; ; اليسار: 0 ; الأعلى: 0; العرض: 100%; الارتفاع: 100%;} img {position:absolute;left:-1000;} .borderTop {position:absolute;left:0;top:0;width:100 %;الارتفاع: 10%;الخلفية:#333;مؤشر z:1;} .borderBottom {position:absolute;left:0;top:90%;width:100%;height:10%;الخلفية:#333; z-index: 1;} </style> <script type="text/javascript"><!-- // ======================= ==== ================== // http://www.downcodes.com // = =============================================================================================== ==== ==== window.onerror = new Function("return true") G1D = new Object(); screen.bufferDepth = 16; o = xm = ym = M = sx = sz = 0; r(v, x){ if (v>x) v-=x; else if (v<0) v+=x; return v } document.onmousemove = function(e){ if (window.event) e = window.event; xm = (ex || e.clientX); (ey || M = 100); OffsetHeight; } onresize = resize; G1D.creaTe = function(img,w,h,Z){ this.O = document.createElement("img"); .O); this.Z = Z; this.w = h; this.x2D = 0; this.x3D = Math.round(Math.random() * 100) this.y3D = Math.round(Math.random() * 100); this.z3D = Math.round(Math.random() * 100); sz) { with (this){ with(O.style){ wp = 8+(w * (100 - z3D)) * Z; hp = 8+(h * (100 - z3D)) * Z; - (wp * .5); tp = y2D - (hp * .5); lp = tp; z3D=r( z3D += sz,100); ) * ny) / z3D); } } G1D.obZ = function(N,img,Z) { this.N = N; new Array(); h = img height; for(i=0;i<N;i++) this.o[i] = new G1D.creaTe(img,w,h,Z); ){ this k += .1; ; sy = ( (ny * .5) - ym) / (ny * .25 } else { sx += Math.cos(this.k / 4) * .01; k / 8) * .01 } for(i=0;i<this.N;i++)this.o[i].aNim(sx,sy,sz); .ouiiiin() ; setTimeout("mainloop();",16); } onload = function (){ SF = document.getElementById("starfield"); xm = nx/2; ; o = new G1D.obZ(100,document.getElementById("planet"),.015); mainloop(); } //-> </script> </head> <div class="borderTop "></ div> <div class="borderBottom"></div> <div id="starfield" style="position:absolute;left:0;top:0;z-index:2;"></ div> <img id=planet src=""> </body> </html>