ميدو مانشستر
| موضوع: كود ورد يتساقط على الشاشه الخميس أغسطس 11, 2011 4:39 pm | |
| كود ورد يتساقط على الشاشه الرمز:
<script language="JavaScript1.2"> /* Snow Effect Script Created and submitted by Altan d.o.o. (snow@altan.hr, [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] Permission granted to Dynamicdrive.com to feature script in archive For full source code and installation instructions to this script, visit [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] */ //Configure below to change URL path to the snow image var snowsrc="http://java.bdr130.net/sakura3.gif" // Configure below to change number of snow to render var no = 10; var ns4up = (document.layers) ? 1 : 0; // browser sniffer var ie4up = (document.all) ? 1 : 0; var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600; if (ns4up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width-50); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ns4up) { // set layers if (i == 0) { document.write("<layer name="dot"+ i +"" left="15" top="15" visibility="show"><a href="
|
| |
|
الفارس الأخضر
علم بلدك : المهنه : المزاج : هوايتك : الجنس :
تاريخ الميلاد : 01/10/1994 عدد المساهمات : 2 تاريخ التسجيل : 24/08/2011 العمر : 29 mms :
| موضوع: رد: كود ورد يتساقط على الشاشه الأربعاء أغسطس 24, 2011 8:31 am | |
| | |
|