تحميل...

مجموعة من الأكواد لتزين المدونة حتى تظهر في شكل جيد


بسم الله الرحمن الرحيم
مرحبا بكم من جديد على مدونة موحو للمعلوميات ، ما من أحد منا يملك مدونة إلا ويسعى أن يجعلها من أفضل المدونات لهذا ارتأيت أن أضع مجموعة من الأكواد لتزين المدونة حتى تظهر في شكل جيد.
و الآن أترككم مع هذه النبذة من الأكواد الرائعة وطريقة إضافته إلى المدونة تجدونها في الأسفل




كود لأخبار قناة الجزيرة على شكل قائمة أفقية متحركة


<SCRIPT language=JavaScript><!--
var g=new Date(); g=g.getTime()%1000;
document.writeln('<iframe width=100% height=100 scrolling=no marginwidth=0 marginheight=0 frameborder=0 src=http://faisal1.com/News_Grab/vjazeera.php>');
// --></SCRIPT>
                        <NOSCRIPT><IFRAME
                        marginWidth=0 marginHeight=0
                        frameBorder=0 width=0 scrolling=no
                        height=0></IFRAME></NOSCRIPT>



كود لشريط أخر الأخبار من قناة الجزيرة



<iframe width=100% height=20 scrolling=no marginwidth=0 marginheight=0 frameborder=0 src="http://www.faisal1.com/News_Grab/jazeera.php"></iframe>



الأخبار الاقتصادية من العربية بالفلاش


<iframe src="http://www.biz4all.biz/tickerAdmin/rssHtmlFiles/arabiaFIN.php" scrolling="no" frameborder="0" width="450" height="50"></iframe>



أخبار المفكرة الإسلامية


<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&fontname_var=tahoma&fontsize_var=4&fontbold_var=1&fontitalic_var=0&fontunderline_var=0&direction_var=right' frameBorder='no' width='100&#37;' height='100&#37;'></iframe>
   </P>

<!--webbot bot="HTMLMarkup" endspan -->
</p>



التاريخ الميلادي


<BODY>
<CENTER>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- 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.getMonth();
thisdate=todayDate.getDate();
thisyear=todayDate.getYear();
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("bordercolor=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>
function compute(obj)
   {obj.expr.value = eval(obj.expr.value)}
var one = '1'
var two = '2'
var three = '3'
var four = '4'
var five = '5'
var six = '6'
var seven = '7'
var eight = '8'
var nine = '9'
var zero = '0'
var plus = '+'
var minus = '-'
var multiply = '*'
var divide = '/'
var decimal = '.'
function enter(obj, string)
   {obj.expr.value += string}
function clear(obj)
   {obj.expr.value = ''}
</script>

<p align="center"><font color="#000000" size="3"
face="Verdana, Arial, Helvetica, sans-serif"><strong></strong></font><strong> </strong></p>

<form name="calc">
    <div align="center"><center><table border="1"
    bgcolor="#FFEAFF">
        <tr>
            <td colspan="4"><input type="text" size="30"
            name="expr" action="compute(this.form)"> </td>
        </tr>
        <tr>
            <td><p align="center"><input type="button"
            value="  7  " onclick="enter(this.form, seven)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  8  " onclick="enter(this.form, eight)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  9  " onclick="enter(this.form, nine)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="   /  " onclick="enter(this.form, divide)"> </p>
            </td>
        </tr>
        <tr>
            <td><p align="center"><input type="button"
            value="  4  " onclick="enter(this.form, four)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  5  " onclick="enter(this.form, five)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  6  " onclick="enter(this.form, six)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  *  " onclick="enter(this.form, multiply)"> </p>
            </td>
        </tr>
        <tr>
            <td><p align="center"><input type="button"
            value="  1  " onclick="enter(this.form, one)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  2  " onclick="enter(this.form, two)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  3  " onclick="enter(this.form, three)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="   -  " onclick="enter(this.form, minus)"> </p>
            </td>
        </tr>
        <tr>
            <td colspan="2"><p align="center"><input
            type="button" value="       0       "
            onclick="enter(this.form, zero)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="   .  " onclick="enter(this.form, decimal)"> </p>
            </td>
            <td><p align="center"><input type="button"
            value="  +  " onclick="enter(this.form, plus)"> </p>
            </td>
        </tr>
        <tr>
            <td colspan="2"><p align="center"><input
            type="button" value="   =   "
            onclick="compute(this.form)"> </p>
            </td>
            <td colspan="2"><p align="center"><input type="reset"
            value="AC" onclick="clear(this.form)"> </p>
            </td>
        </tr>
    </table>
    </center></div>
</form>

<p align="center"> </p>

<p align="center"><a
<p align="center">  </p>

<p> </p>
</body>
</html>



ساعة


<SCRIPT LANGUAGE="JavaScript">
    var timerID = null
    var timerRunning = false

    function stopclock()
    {
        if(timerRunning)
            clearTimeout(timerID)
        timerRunning = false
    }

    function startclock()
    {
        stopclock()
        showtime()
    }

    function showtime()
    {
        var now = new Date()
        var hours = now.getHours()
        var minutes = now.getMinutes()
        var seconds = now.getSeconds()
        var timeValue = "" + ((hours > 12) ? hours - 12 : hours)
        timeValue  += ((minutes < 10) ? ":0" : ":") + minutes
        timeValue  += ((seconds < 10) ? ":0" : ":") + seconds
        timeValue  += (hours >= 12) ? "PM" : "AM"
        document.clock.face.value = timeValue
        timerID = setTimeout("showtime()",1000)
        timerRunning = true
    }
//-->
</SCRIPT>

<form name="clock" onSubmit="0">
    <INPUT TYPE="text" NAME="face" SIZE=11 READONLY VALUE ="....Initializing....">
</form>

<SCRIPT LANGUAGE="JavaScript">
<!--
    startclock()
//-->
</SCRIPT>



كود لتحديث الصفحة


    <input type="Button" name="lukk" value=" قم بعمل تحديث للصفحة" style="font-size: x-small; font-family: Tahoma; font-weight: normal; color: BLAC; background-color: #FFFFC6;" onClick="javascript:location.reload()">








لعبة السدوكو


<br /><iframe style="width: 290px; height: 261px" height="260" src="http://www.odyssey.ie/sudoku/sudoku-google.html" frameborder="0" width="200" scrolling="no"></iframe>
<div style="text-align: center; margin: -8px 0px; width: 234px; background: #fff"></div>




أداة لرفع الصور



<table style="text-align: left; margin-left: auto; margin-right: auto;" border="1" cellpadding="1" cellspacing="1" width="100%"><tbody><tr><td style="text-align: center;"><center><div id="form_upload"> <form action="http://www.servimg.com/fa_upload.php" enctype="multipart/form-data" method="post" name="upload"> <p class="champ" style="text-align: center;"> <input onclick="switchuploadaddress(true);" checked name="uploadtype" style="border: 0pt none;" type="radio" /><label>اختيار صورة</label><span id="upfile"><input name="pic_file" size="25" style="width: 240px;" type="file" /></span></p> <p style="text-align: center;"> <span id="upurl" style="display: none;"><input name="pic_url" size="35" style="width: 240px; direction: ltr;" type="text" /></span><input name="cat_id" value="0" type="hidden" /><input name="email" value="goboy1000@gmail.com" type="hidden" /><input name="password" value="aa5c0a95aa1045a565c96df47c9f66" type="hidden" />"إضغط على زر رفع الصورة لتتحصل على رابط الصورة"</p> <p class="submit_button" style="text-align: center;"> <input name="submit" value="رفع الصورة" type="submit" /></p> </form> </div><center></center></center></td></tr></tbody></table>

لإضافة الأداة يجب التوجه إلى لوحة التحكم في المدونة ثم التخطيط ثم إضافة أداة جديدة بعد اختيار مكان مناسب للأداة ثم HTML / javascript  ثم نضع الكود المختار و نعمل حفظ و مبروك النتيجة












1 تعليق على "مجموعة من الأكواد لتزين المدونة حتى تظهر في شكل جيد "

شكرا أخي و الله استفدت كثيرا

Balas
  • "مجموعة من الأكواد لتزين المدونة حتى تظهر في شكل جيد "
محول الاكواد