ط¹ط±ط¶ ط§ظ„ط³ط§ط¹ط© ظˆط§ظ„ظٹظˆظ… ظˆط§ظ„طھط§ط±ظٹط® >> ظ…ظ…ظٹط² <<



بسم الله الرحمن الرحيم

عرض الساعة واليوم والتاريخ

كود code على السريع

مثال ::.

www.fnon.ps/forum

في الاسفل

كيفية التركيب install ::.

1) من لوحة التحكم , اللغات والعبارات
2) اكتب في الحقل الاول من البحث و الإستبدال في اللغات



رمز Code:
الساعة الآن <span class=&quot;time&quot;>{2}</span>.
وفي الحقل الثاني ضع الكود code
رمز Code:
<table border=&quot;0&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;text-align: center&quot;> <tr> <td>&nbsp;<html dir=&quot;rtl&quot;> <body> <script> /* Live Date Script- © Dynamic Drive (www.fnon.ps) For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use, visit http://www.fnon.ps //للمزيد من الجافا سكريبت script .. نرجو زيارة موقع فنون http://www.fnon.ps/ */ var dayarray=new Array(&quot;الاحد&quot;,&quot;الاثنين&quot;,&quot; الثلاثاء&quot;,&quot;الاربعاء&quot;,&quot;الخميس&q uot;,&quot;الجمعة&quot;,&quot;السبت&quot var montharray=new Array(&quot;يناير&quot;,&quot;فبراير&quot;,&quot;م ارس&quot;,&quot;ابريل&quot;,&quot;مايو&quot;,&quot ;يونيو&quot;,&quot;يوليو&quot;,&quot;اغسطس&quot;,& quot;سبتمبر&quot;,&quot;اكتوبر&quot;,&quot;نوفمبر& quot;,&quot;ديسمبر&quot function getthedate(){ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym=&quot;0&quot;+daym var hours=mydate.getHours() var minutes=mydate.getMinutes() var seconds=mydate.getSeconds() var dn=&quot;صباحاً&quot; if (hours>=12) dn=&quot;مساءً&quot; if (hours>12){ hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes=&quot;0&quot;+minutes if (seconds<=9) seconds=&quot;0&quot;+seconds //change font size here var cdate=&quot;<small><font color='0000FF' face='Tahoma'>&quot;+dayarray[day]+&quot; &quot;+daym+&quot; &quot;+montharray[month]+&quot; &quot;+year+&quot;م &quot;+hours+&quot;:&quot;+minutes+&quot;:&quot;+s econds+&quot; &quot;+dn +&quot;</font></small>&quot; if (document.all) document.all.clock.innerHTML=cdate else if (document.getElementById) document.getElementById(&quot;clock&quot.innerHTML=cdate else document.write(cdate) } if (!document.all&&!document.getElementById) getthedate() function goforit(){ if (document.all||document.getElementById) setInterval(&quot;getthedate()&quot;,1000) } </script> <span id=&quot;clock&quot;></span> <body onLoad=&quot;goforit()&quot;> </html> <body> <body onLoad=&quot;goforit()&quot;></td> </tr> </table> <p align=&quot;center&quot;><font color=&quot;#FFFFFF&quot; size=&quot;1&quot;> <a href=&quot;http://www.fnon.ps/&quot;><span style=&quot;text-decoration: none&quot;> .................................................. .................................................. .................................</span></a></font></p>
3) اضغط استبدال


هذا الكود code مقدم من موقع ومنتديات فنون
يرجى عدم نزع الحقوق التي في اول الكود code

www.fnon.ps

mho0hotmail.com
التقيـــــm رجاء



التعديل الأخير كان بواسطة sa-ps.net; 14 - 03 - 2014 الساعة 20:01




©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©