اكود الحجازي

3 مشترك

اذهب الى الأسفل

اكود الحجازي  Empty اكود الحجازي

مُساهمة من طرف 0927315622 الخميس 7 أكتوبر 2010 - 14:41

يوم جيبت مجموعه من اكود لزامه لتسئس المنتدي
الساعة مع تاريخ ضمن جدول
الكود:
<CENTER>
                  <SCRIPT language=JavaScript>
             
/* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use
* Translated By www.star28.com/
*/

    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 readOnly size=11
                  value=....Initializing.... name=face></FORM>
                  <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.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=#FFFFCC ");
document.write("bordercolor=BLACK><font color=000000>");
document.write("<tr><td colspan=7><center><strong>"
+ monthnames[thismonth] + " " + thisyear
+ "</strong></center></font></td></tr>");
document.write("<tr>");
document.write("<td bgcolor=#FFFF66 align=center><font color=BLACK face=tahoma size=2>الاحد</font></td>");
document.write("<td bgcolor=#FFFF66 align=center><font color=BLACK face=tahoma size=2>الاثنين</font></td>");
document.write("<td bgcolor=#FFFF66 align=center><font color=BLACK face=tahoma size=2>الثلاثاء</font></td>");
document.write("<td bgcolor=#FFFF66 align=center><font color=BLACK face=tahoma size=2>الاربعاء</font></td>");
document.write("<td bgcolor=#FFFF66 align=center><font color=BLACK face=tahoma size=2>الخميس</font></td>");
document.write("<td bgcolor=#FFFF66 align=center><font color=BLACK face=tahoma size=2>الجمعة</font></td>");
document.write("<td bgcolor=#FFFF66 align=center><font color=BLACK face=tahoma size=2>السبت</font></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>

                  <SCRIPT language=JavaScript>
<!--
    startclock()
//-->
                              </SCRIPT>
                  </CENTER>

كود الوقت الذي قضيته بالصفحة

الكود:
<SCRIPT>

/* Visit our site at http://www.star28.com/ for more code
 This notice must stay intact for use */

 <!--  Activate Cloaking Device



 var onHours = " ";

 var onMinutes = " ";


 var onSeconds = " ";



 var offHours = 0;

 var offMinutes = 0;

 var offSeconds = 0;



 var logSeconds = 0;

 var logMinutes = 0;

 var logHours = 0;



 var OnTimeValue = " ";

 var OffTimeValue = " ";

 var PageTimeValue = " ";



 // Back to previous page.

 function WinOpen()

    {

    getLogoffTime();

    window.location="js-timet.htm"

    window.location="js-timet.htm"  // double call for Mac users??

    }



 // Loads HTML page to full window for View Source.

 function WinOpen1()

    {

    alert('View/Document Source from menu bar..., then close new window to return to this page. The animation of the radio buttons on the JavaScript index will be dead upon return. Reload the JavaScript page to get them going again. ');

    window.open("js-timer.htm","DisplayWindow","menubar=yes,scrollbars=yes");

    }



 // Captures logon time.

 function getLogonTime()

    {

    var now = new Date();

    // Used to display logon time.

    var ampm = (now.getHours() >= 12) ? " مساءً" : " صباحاً"

    var Hours = now.getHours();

          Hours = ((Hours > 12) ? Hours - 12 : Hours);

    var Minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes();


    var Seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds();

    // String to display log-on time.


    OnTimeValue =(" "


        + Hours


        + Minutes


        + Seconds


        + " "

        + ampm);



    // Capture logon time for use in timer().

    onHours = now.getHours();

    onMinutes = now.getMinutes();

    onSeconds = now.getSeconds(); 

    }



 function getLogoffTime()

    {

    var now = new Date();

    // Used to display logoff time.

    var ampm = (now.getHours() >= 12) ? " مساءً" : " صباحاً"

    var Hours = now.getHours();

          Hours = ((Hours > 12) ? Hours - 12 : Hours);


    var Minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes();


    var Seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds();

    // String to display log-off time.


    OffTimeValue =(" "


        + Hours


        + Minutes


        + Seconds


        + " "

        + ampm);



    // Capture logoff time for use in timer().

    offHours = now.getHours();

    offMinutes = now.getMinutes();

    offSeconds = now.getSeconds();



    timer();

    }



 // Compute difference between logoff time and logon time.

 function timer()

    {

    if (offSeconds >= onSeconds)

      { logSeconds = offSeconds - onSeconds; }

    else

      {

      offMinutes -= 1;

      logSeconds = (offSeconds + 60) - onSeconds;     

      }

    if (offMinutes >= onMinutes)

      { logMinutes = offMinutes - onMinutes; }

    else

      {

      offHours -= 1;

      logMinutes = (offMinutes + 60) - onMinutes;

      }

    logHours = offHours - onHours;



    // Used to display time on page.

    logHours =  ((logHours < 10) ? "0" : ":") + logHours;

    logMinutes = ((logMinutes < 10) ? ":0" : ":") + logMinutes;


    logSeconds = ((logSeconds < 10) ? ":0" : ":") +logSeconds;

    // String to display time on page.

    PageTimeValue =(" "


        + logHours


        + logMinutes


        + logSeconds);



    displayTimes();

    }



 function displayTimes()

    {

    alert("\n,وقت دخول الصفحة    : " +OnTimeValue+"\n\nالوقت الآن  : "+OffTimeValue+"\n\nالوقت الذي قضيته بالصفحة هو : " + PageTimeValue);

    }



 // Deactivate Cloaking -->

 </SCRIPT>
 

كود نافذة دعائية متحركة


الكود:
<SCRIPT LANGUAGE='JavaScript'><!--
/*
* Visit our site at http://www.star28.com/ for more code
*/

var popUp = 0;
var popURL = 0;
var popWidth = 0;
var popHeight = 0;

var thisMargin = 10;

var popTopPosition = thisMargin;
var popLeftPosition = thisMargin;

var pause = 20;
var step = 10;   // كل ما زودت الرقم كل ما اسرعت النافذة
var timer = 0;

var screenWidth = 0;
var screenHeight = 0;

var endX = 0;
var endY = 0;

function startPop(thisurl,thiswidth,thisheight) {
   popURL = thisurl;
   popWidth = thiswidth;
   popHeight = thisheight;

   popUp = window.open(popURL, "traveler","toolbar=no,width="+popWidth+",height="+popHeight+",top="+popTopPosition+",left="+(popLeftPosition)+"");

   screenWidth = window.screen.width;
   screenHeight = window.screen.height;
   endX = screenWidth - thiswidth - thisMargin;
   endY = screenHeight - thisheight - thisMargin;
   movedown();
}

function movedown() {
   if (popTopPosition <= endY - 50) {
      popUp.moveTo(popLeftPosition,popTopPosition);
      popTopPosition += step;
      timer = setTimeout("movedown()",pause);
   }
   else {
      clearTimeout(timer);
      popTopPosition = endY - 50;
      popUp.moveTo(popLeftPosition,popTopPosition);
      moveright();
   }
}

function moveright() {
   if (popLeftPosition <= endX) {
      popUp.moveTo(popLeftPosition,popTopPosition);
      popLeftPosition += step;
      timer = setTimeout("moveright()",pause);
   }
   else {
      clearTimeout(timer);
      popLeftPosition = endX;
      popUp.moveTo(popLeftPosition,popTopPosition);
      moveup();
   }
}

function moveup() {
   if (popTopPosition >= thisMargin) {
      popUp.moveTo(popLeftPosition,popTopPosition);
      popTopPosition -= step;
      timer = setTimeout("moveup()",pause);
   }
   else {
      clearTimeout(timer);
      popTopPosition = thisMargin;
      popUp.moveTo(popLeftPosition,popTopPosition);
      moveleft();
   }
}

function moveleft() {
   if (popLeftPosition >= thisMargin) {
      popUp.moveTo(popLeftPosition,popTopPosition);
      popLeftPosition -= step;
      timer = setTimeout("moveleft()",pause);
   }
   else {
      clearTimeout(timer);
      popLeftPosition = thisMargin;
      popUp.moveTo(popLeftPosition,popTopPosition);
   }
}

startPop('test.html','300','200'); // ضع رابط البانر هنا

// --></SCRIPT>

كودظهور صفحة لا تمكن الزائر من تكبيره

الكود:
<script>

//Pop-under window II- By JavaScript Kit
//Credit notice must stay intact for use
//Visit http://javascriptkit.com for this script
// Visit http://www.star28.com/ for more code
// Translated By http://www.star28.com/

// ضع رابط الموقع
var popunder=new Array()
popunder[0]="http://www.star28.com"
//specify popunder window features  // التحكم بالنافذة المفتوحة
//set 1 to enable a particular feature, 0 to disable
var winfeatures="width=600,height=300,scrollbars=0,resizable=0,toolbar=0,location=0,menubar=0,status=0,directories=0"

//Pop-under only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause popunder to load every time page is loaded
var once_per_session=0

/// لا تغير شي هنا/////

function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document·cookie.length > 0) {
    offset = document·cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
      offset += search.length
      // set index of beginning of value
      end = document·cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1)
        end = document·cookie.length;
      returnvalue=unescape(document·cookie.substring(offset, end))
      }
  }
  return returnvalue;
}

function loadornot(){
if (get_cookie('popunder')==''){
loadpopunder()
document·cookie="popunder=yes"
}
}

function loadpopunder(){
win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))],"",winfeatures)
win2.blur()
window.focus()
}

if (once_per_session==0)
loadpopunder()
else
loadornot()

</script>

صورة يستطيع تحريكها الزائر الى اليمين و اليسار

الكود:
<!-- Original:  Massimo Giari (motore@iol.it) -->

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

<script language="JavaScript">

/* Visit http://www.star28.com/ for more code */

<!-- Begin
 var ieKey, nKey;
n = (document.layers) ? 1 : 0;
ie = (document.all) ? 1 : 0;
function moveImage() {
if (n) {
block = document.blockDiv;
}
if (ie) {
block = blockDiv.style;
}
block.xpos = parseInt(block.left);
block.active = 0;
document.onkeydown = keyDown;
document.onkeyup = keyUp;
if (n) {
document.captureEvents(Event.keydown | Event.keyup);
  }
}
function keyDown(e) {
if (n) {
nKey = e.which;
ieKey = 0;
}
if (ie) {
ieKey = event.keyCode;
nKey = 0;
}
if ((nKey == 97 || ieKey == 65) && !block.active) { 
block.active = 1;
slideLeft();
}
if ((nKey == 100 || ieKey == 68) && !block.active) { 
block.active = 1;
slideRight();
  }
}
function keyUp(e) {
if (n) {
nKey = e.which;
ieKey = 0;
}
if (ie) {
ieKey = event.keyCode;
nKey = 0;
}
if ((nKey == 97 || ieKey == 65 || nKey == 100 || ieKey == 68))
block.active = 0;
}
function slideRight() {
if (block.active) {
block.xpos += 5;
block.left = block.xpos;
status = block.xpos;
setTimeout("slideRight()", 25);
  }
}
function slideLeft() {
if (block.active) {
block.xpos -= 5;
block.left = block.xpos;
status = block.xpos;
setTimeout("slideLeft()", 25);
  }
}
//  End -->
</script>
  <div id="blockDiv" STYLE="position:absolute; left:180px; top:110px; width:260px; height:28px">
<img src="SSSS.gif"></div>

 

صورة تظهر بالتدريج عند فتح الصفحة
الكود:
<script language="JavaScript">

/* Visit http://www.star28.com/ for more code
*/
<!-- begin script
function netie(net, ie) {
  if ((navigator.appVersion.substring(0,3) >= net && navigator.appName == 'Netscape' && net != -1) || (navigator.appVersion.substring(0,3) >= ie && navigator.appName.substring(0,9) == 'Microsoft' && ie != -1))
    return true;
else return false;
}
//  end script -->
</script>
<script language="JavaScript">
<!-- Start script
function loadImage()  {
  imageEffect.filters.item(0).Apply();
  imageEffect.style.visibility = "visible";
  imageEffect.filters.item(0).Play();
}
//  End script -->
</script>
 

ثلاثة بنرات تتبدل بشكل جميل
الكود:
<table width="470" height="90" dir="ltr"><tr><td>
<script>

var slideurl=new Array()
var slidecomment=new Array()
var slidelink=new Array()
var slidetarget=new Array()

///////////////////////////////////////////////////////////////////////////
// EDIT-ZONE STARTS HERE  // BY : WWW.STAR28.COM
//////////////////////////////////////////////////////////////////////////

// Set the URLs of your slides (images) // مسار الصور
slideurl[0]="b1.png"
slideurl[1]="b2.png"
slideurl[2]="b3.png"

// Add a link for each slide //
// If you don't want to link a slide type "#" instead (see middle-sample below)
// روابط البنرات على الترتيب
slidelink[0]="http://www.star28.com"
slidelink[1]="http://www.ttt4.com"
slidelink[2]="http://vb.star28.net"

// Add a target for each link
// Allowed values are: "_blank", "_top", "_parent", "_self" or the name of a frame
slidetarget[0]="_blank"
slidetarget[1]="_blank"
slidetarget[2]="_blank"

// Add a comment for each slide // الوصف
slidecomment[0]="وصف البانر رقم  - 1 -"
slidecomment[1]="وصف البانر رقم  - 2 - "
slidecomment[2]="وصف البانر رقم  - 3 -"

// Set the font for the comments
var slidefont="TAHOMA" // نوع الخط

// Set the fontcolor for the comments
var slidefontcolor="black" // لون الخط

// Set the fontsize for the comments (HTML-values ranging form 1 - 6)
var slidefontsize=2 // حجم الخط

// Set the width of the pictures (pixels)
var slidewidth=468 // عرض الصورة بالبكسل

// Set the height of the pictures (pixels)
var slideheight=60 // طول الصورة بالبكسل

// Set the pause between the pictures (seconds)
var pause=5 // المدة الفاصلة بين كل صورة

///////////////////////////////////////////////////////////////////////////
// EDIT-ZONE ENDS HERE
//////////////////////////////////////////////////////////////////////////

var preloadedimages=new Array()
for (i=0;i<slideurl.length;i++){
   preloadedimages[i]=new Image()
   preloadedimages[i].src=slideurl[i]
}

var ns4=document.layers?1:0
var ns6=document.getElementById&&!document.all?1:0
var ie=document.all?1:0

var imgpreload=new Array()
for (i=0;i<=slideurl.length-1;i++) {
   imgpreload[i]=new Image()
   imgpreload[i].src=slideurl[i]
}

var pos_left=0
var pos_top=0
var speed=20
var step=10
var i_loop=0
var i_image1=0
var i_image2=1
var i_space=""
var all_space=""
var max_space=20
var content=""
var i_slide=0
pause*=1000

function stretchimage() {
   if (i_loop<=slidewidth) {
      if (ie) {
         imgcontainer1.innerHTML="<a href='"+slidelink[i_image1]+"' target='"+slidetarget[i_image1]+"'><img width='"+i_loop+"' height='"+slideheight+"' src='"+slideurl[i_image1]+"' border='0'></a>"
         document.all.imgcontainer2.style.posLeft=document.all.imgcontainer1.style.posLeft+i_loop
         
         imgcontainer2.innerHTML="<a href='"+slidelink[i_image2]+"' target='"+slidetarget[i_image2]+"'><img width='"+(slidewidth-i_loop)+"' height='"+slideheight+"' src='"+slideurl[i_image2]+"' border='0'></a>"
      }
      if (ns6) {
         document.getElementById('imgcontainer1').innerHTML="<a href='"+slidelink[i_image1]+"' target='"+slidetarget[i_image1]+"'><img width='"+i_loop+"' height='"+slideheight+"' src='"+slideurl[i_image1]+"' border='0'></a>"
         document.getElementById('imgcontainer2').style.left=parseInt(document.getElementById('imgcontainer1').style.left)+i_loop
         
         document.getElementById('imgcontainer2').innerHTML="<a href='"+slidelink[i_image2]+"' target='"+slidetarget[i_image2]+"'><img width='"+(slidewidth-i_loop)+"' height='"+slideheight+"' src='"+slideurl[i_image2]+"' border='0'></a>"
      }
      i_loop=i_loop+step
      var timer=setTimeout("stretchimage()",speed)
     }
   else {
      clearTimeout(timer)
      var imgcontent="<a href='"+slidelink[i_image1]+"' target='"+slidetarget[i_image1]+"'><img width='"+i_loop+"' height='"+slideheight+"' src='"+slideurl[i_image1]+"' border='0'></a><br><center><font face='"+slidefont+"' size="+slidefontsize+" color='"+slidefontcolor+"'>"+slidecomment[i_image1]+"</font></center>"
      if (ie) {
         imgcontainer1.innerHTML=imgcontent
         document.all.imgcontainer2.style.posLeft=document.all.imgcontainer1.style.posLeft+i_loop   
         imgcontainer2.innerHTML=""
      }
      if (ns6) {
         document.getElementById('imgcontainer1').innerHTML=imgcontent
   document.getElementById('imgcontainer2').style.left=parseInt(document.getElementById('imgcontainer1').style.left)+i_loop   
         document.getElementById('imgcontainer2').innerHTML=""
      
      }
      changeimage()
   }
}

function changeimage() {
   i_loop=0
   i_image1++
   if (i_image1>slideurl.length-1) {i_image1=0}
   i_image2=i_image1-1
   if (i_image2>slideurl.length-1) {i_image2=0}
   if (i_image2<0) {i_image2=slideurl.length-1}
   if (ie) {
      document.all.imgcontainer2.style.posLeft=document.all.imgcontainer1.style.posLeft
   }
   if (ns6) {
      document.getElementById('imgcontainer2').style.left=parseInt(document.getElementById('imgcontainer2').style.left)
   }
     var timer=setTimeout("stretchimage()",pause)
}


function simpleslideshow() {
   i_slide++
   if (i_slide>=slideurl.length) {i_slide=0}
   document.slideimage.src=preloadedimages[i_slide].src
   simpleslideshowcomment()
   var fadetimer=setTimeout("simpleslideshow()",pause)
}

function simpleslideshowcomment() {
   if (i_space>=0){
      all_space=""
      content=""
      for (i=0;i<i_space;i++) {
         all_space+=" "
      }
      for (i=0;i<slidecomment[i_slide].length;i++) {
         var thisletter=slidecomment[i_slide].substring(i,i+1)
         thisletter=thisletter+all_space
         content+=thisletter
      }
      window.status=content
      i_space--
      var fadetimer=setTimeout("simpleslideshowcomment()",20)
   }
   else {
      clearTimeout(fadetimer)
      i_space=max_space
   }
}

function simpleslideshowjump() {
   if (slidetarget[i_slide]=="_self") {
      document.location.href=slidelink[i_slide]
   }
   else if (slidetarget[i_slide]=="_blank") {
      codepopup=window.open(slidelink[i_slide], "code", "status=yes,location=yes,toolbar=yes,menubar=yes,resizable=yes,scrollbars=yes,width=780,height=580,top=10,left=10");
   }
   else if (slidetarget[i_slide]=="_top") {
      top.location.href=slidelink[i_slide]
   }
   
   else if (slidetarget[i_slide]=="_parent") {
      parent.location.href=slidelink[i_slide]
   }
   else {
      var jumpto=eval("parent."+slidetarget[i_slide])
      jumpto.location.href=slidelink[i_slide]
   }
}

if (ie || ns6) {
   var slideh=slideheight+30
   document.write("<div style="position:relative;width:"+slidewidth+"px;height:"+slideh+"px;overflow:hidden">")
   document.write("<div id="imgcontainer1" style="position:absolute;width:"+slidewidth+"px;height:"+slideh+"px;top:0px;left:0px"><img src=""+slideurl[0]+""></div>")
      document.write("<div id="imgcontainer2" style="position:absolute;width:"+slidewidth+"px;height:"+slideh+"px;top:0px;left:0px"><img src=""+slideurl[1]+""></div>")
   document.write("</div>")
   window.onload=stretchimage
}
else {
   document.write("<a href="javascript:simpleslideshowjump()"><img name="slideimage" src=""+slideurl[0]+"" border=0></a>")
   window.onload=simpleslideshow
}
</script>
</td></tr></table>

اعلان مثل رسالة الماسنجر يختفي بعد الوقت الذي تحدده
الكود:
<div id="watermarklogo" style="position:absolute;"></div>
<script src="staticlogo.js"></script>

الآلة الحاسبة الإلكترونية
الكود:
 
  <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>
                 <FONT COLOR="#CC0000" face="Arial"><P><B>الألة الحاسبة
                        الإلكترونية</B></P></FONT>
                  <FORM name="calc">
                        <DIV align="center">
                 <TABLE border="1" bgcolor="#0033CC">
                          <TR>
                            <TD colSpan="4"><INPUT size=30
                              name=expr action="compute(this.form)"></TD></TR>
                          <TR>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, seven)" type=button value="  7  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, eight)" type=button value="  8  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, nine)" type=button value="  9  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, divide)" type=button value="  /  "></P></TD></TR>
                          <TR>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, four)" type=button value="  4  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, five)" type=button value="  5  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, six)" type=button value="  6  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, multiply)" type=button value="  *  "></P></TD></TR>
                          <TR>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, one)" type=button value="  1  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, two)" type=button value="  2  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, three)" type=button value="  3  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, minus)" type=button value="  -  "></P></TD></TR>
                          <TR>
                            <TD bgColor="#000033" colSpan=2>
                              <P><INPUT onclick="enter(this.form, zero)" type=button value="      0      "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, decimal)" type=button value="  .  "></P></TD>
                            <TD bgColor="#000033">
                              <P><INPUT onclick="enter(this.form, plus)" type=button value="  +  "></P></TD></TR>
                          <TR>
                            <TD bgColor="#000033" colSpan=2>
                              <P><INPUT onclick=compute(this.form) type=button value="  =  "></P></TD>
                            <TD bgColor="#000033" colSpan=2>
                              <P><INPUT onclick=clear(this.form) type=reset value=AC>
                       </P></TD></TR></TABLE></DIV></FORM>
                       <P align="center">
                              <FONT face="Courier , New tahoma , erdana, arial, helveticav" size="2"
                              color="#0000FF"><B><A target="_blank" href="http://www.star28.com" style="TEXT-DECORATION: NONE">BY STAR28.com</A></B></FONT></P>
 
 
 

كود أخبر صديقك
الكود:
  <SCRIPT LANGUAGE="JavaScript">
<!-- Begin

///* Tell-a-friend script                                  */
///* Carl Dimmer                                            */
///* Translated By www.star28.com                          */
///* Visit our site at http://www.star28.com/ for more code */

var initialsubj="السلام عليكم"
var initialmsg="مرحبا:\n .... أثناء تجولي في الانترنت وجدت هذا الموقع و أتمنى أن ينال اعجابك ....... تحياتي لك: "+window.location
var good;
function checkEmailAddress(field) {

var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
if (goodEmail) {
good = true;
}
else {
alert('يرجى أدخال بريد الكتروني صحيح');
field.focus();
field.select();
good = false;
  }
}
u = window.location;
function mailThisUrl() {
good = false
checkEmailAddress(document.eMailer.email);
if (good) {
http://window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u;
window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg
  }
}
//  End -->
</script>
 
 
 
 
ارجو نقل الي تقنيات
لايزال هنالك اكود لكن اتساع الصفحه اصبح كبير
0927315622
0927315622
 
 

ذكر
عدد المساهمات : 1677
معدل النشاط : 6736
السُمعة : 0

http://animeiat22.yoo7.com

الرجوع الى أعلى الصفحة اذهب الى الأسفل

اكود الحجازي  Empty رد: اكود الحجازي

مُساهمة من طرف ابراهيم الخالدي الخميس 7 أكتوبر 2010 - 14:42

مشكوررررررررررررررررررررررررررررر اكتير خيو
ابراهيم الخالدي
ابراهيم الخالدي
 
 

ذكر
عدد المساهمات : 507
معدل النشاط : 5724
السُمعة : 1

الرجوع الى أعلى الصفحة اذهب الى الأسفل

اكود الحجازي  Empty رد: اكود الحجازي

مُساهمة من طرف 0927315622 الخميس 7 أكتوبر 2010 - 14:45

يعي انشاء والله اكود منيحه انا عندي المزيد والمزيد بس لو عجبهم هذا المضع راح اجيب تاني
0927315622
0927315622
 
 

ذكر
عدد المساهمات : 1677
معدل النشاط : 6736
السُمعة : 0

http://animeiat22.yoo7.com

الرجوع الى أعلى الصفحة اذهب الى الأسفل

اكود الحجازي  Empty رد: اكود الحجازي

مُساهمة من طرف ReeF الخميس 7 أكتوبر 2010 - 14:57

قولتلك جمع كل الاكواد ف موضوع واحد
اكود الحجازي  221706
ReeF
ReeF
 
 

ذكر
عدد المساهمات : 3286
معدل النشاط : 27646
السُمعة : 11

https://www.facebook.com/EnG.IsLam.ELbana

الرجوع الى أعلى الصفحة اذهب الى الأسفل

الرجوع الى أعلى الصفحة

- مواضيع مماثلة

 
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى