+ الرد على الموضوع
النتائج 1 إلى 5 من 5

الموضوع: مجموعة أكواد .!

  1. #1
    نزف الغروب is on a distinguished road
    تاريخ التسجيل
    25 / 02 / 2005
    الدولة
    قلب المحيط
    المشاركات
    218
    معدل تقييم المستوى
    453

    افتراضي مجموعة أكواد .!

    مجموعة اكواد اتمنى الاستفادة منها

    روابط تتحرك بشكل عامودي
    <table>

    <td width="100%" align="center"><font face="Tahoma"> <script language="JavaScript1.2">

    //configure the below five variables to change the style of the scroller
    var scrollerwidth=150
    var scrollerheight=90
    var scrollerbgcolor='lightyel low'
    //set below to '' if you don't wish to use a background image
    var scrollerbackground='scrol lerback.gif'

    //configure the below variable to change the contents of the scroller
    var messages=new Array()
    messages[0]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 0'>ضع جملة هنا</a></font>"
    messages[1]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 1'>ضع جملة هنا1</a></font>"
    messages[2]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 2'>ضع جملةهنا2</a></font>"
    messages[3]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 3'>ضع جملة 3هنا</a></font>"
    messages[4]="<font face='tahoma'><a href='http://ضع عنوان الرابطة 4'>ضع جملة هنا4</a></font>"

    ///////Do not edit pass this line///////////////////////

    if (messages.length>1)
    i=2
    else
    i=0

    function move1(whichlayer){
    tlayer=eval(whichlayer)
    if (tlayer.top>0&&tlayer.top <=5){
    tlayer.top=0
    setTimeout("move1(tlayer) ",3000)
    setTimeout("move2(documen t.main.document.second)", 3000)
    return
    }
    if (tlayer.top>=tlayer.docum ent.height*-1){
    tlayer.top-=5
    setTimeout("move1(tlayer) ",100)
    }
    else{
    tlayer.top=scrollerheight
    tlayer.document.write(mes sages[i])
    tlayer.document.close()
    if (i==messages.length-1)
    i=0
    else
    i++
    }
    }

    function move2(whichlayer){
    tlayer2=eval(whichlayer)
    if (tlayer2.top>0&&tlayer2.t op<=5){
    tlayer2.top=0
    setTimeout("move2(tlayer2 )",3000)
    setTimeout("move1(documen t.main.document.first)",3 000)
    return
    }
    if (tlayer2.top>=tlayer2.doc ument.height*-1){
    tlayer2.top-=5
    setTimeout("move2(tlayer2 )",100)
    }
    else{
    tlayer2.top=scrollerheigh t
    tlayer2.document.write(me ssages[i])
    tlayer2.document.close()
    if (i==messages.length-1)
    i=0
    else
    i++
    }
    }

    function move3(whichdiv){
    tdiv=eval(whichdiv)
    if (tdiv.style.pixelTop>0&&t div.style.pixelTop<=5){
    tdiv.style.pixelTop=0
    setTimeout("move3(tdiv)", 3000)
    setTimeout("move4(second2 )",3000)
    return
    }
    if (tdiv.style.pixelTop>=tdi v.offsetHeight*-1){
    tdiv.style.pixelTop-=5
    setTimeout("move3(tdiv)", 100)
    }
    else{
    tdiv.style.pixelTop=scrol lerheight
    tdiv.innerHTML=messages[i]
    if (i==messages.length-1)
    i=0
    else
    i++
    }
    }

    function move4(whichdiv){
    tdiv2=eval(whichdiv)
    if (tdiv2.style.pixelTop>0&& tdiv2.style.pixelTop<=5){
    tdiv2.style.pixelTop=0
    setTimeout("move4(tdiv2)" ,3000)
    setTimeout("move3(first2) ",3000)
    return
    }
    if (tdiv2.style.pixelTop>=td iv2.offsetHeight*-1){
    tdiv2.style.pixelTop-=5
    setTimeout("move4(second2 )",100)
    }
    else{
    tdiv2.style.pixelTop=scro llerheight
    tdiv2.innerHTML=messages[i]
    if (i==messages.length-1)
    i=0
    else
    i++
    }
    }

    function startscroll(){
    if (document.all){
    move3(first2)
    second2.style.top=scrolle rheight
    second2.style.visibility= 'visible'
    }
    else if (document.layers){
    document.main.visibility= 'show'
    move1(document.main.docum ent.first)
    document.main.document.se cond.top=scrollerheight+5
    document.main.document.se cond.visibility='show'
    }
    }

    window.onload=startscroll

    </script>




    <ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor }; background=&{scrollerback ground}; visibility=hide>
    <layer id="first" left=0 top=1 width=&{scrollerwidth};>
    <script language="JavaScript1.2">
    if (document.layers)
    document.write(messages[0])
    </script>
    </layer>
    <layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide>
    <script language="JavaScript1.2">
    if (document.layers)
    document.write(messages[1])
    </script>
    </layer>
    </ilayer>

    <script language="JavaScript1.2">
    if (document.all){
    document.writeln('<span id="main2" style="position:relative; width:'+scrollerwidth+';h eight:'+scrollerheight+'; overflow:hiden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackg round+')">')
    document.writeln('<div style="position:absolute; width:'+scrollerwidth+';h eight:'+scrollerheight+'; clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">')
    document.writeln('<div id="first2" style="position:absolute; width:'+scrollerwidth+';l eft:0;top:1;">')
    document.write(messages[0])
    document.writeln('</div>')
    document.writeln('<div id="second2" style="position:absolute; width:'+scrollerwidth+';l eft:0;top:0;visibility:hi dden">')
    document.write(messages[1])
    document.writeln('</div>')
    document.writeln('</div>')
    document.writeln('</span>')
    }
    </script></font></td>
    /////////////////////////////////////////

    شريط متحرك يحتوي على روابط

    <script language="JavaScript1.2">

    //Specify the marquee's width (in pixels)
    var marqueewidth=330
    //Specify the marquee's height (in pixels, pertains only to NS)
    var marqueeheight=20
    //Specify the marquee's scroll speed (larger is faster)
    var speed=6
    //Specify the marquee contents
    var marqueecontents='<font face="Arial"><strong><big >Thank you for visiting <a href="http://amory.8m.com">AMORY</a> If you need anything pertain, please send Email to me <a href="mailto:amory@ayna.c om">click here.</a> Enjoy your stay!</big></strong></font>'

    if (document.all)
    document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewid th+'">'+marqueecontents+' </marquee>')

    function regenerate(){
    window.location.reload()
    }
    function regenerate2(){
    if (document.layers){
    setTimeout("window.onresi ze=regenerate",450)
    intializemarquee()
    }
    }

    function intializemarquee(){
    document.cmarquee01.docum ent.cmarquee02.document.w rite('<nobr>'+marqueecont ents+'</nobr>')
    document.cmarquee01.docum ent.cmarquee02.document.c lose()
    thelength=document.cmarqu ee01.document.cmarquee02. document.width
    scrollit()
    }

    function scrollit(){
    if (document.cmarquee01.docu ment.cmarquee02.left>=the length*(-1)){
    document.cmarquee01.docum ent.cmarquee02.left=speed
    setTimeout("scrollit()",1 00)
    }
    else{
    document.cmarquee01.docum ent.cmarquee02.left=marqu eewidth
    scrollit()
    }
    }

    window.onload=regenerate2
    </script>


    <ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">
    <layer name="cmarquee02"></layer>
    </ilayer>
    /////////////////////////////
    كود جميل لعمل اطار للصفحة مع التحكم باللون والمقاس
    <script language="JavaScript1.2">

    if (document.all)
    document.body.style.cssTe xt="border:25 inset blue"
    </script>
    ///////////////////////////////////////////
    كود للمواقع العشوائية وهو مفيد
    <script>

    /*Day of the link script credit-
    By Website Abstraction (www.wsabstract.com)
    Over 200+ free scripts here!
    */

    var daylinks=new Array()
    /*
    Enter the 31 urls below you wish to go to for each day of the month. Note that if the current month contains less than 31 days, then some of the urls will simply not be used
    */

    daylinks[1]="http://www.kozama.com"
    daylinks[2]="http://www.alarb.com"
    daylinks[3]="http://www.swalif.net"
    daylinks[4]="http://www.zajil.cc"
    daylinks[5]="http://www.faisal1.com"
    daylinks[6]="http://www.infoseek.com"
    daylinks[7]="http://www.hotbot.com"
    daylinks[8]="http://www.tripod.com"
    daylinks[9]="http://www.wsabstract.com"
    daylinks[10]="http://www.wired.com"
    daylinks[11]="http://www.download.com"
    daylinks[12]="http://www.windows95.com"
    daylinks[13]="http://www.shareware.com"
    daylinks[14]="http://www.builder.com"
    daylinks[15]="http://www.htmlgoodies.com"
    daylinks[16]="http://www.webreference.com"
    daylinks[17]="http://www.webdeveloper.com"
    daylinks[18]="http://www.developer.com"
    daylinks[19]="http://www.news.com"
    daylinks[20]="http://www.techweb.com"
    daylinks[21]="http://www.zdnet.com"
    daylinks[22]="http://www.excite.com"
    daylinks[23]="http://www.nba.com"
    daylinks[24]="http://www.microsoft.com"
    daylinks[25]="http://www.netscape.com"
    daylinks[26]="http://www.amazon.com"
    daylinks[27]="http://www.xml.com"
    daylinks[28]="http://www.espn.com"
    daylinks[29]="http://www.nbc.com"
    daylinks[30]="http://www.cbs.com"
    daylinks[31]="http://www.hotwired.com"

    var mydate=new Date()
    var today=mydate.getDate()
    </script>

    <a href="today.htm" onClick="window.location= daylinks[today];return false">اضغط هنا لتذهب الىالموقع العشوائى لهذا اليوم</a>
    /////////////////////
    محرك بحث جوجلجديد

    <center>
    <form action="http://www.google.com/search" method="get" target="_blank">
    <table height="28" cellSpacing="0" cellPadding="0">
    <tbody>
    <tr>
    <td height="24"><a style="COLOR: #00009c; TEXT-DECORATION: none" href="http://www.google.com/"><img alt="Google" src="http://www.google.com/logos/Logo_40wht.gif" align="absMiddle" border="0" width="128" height="53"></a>
    <input maxLength="255" size="25" name="q" style="color: #800000; border: 1 solid #000000">
    <input type="submit" value="ابحث" name="btnG" style="color: #FFFFFF; font-family: Tahoma; background-color: #333300; border: 1 solid #000000"></td>
    </tr>
    </tbody>
    </table>
    </form>
    </center><!-- Search Google -->
    //////////////////////////////////////
    أخبار المفكرة الإسلامية
    <p align="center"><!--webbot bot="HTMLMarkup" startspan --><p align="center"><!--webbot bot="HTMLMarkup" startspan --><P align="left" class="para">
    <iframe id='myframe' src=' http://islammemo.cc/news/bar.asp?bgcolor_var=white &fgcolor_var=black&fontna me_var=tahoma&fontsize_va r=4&fontbold_var=1&fontit alic_var=0&fontunderline_ var=0&direction_var=right ' frameBorder='no' width='100&#37;' height='100&#37;'></iframe>
    </P>

    <!--webbot bot="HTMLMarkup" endspan -->
    </p>
    ////////////////////////////////////////////
    اخر الاخبار من موقع البي بي سي جديد
    <SCRIPT language=JavaScript><!--
    var g=new Date(); g=g.getTime()%1000;
    document.writeln('<iframe width=100% height=30 scrolling=no marginwidth=0 marginheight=0 frameborder=0 src=http://www.faisal1.com/bbc1m.php>');
    // --></SCRIPT>
    <NOSCRIPT><!--webbot bot="HTMLMarkup" startspan --><IFRAME
    marginWidth=0 marginHeight=0
    frameBorder=0 width=0 scrolling=no
    height=0><!--webbot bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup" startspan --></IFRAME></IFRAME><!--webbot bot="HTMLMarkup" endspan --></NOSCRIPT>
    ///////////////////////////////////
    كود اخر الاخبار من قناة الجزيرة معدل
    <SCRIPT language=JavaScript><!--
    var g=new Date(); g=g.getTime()%1000;
    document.writeln('<iframe width=100% height=17 scrolling=no marginwidth=0 marginheight=0 frameborder=0 src=http://www.faisal1.com/News_Grab/jazeera.php>');
    // --></SCRIPT>
    <NOSCRIPT><!--webbot bot="HTMLMarkup" startspan --><IFRAME
    marginWidth=0 marginHeight=0
    frameBorder=0 width=0 scrolling=no
    height=0><!--webbot bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup" startspan --></IFRAME></IFRAME><!--webbot bot="HTMLMarkup" endspan --></NOSCRIPT>
    <body bgcolor="#ffffff">
    /////////////////////////////////
    تقويم عربي
    <BODY>
    <CENTER>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    monthnames = new Array(
    "يناير",
    "فبراير",
    "مارس",
    "ابريل",
    "مايو",
    "يونيو",
    "يوليو",
    "اغسطس",
    "سبتمبر",
    "اكتوبر",
    "نوفبر",
    "ديسمبر");
    var linkcount=0;
    function addlink(month, day, href) {
    var entry = new Array(3);
    entry[0] = month;
    entry[1] = day;
    entry[2] = href;
    this[linkcount++] = entry;
    }
    Array.prototype.addlink = addlink;
    linkdays = new Array();
    monthdays = new Array(12);
    monthdays[0]=31;
    monthdays[1]=28;
    monthdays[2]=31;
    monthdays[3]=30;
    monthdays[4]=31;
    monthdays[5]=30;
    monthdays[6]=31;
    monthdays[7]=31;
    monthdays[8]=30;
    monthdays[9]=31;
    monthdays[10]=30;
    monthdays[11]=31;
    todayDate=new Date();
    thisday=todayDate.getDay( );
    thismonth=todayDate.getMo nth();
    thisdate=todayDate.getDat e();
    thisyear=todayDate.getYea r();
    thisyear = thisyear % 100;
    thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));
    if (((thisyear % 4 == 0)
    && !(thisyear % 100 == 0))
    ||(thisyear % 400 == 0)) monthdays[1]++;
    startspaces=thisdate;
    while (startspaces > 7) startspaces-=7;
    startspaces = thisday - startspaces + 1;
    if (startspaces < 0) startspaces+=7;
    document.write("<table border=2 bgcolor=white ");
    document.write("bordercol or=black><font color=black>");
    document.write("<tr><td colspan=7><center><strong >"
    + monthnames[thismonth] + " " + thisyear
    + "</strong></center></font></td></tr>");
    document.write("<tr>");
    document.write("<td align=center>الاحد</td>");
    document.write("<td align=center>الاثنين</td>");
    document.write("<td align=center>الثلاثاء</td>");
    document.write("<td align=center>الاربعاء</td>");
    document.write("<td align=center>الخميس</td>");
    document.write("<td align=center>الجمعة</td>");
    document.write("<td align=center>السبت</td>");
    document.write("</tr>");
    document.write("<tr>");
    for (s=0;s<startspaces;s++) {
    document.write("<td> </td>");
    }
    count=1;
    while (count <= monthdays[thismonth]) {
    for (b = startspaces;b<7;b++) {
    linktrue=false;
    document.write("<td>");
    for (c=0;c<linkdays.length;c+ +) {
    if (linkdays[c] != null) {
    if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) {
    document.write("<a href=\"" + linkdays[c][2] + "\">");
    linktrue=true;
    }
    }
    }
    if (count==thisdate) {
    document.write("<font color='FF0000'><strong>") ;
    }
    if (count <= monthdays[thismonth]) {
    document.write(count);
    }
    else {
    document.write(" ");
    }
    if (count==thisdate) {
    document.write("</strong></font>");
    }
    if (linktrue)
    document.write("</a>");
    document.write("</td>");
    count++;
    }
    document.write("</tr>");
    document.write("<tr>");
    startspaces=0;
    }
    document.write("</table></p>");
    // End -->
    </SCRIPT>
    </CENTER>
    //////////////////
    ساعه عقارب
    <script language="JavaScript">

    fCol='000000';//face colour.
    sCol='ff0000';//seconds colour.
    mCol='000000';//minutes colour.
    hCol='000000';//hours colour.


    H='....';
    H=H.split('');
    M='.....';
    M=M.split('');
    S='......';
    S=S.split('');
    Ypos=0;
    Xpos=0;
    Ybase=8;
    Xbase=8;
    dots=12;
    ns=(document.layers)?1:0;
    if (ns){
    dgts='1 2 3 4 5 6 7 8 9 10 11 12';
    dgts=dgts.split(' ')
    for (i=0; i < dots; i++){
    document.write('<layer name=nsDigits'+i+' top=0 left=0 height=30 width=30><center><font face=Arial,Verdana size=1 color='+fCol+'>'+dgts[i]+'</font></center></layer>');
    }
    for (i=0; i < M.length; i++){
    document.write('<layer name=ny'+i+' top=0 left=0 bgcolor='+mCol+' clip="0,0,2,2"></layer>');
    }
    for (i=0; i < H.length; i++){
    document.write('<layer name=nz'+i+' top=0 left=0 bgcolor='+hCol+' clip="0,0,2,2"></layer>');
    }
    for (i=0; i < S.length; i++){
    document.write('<layer name=nx'+i+' top=0 left=0 bgcolor='+sCol+' clip="0,0,2,2"></layer>');
    }
    }
    else{
    document.write('<div style="position:absolute; top:0px;left:0px"><div style="position:relative" >');
    for (i=1; i < dots+1; i++){
    document.write('<div id="ieDigits" style="position:absolute; top:0px;left:0px;width:30 px;height:30px;font-family:Arial,Verdana;font-size:10px;color:'+fCol+'; text-align:center;padding-top:10px">'+i+'</div>');
    }
    document.write('</div></div>')
    document.write('<div style="position:absolute; top:0px;left:0px"><div style="position:relative" >');
    for (i=0; i < M.length; i++){
    document.write('<div id=y style="position:absolute; width:2px;height:2px;font-size:2px;background:'+mCo l+'"></div>');
    }
    document.write('</div></div>')
    document.write('</div></div>')
    document.write('<div style="position:absolute; top:0px;left:0px"><div style="position:relative" >');
    for (i=0; i < H.length; i++){
    document.write('<div id=z style="position:absolute; width:2px;height:2px;font-size:2px;background:'+hCo l+'"></div>');
    }
    document.write('</div></div>')
    document.write('<div style="position:absolute; top:0px;left:0px"><div style="position:relative" >');
    for (i=0; i < S.length; i++){
    document.write('<div id=x style="position:absolute; width:2px;height:2px;font-size:2px;background:'+sCo l+'"></div>');
    }
    document.write('</div></div>')
    }
    function clock(){
    time = new Date ();
    secs = time.getSeconds();
    sec = -1.57 + Math.PI * secs/30;
    mins = time.getMinutes();
    min = -1.57 + Math.PI * mins/30;
    hr = time.getHours();
    hrs = -1.57 + Math.PI * hr/6 + Math.PI*parseInt(time.get Minutes())/360;
    if (ns){
    Ypos=window.pageYOffset+w indow.innerHeight-60;
    Xpos=window.pageXOffset+w indow.innerWidth-80;
    }
    else{
    Ypos=document.body.scroll Top+window.document.body. clientHeight-60;
    Xpos=document.body.scroll Left+window.document.body .clientWidth-60;
    }
    if (ns){
    for (i=0; i < dots; ++i){
    document.layers["nsDigits"+i].top=Ypos-5+40*Math.sin(-0.49+dots+i/1.9);
    document.layers["nsDigits"+i].left=Xpos-15+40*Math.cos(-0.49+dots+i/1.9);
    }
    for (i=0; i < S.length; i++){
    document.layers["nx"+i].top=Ypos+i*Ybase*Math.si n(sec);
    document.layers["nx"+i].left=Xpos+i*Xbase*Math.c os(sec);
    }
    for (i=0; i < M.length; i++){
    document.layers["ny"+i].top=Ypos+i*Ybase*Math.si n(min);
    document.layers["ny"+i].left=Xpos+i*Xbase*Math.c os(min);
    }
    for (i=0; i < H.length; i++){
    document.layers["nz"+i].top=Ypos+i*Ybase*Math.si n(hrs);
    document.layers["nz"+i].left=Xpos+i*Xbase*Math.c os(hrs);
    }
    }
    else{
    for (i=0; i < dots; ++i){
    ieDigits[i].style.pixelTop=Ypos-15+40*Math.sin(-0.49+dots+i/1.9);
    ieDigits[i].style.pixelLeft=Xpos-14+40*Math.cos(-0.49+dots+i/1.9);
    }
    for (i=0; i < S.length; i++){
    x[i].style.pixelTop =Ypos+i*Ybase*Math.sin(se c);
    x[i].style.pixelLeft=Xpos+i*X base*Math.cos(sec);
    }
    for (i=0; i < M.length; i++){
    y[i].style.pixelTop =Ypos+i*Ybase*Math.sin(mi n);
    y[i].style.pixelLeft=Xpos+i*X base*Math.cos(min);
    }
    for (i=0; i < H.length; i++){
    z[i].style.pixelTop =Ypos+i*Ybase*Math.sin(hr s);
    z[i].style.pixelLeft=Xpos+i*X base*Math.cos(hrs);
    }
    }
    setTimeout('clock()',50);
    }
    if (document.layers || document.all) window.onload=clock;
    //-->
    </script>
    //////////////////////////
    اله تحويل التاريخ بين التقويمين الهجري و الميلادي
    <HTML>
    <HEAD>
    <Title>Islamic Calendar</TITLE>

    <SCRIPT LANGUAGE="JavaScript">

    function intPart(floatNum){
    if (floatNum< -0.0000001){
    return Math.ceil(floatNum-0.0000001)
    }
    return Math.floor(floatNum+0.000 0001)
    }
    function weekDay(wdn){
    if(wdn==0){
    return "الأثنين"
    }
    if(wdn==1){
    return "الثلاثاء"
    }
    if(wdn==2){
    return "الإربعاء"
    }
    if(wdn==3){
    return "الخميس"
    }
    if(wdn==4){
    return "الجمعه"
    }
    if(wdn==5){
    return "السبت"
    }
    if(wdn==6){
    return "الأحد"
    }
    return ""

    }
    function chrToIsl(arg) {
    d=parseInt(arg.CDay.value )
    m=parseInt(arg.CMonth.val ue)
    y=parseInt(arg.CYear.valu e)
    if ((y>1582)||((y==1582)&&(m >10))||((y==1582)&&(m==10 )&&(d>14)))
    {
    jd=intPart((1461*(y+4800+ intPart((m-14)/12)))/4)+intPart((367*(m-2-12*(intPart((m-14)/12))))/12)-
    intPart( (3* (intPart( (y+4900+ intPart( (m-14)/12) )/100) ) ) /4)+d-32075
    }
    else
    {
    jd = 367*y-intPart((7*(y+5001+intPar t((m-9)/7)))/4)+intPart((275*m)/9)+d+1729777
    }
    arg.JD.value=jd
    arg.wd.value=weekDay(jd%7 )
    l=jd-1948440+10632
    n=intPart((l-1)/10631)
    l=l-10631*n+354
    j=(intPart((10985-l)/5316))*(intPart((50*l)/17719))+(intPart(l/5670))*(intPart((43*l)/15238))
    l=l-(intPart((30-j)/15))*(intPart((17719*j)/50))-(intPart(j/16))*(intPart((15238*j)/43))+29
    m=intPart((24*l)/709)
    d=l-intPart((709*m)/24)
    y=30*n+j-30

    arg.HDay.value=d
    arg.HMonth.value=m
    arg.HYear.value=y
    }
    function islToChr(arg) {
    d=parseInt(arg.HDay.value )
    m=parseInt(arg.HMonth.val ue)
    y=parseInt(arg.HYear.valu e)
    jd=intPart((11*y+3)/30)+354*y+30*m-intPart((m-1)/2)+d+1948440-385
    arg.JD.value=jd
    arg.wd.value=weekDay(jd%7 )
    if (jd> 2299160 )
    {
    l=jd+68569
    n=intPart((4*l)/146097)
    l=l-intPart((146097*n+3)/4)
    i=intPart((4000*(l+1))/1461001)
    l=l-intPart((1461*i)/4)+31
    j=intPart((80*l)/2447)
    d=l-intPart((2447*j)/80)
    l=intPart(j/11)
    m=j+2-12*l
    y=100*(n-49)+i+l
    }
    else
    {
    j=jd+1402
    k=intPart((j-1)/1461)
    l=j-1461*k
    n=intPart((l-1)/365)-intPart(l/1461)
    i=l-365*n+30
    j=intPart((80*i)/2447)
    d=i-intPart((2447*j)/80)
    i=intPart(j/11)
    m=j+2-12*i
    y=4*k+n+i-4716
    }

    arg.CDay.value=d
    arg.CMonth.value=m
    arg.CYear.value=y

    }

    function cls(arg) {
    d=""
    m=""
    y=""
    arg.CDay.value=d
    arg.CMonth.value=m
    arg.CYear.value=y
    arg.HDay.value=d
    arg.HMonth.value=m
    arg.HYear.value=y
    arg.JD.value=""
    arg.wd.value=""
    }




    </SCRIPT>
    <BODY bgColor=#70e070>
    <CENTER><H1><font size="5">التحويل من التاريخ الهجري-الميلادي و العكس</font></H1>
    <P>

    <HR>
    <P>
    <CENTER><TABLE BORDER width="315">
    <TR><TH width="56">السنــــه</TH><TH width="57">الشهــر</TH><TH width="60">اليــوم</TH>
    <TH width="114"> </TH></TR>
    <TR>
    <FORM NAME="Irgendڑppis">
    <TH width="56"><INPUT TYPE="text" NAME="HYear" VALUE="1423"SIZE=4></TH>
    <TH width="57"><INPUT TYPE="text" NAME="HMonth" VALUE="1"SIZE=4></TH>
    <TH width="60"><INPUT TYPE="text" NAME="HDay" VALUE="1"SIZE=4></TH>
    <TH width="114">هجري</TH></TR>
    <TR>
    <TH width="56"><INPUT TYPE="text" NAME="CYear" VALUE=""SIZE=4></TH>
    <TH width="57"><INPUT TYPE="text" NAME="CMonth" VALUE=""SIZE=4></TH>
    <TH width="60"><INPUT TYPE="text" NAME="CDay" VALUE="" SIZE=4></TH>
    <TH width="114">ميلادي </TH></TR></TABLE>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="36%" id="AutoNumber1" height="65" bordercolorlight="#70E070 " bordercolordark="#70E070" >
    <tr>
    <td width="50%" rowspan="2" height="65" bordercolorlight="#70E070 " bordercolordark="#70E070" valign="bottom">
    <INPUT TYPE="button" NAME="clear" VALUE="مسح" onClick="cls(this.form)" style="width: 57; height: 57; float: left">
    </td>
    <td width="50%" height="39" bordercolorlight="#70E070 " bordercolordark="#70E070" ><INPUT TYPE="button" NAME="HtoC" VALUE="للتحويل من التاريخ الهجري للميلادي" onClick="islToChr(this.fo rm)"></td>
    </tr>
    <tr>
    <td width="50%" height="25" bordercolorlight="#70E070 " bordercolordark="#70E070" >
    <INPUT TYPE="button" NAME="CtoH" VALUE="للتحويل من التاريخ الميلادي للهجري" onClick="chrToIsl(this.fo rm)"></td>
    </tr>
    </table>
    <P dir="rtl">
    <b><font size="5"><span lang="ar-sa">اليوم :</span></font></b><INPUT TYPE="text" NAME="wd" VALUE="" SIZE=10><span lang="en-us"> </span> <b><span lang="en-us">
    </span>التاريخ الجولياني<span lang="en-us"> </span></b> <INPUT TYPE="text" NAME="JD" VALUE="" SIZE=7><HR>

    <P>
    </FORM>

    </BODY></HTML>

     
  2. #2
    المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute المودة has a reputation beyond repute الصورة الرمزية المودة
    تاريخ التسجيل
    17 / 08 / 2004
    العمر
    32
    المشاركات
    20,806
    معدل تقييم المستوى
    26158

    افتراضي مشاركة: مجموعة أكواد .!

    بارك الله فيك ... الف شكر على قحشة الأكواد هاذي ... بس لو تظلل كل كود تحطه بعدين تختار زرار كود في الصندوق الماسي كان يا سلام ... تحياتي .

     
  3. #3
    تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future تعب has a brilliant future الصورة الرمزية تعب
    تاريخ التسجيل
    18 / 09 / 2005
    الدولة
    الـ,,,ــعــوديــة
    المشاركات
    1,385
    معدل تقييم المستوى
    1771

    افتراضي مشاركة: مجموعة أكواد .!

    اهلا وسهلا

    الله يعطيك العافيه ويبارك فيك

    الف شكر

    لك مني أجمل تحيه

     
  4. #4
    الطبيب البهلولي is on a distinguished road
    تاريخ التسجيل
    03 / 07 / 2008
    الدولة
    مجهولة
    العمر
    54
    المشاركات
    27
    معدل تقييم المستوى
    221

    افتراضي رد: مجموعة أكواد .!

    الله يعطيك العافيه ويبارك فيك

    الف شكر

    لك مني أجمل تحيه

     
  5. #5
    قادم is on a distinguished road الصورة الرمزية قادم
    تاريخ التسجيل
    29 / 12 / 2007
    الدولة
    السعودية
    العمر
    46
    المشاركات
    470
    معدل تقييم المستوى
    670

    افتراضي رد: مجموعة أكواد .!

    شـكــ وبارك الله فيك ـــرا لك ... لك مني أجمل تحية .
    منتديات صدى القصيم

     

 
+ الرد على الموضوع

معلومات الموضوع

الأعضاء الذين يشاهدون هذا الموضوع

الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)

     

مواقع النشر (المفضلة)

مواقع النشر (المفضلة)

ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك