ماسنجر 9  Windows Live Messenger  دليل المواقع تحميل من اليويتوب العاب فلاش اضف موقعك


العودة   منتديات شبكة البرامج Programs Forum > منتديات الكمبيوتر والانترنت > منتدى تطوير المواقع والمنتديات
التسجيل التعليمـــات قائمة الأعضاء التقويم البحث مشاركات اليوم اجعل كافة المشاركات مقروءة


30 كـود جـافـا أكثر من رائعة لأصحاب المواقع

منتدى تطوير المواقع والمنتديات


إنشاء موضوع جديد  رد
 
LinkBack أدوات الموضوع إبحث في الموضوع طرق مشاهدة الموضوع
قديم 06-27-2006, 12:58 AM   رقم المشاركة : 1
الأحلام
الــــمدير العــــــام
 
الصورة الرمزية الأحلام





الأحلام غير متواجد حالياً

الأحلام تم تعطيل التقييم


إرسال رسالة عبر مراسل MSN إلى الأحلام

افتراضي 30 كـود جـافـا أكثر من رائعة لأصحاب المواقع

السلام عليكم ورحمة الله وبركاته

أقدم لكم اليوم أكواد جافا أكثر من رائعة لأصحاب المواقع


فلنبدأ :

أولا : كيفية التركيب :

ضع الكود بمنطقة الـ <body>

ثانيا : الأكواد :

1- الاخبار من قناة الجزيرة

كود:
<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">
2- محرك بحث جوجلجديد
كود:
<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="<A href="http://www.google.com/"><img">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 -->
3- تقويم ميلادي
كود:
<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>
4- أله حاسبة
كود:
<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>
5- رسالة تظهر للزائر عندما يدخل لصفحتك
كود:
<SCRIPT LANGUAGE="JavaScript">
<!--
window.alert("مرحبا بكم  اتمنى ان ينال رضاكم موقعى بس لاتنسون الترشيح")
 
// -->
</SCRIPT>
6- كلمات تتبع الماوس
كود:
<HTML>
<HEAD>
  <TITLE>mouse</TITLE>
  <META name="description" content="">
  <META name="keywords" content="">
<style>.spanstyle {
 COLOR: white; FONT-FAMILY: Verdana; FONT-SIZE: 8pt; FONT-WEIGHT: bold; POSITION: absolute; TOP: -50px; VISIBILITY: visible
}
</style>
<SCRIPT LANGUAGE="JavaScript">
var x, y;
var step = 10;
var flag = 0;
var message = "حط الكتابه هنا ";
message = message.split("");
var xpos = new Array();
for (i = 0; i <= message.length - 1; i++) {
xpos[i] = -50;
}
var ypos = new Array();
for (i = 0; i <= message.length - 1; i++) {
ypos[i]= -50;
}
function handlerMM(e) {
x = (document.layers) ? e.pageX : document.body.scrollLeft + event.clientX;
y = (document.layers) ? e.pageY : document.body.scrollTop + event.clientY;
flag = 1;
}
function makesnake() {
if (flag == 1 && document.all) {
for (i = message.length - 1; i >= 1; i--) {
xpos[i] = xpos[i - 1] + step;
ypos[i] = ypos[i - 1];
}
xpos[0] = x + step;
ypos[0] = y;
for (i = 0; i < message.length - 1; i++) {
var thisspan = eval("span" + (i) + ".style");
thisspan.posLeft = xpos[i];
thisspan.posTop = ypos[i];
   }
}
else if (flag==1 && document.layers) {
for (i = message.length - 1; i >= 1; i--) {
xpos[i] = xpos[i - 1] + step;
ypos[i] = ypos[i - 1];
}
xpos[0] = x + step;
ypos[0] = y;
for (i = 0; i < message.length - 1; i++) {
var thisspan = eval("document.span" + i);
thisspan.left = xpos[i];
thisspan.top = ypos[i];
   }
}
var timer = setTimeout("makesnake()", 10);
}
// End -->
</script>
</HEAD>
<body bgcolor="#000080" text="#000000" onload="makesnake()"
style="OVERFLOW-X: hidden; OVERFLOW-Y: scroll; WIDTH: 100%">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
for (i = 0; i <= message.length-1; i++) {
document.write("<span id='span"+i+"' class='spanstyle'>");
document.write(message[i]);
document.write("</span>");
}
if (document.layers) {
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
// End -->
</script>
<//--><//"--><!-- VC layer -->
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write('<LAYER SRC="' + ValueBanner + '&t=html" WIDTH="' + IWidth
+ '" ');
document.write('HEIGHT="' + IHeight + '" VISIBILITY="hide" onLoad=');
document.write('"moveToAbsolute(VC.pageX,VC.pageY); clip.width=' + IWidth
+ '; ');
document.write('clip.height=' + IHeight +
'; visibility=\'show\'"></LAYER>');
// -->
</SCRIPT>
<!-- vc layer -->
</body>
</HTML>
7- منع الزر الأيمن
كود:
<script   
language="JavaScript"><!--   
 
function click() {   
if (event.button==2) {   
alert('لاداعى  للزر اليمين    ');   
}   
}   
document.onmousedown=click   
// -->    
// --></script><!-- http://kok.8k.COM-->
8- ساعة
كود:
<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>
9- كود لعمل العاب نارية في صفحتك
كود:
<layer name="a0" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,1,1"></layer>
<layer name="a1" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,1,1"></layer>
<layer name="a2" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,1,1"></layer>
<layer name="a3" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer>
<layer name="a4" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,1,1"></layer>
<layer name="a5" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer>
<layer name="a6" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,1,1"></layer>
<layer name="a7" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,1,1"></layer>
<layer name="a8" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,1,1"></layer>
<layer name="a9" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,1,1"></layer>
<layer name="a10" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></layer>
<layer name="a11" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,2,2"></layer>
<layer name="a12" left=10 top=10 visibility=show bgcolor="#0000ff" clip="0,0,2,2"></layer>
<layer name="a13" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,2,2"></layer>
<script language="JavaScript">
/*
Document firework script (By Kurt Gregg, kurt.grigg@virgin.net)
Modified granted to Dynamic Drive to feature script in archive
For full source and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
if (document.all)
with(document){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')
write('</div>')
}
 
var Clrs=new Array(9)
Clrs[0]='ff0000';
Clrs[1]='00ff00';
Clrs[2]='000aff';
Clrs[3]='ff00ff';
Clrs[4]='ffa500';
Clrs[5]='ffff00';
Clrs[6]='00ff00';
Clrs[7]='ffffff';
Clrs[8]='fffff0';
var sClrs=new Array(5)
sClrs[0]='ffa500';
sClrs[1]='55ff66';
sClrs[2]='AC9DFC';
sClrs[3]='fff000';
sClrs[4]='fffff0';
var yBase;
var xBase;
var step;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;
var initialStarColor='ffa000';
var Mtop=250;
var Mleft=250;
function Fireworks() {
if (document.all)
{
yBase = window.document.body.offsetHeight/3;
xBase = window.document.body.offsetWidth/8;
}
else if (document.layers)
{
yBase = window.innerHeight/3;
xBase = window.innerWidth/8;
}
if (document.all)
{
step=5;
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{
for (ai=0; ai < Clrs.length; ai++)
{
var c=Math.round(Math.random()*[ai]);
}
if (currStep < 90)
starsDiv.all[i].style.background=initialStarColor;
if (currStep > 90)
starsDiv.all[i].style.background=Clrs[c];
starsDiv.all[i].style.top = Mtop + yBase*Math.sin((currStep+i*5)/3)*Math.sin(550+currStep/100)
starsDiv.all[i].style.left = Mleft + yBase*Math.cos((currStep+i*5)/3)*Math.sin(550+currStep/100)
}
}
else if (document.layers)
{
step = 5;
for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
{
var templayer="a"+j
for (ai=0; ai < Clrs.length; ai++)
{
var c=Math.round(Math.random()*[ai]);
}
if (currStep < 90)
document.layers[templayer].bgColor=initialStarColor;
if (currStep > 90)
document.layers[templayer].bgColor=Clrs[c];
document.layers[templayer].top = Mtop + yBase*Math.sin((currStep+j*5)/3)*Math.sin(550+currStep/100)
document.layers[templayer].left = Mleft + yBase*Math.cos((currStep+j*5)/3)*Math.sin(550+currStep/100)
}
}
currStep+= step;
//window.status=currStep;
T=setTimeout("Fireworks()",5);
if (currStep==220)
{
currStep=-10;
for (n=0; n < sClrs.length; n++)
{
var k=Math.round(Math.random()*n);
}
initialStarColor=sClrs[k];
if (document.all)
{
Dtop=window.document.body.clientHeight-250;
Dleft=xBase*3.5;
Mtop=Math.round(Math.random()*Dtop);
Mleft=Math.round(Math.random()*Dleft);
document.all.starsDiv.style.top=Mtop+document.body.scrollTop;
document.all.starsDiv.style.left=Mleft+document.body.scrollLeft;
}
else if (document.layers)
{
Dleft=window.innerWidth-100;
Dtop=window.innerHeight-100;
Mtop=Math.round(Math.random()*Dtop+window.pageYOffset);
Mleft=Math.round(Math.random()*Dleft+window.pageXOffset);
document.layers[templayer].top=Mtop;
document.layers[templayer].left=Mleft;
}
if ((Mtop < 20) || (Mleft < 20))
{
Mtop+=90;
Mleft+=90;
} 
}
}
if (document.all||document.layers)
Fireworks();
</script>
10- كود لطلب اسم الزائر

كود:
<SCRIPT LANGUAGE="Javascript"> 
//http://www.alsaher.net
name=window.prompt("ادخل أسمك.","الملقوف "); 
document.write("<H1 align=center>يا شين اللقافه يا! "+name+".</H1>") 
//-->
</script>
11- كود لعمل تحية حسب الوقت
كود:
<script LANGUAGE="JavaScript">
                             <!-- 
                    currentTime = new Date();
                 if (currentTime.getHours() < 12)
                  document.write("صباح الرقة والاحساس ");
               else if (currentTime.getHours() < 17)
                   document.write(" وقت الغداء  .. تغديت أو بعدك  ");
                             else
                   document.write("مساء الخير والاحساس والطيبة ");
                             //-->
                           </script>
12- كود عداد لموقعك على شرط ان تكتب عنوان موقعك
كود:
<img src="http://cgibin.erols.com/cgi-bin/Count.cgi?df=غير العنوان فى كل مره &ft=6&tr=N&dd=B&md=8">
13- عباره مشعه
كود:
<p><span id="theText" style="width:100%"> </p>
<p align="center"><font color="#FFF9F2" size="5"
face="Monotype Koufi"><strong>جافا الفنان</strong></font><font color="#FFF9F2" size="4"
face="Tahoma"><strong> </strong></font><font color="#FFF9F2"
size="6"><strong>  </span><script language="JavaScript"><!--
/*
جافا الفنان
www.alfnnan.net
*/
 
//range of glowing
var from = 3;
var to = 7;
//speed of pulsing
var delay = 85;
//color of glow, name or RGB value (example:'#')
var glowColor = "#FFBC6A";
 
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
 
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
// --></script> </strong></font></p>
14- اسمك بالياباني
كود:
<!-- This script has been in the http://www.faisal1.com Javascript Public Library! -->
<!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. -->
<html>
<head>
</head>
<body>
<SCRIPT language="JavaScript"><!--
function isvowel(v) {
  if ((v == "a") || (v == "e") || (v == "i") || (v == "o") || (v == "u")) {
  return true }
  else {
   return false } }
function nihongo(inp) {
 otp = ""
 cnt = 0
 k = ""
 l = ""
 inp = inp.toLowerCase()
 while (cnt <= inp.length - 1) {
  k = inp.charAt(cnt)
  if ((cnt + 1) > (inp.length - 1)) {
   l = "u" }
  else {
   l = inp.charAt(cnt+1) }
  if ((k == " ") || (k == "-") || (k == "'")) {
   otp = otp + k
   cnt += 1 }
   if ((l == "y") && (!isvowel(k))) {
     l = "i"  }
  if (k == "x") {
   if (cnt == 0) {
    k = "z" }
  else {
    k = "k"  }
}
   if (k == "g") {
    if ((l == "e") || (l == "i") || (l == "y")) {
  k = "j" }
else {   
   if (isvowel(l)) {
    otp = otp + k + l  
    cnt += 2 }
   else                       {
    otp = otp + k + "u"
    cnt += 1  }           
 }  }
 
   if (k == "j") {
    if ((l == "a") || (l == "u") || (l == "o")) {
     otp = otp + k + l
     cnt +=2 }
    if ((l == "e") || (l == "i")) {
     otp = otp + "ji"
     cnt += 2 }
 }
 
   if (k == "y") {
    if ((l == "a") || (l == "u") || (l == "o")) {
     otp = otp + k + l
     cnt += 2                             }
    else    {
     k = "i"     } 
                      }
   if (k == "m") {
    if (isvowel(l)) {
     otp = otp + k + l
     cnt += 2  }
     else {
       if ((l == "b") || (l == "m") || (l == "p")) {
           otp = otp + "n"
           cnt += 1 }    
        else  {
           otp = otp + "mu" 
           cnt += 1 } } }
  if (isvowel(k) || ((k == "n") && (!isvowel(l)))) {
   otp = otp + k
   cnt = cnt + 1                                                 }
  if (k == "q") {
   k = "k"        }
  if (k == "v") {
   k = "b"      } 
  if (k == "l") {
   k = "r"        }  
  if (k == "c")        {
   if (l == "h")    {
    otp = otp + "chi" 
    cnt += 3  }
   else     {
if ((l == "e") || (l == "i") || (l == "y")) {
    k = "s" }
else {
    k = "k" }
   }         
   }
   if (k == "w") {
    if ((l == "a") || (l == "o"))  {
     otp = otp + k + l
     cnt += 2                  }
    else     {
      if ((l == "i") || (l=="e")) {
otp = otp + "u" + l
cnt += 2  }
  else  {  
     k = "b" 
     }
}      
 }
  if ((k == "b") || (k == "k") || (k == "r")) {
   if (isvowel(l)) {
    otp = otp + k + l  
    cnt += 2 }
   else                       {
    otp = otp + k + "u"
    cnt += 1  }                                        }
  if (k == "d")             {
   if ((l == "i") || (l == "a") || (l == "e"))    {
    otp = otp + "de" 
    cnt += 2 }
   if ((l == "u") || (l == "o"))   {
    otp = otp + "do" 
    cnt += 2 }
   if (!isvowel(l))   {
    otp = otp + "de"  
    cnt += 1  }  }
   if (k == "f")              {
      otp = otp + "fu" 
      cnt += 1
      if (isvowel(l)) {
       cnt += 1  }      }
   if (k == "h")                  
  {
    if (l == "u")           {
     otp = otp + "fu"
     cnt += 2        }
    else                 {
     if (isvowel(l))   {
      otp = otp + k + l
      cnt += 2     }
     else                   {
       otp = otp + "fu" 
       cnt += 1 } }    
   }
  if (k == "z") {
   if (l == "i") {
    k = "j" } 
   else {
    if (isvowel(l)) {
     otp = otp + k + l
     cnt += 2 }
     else {
      otp = otp + "zu" 
      cnt += 1 } } }
   if (k == "n") {
    if (isvowel(l)) {
     otp = otp + k + l 
     cnt += 2 } }
   if (k == "p") {
    if (l == "h")  {
     otp = otp + "fu" 
     cnt += 2 }
    if (isvowel(l)) {
     otp = otp + k + l
     cnt += 2 }
    else {
     otp = otp + "pu" 
     cnt += 1 } }
   if (k == "s") {
    if ((l == "i") || (l == "h")) {
     otp = otp + "shi" 
     cnt += 2
     if (l == "h") {
      cnt += 1 } }
    else {
    if (isvowel(l)) {
     otp = otp + k + l 
     cnt += 2 }
    else {
     otp = otp + "su" 
     cnt += 1  }  }  }
   if (k == "t") { 
    if ((l == "a") || (l == "e") || (l == "o")) {
     otp = otp + k + l
     cnt += 2 }
    if ((l == "u") || ((!isvowel(l)) && (!(l == "h")))) {
     otp = otp + "tsu"
     cnt += 1
     if (l == "u") {
      cnt += 1 } 
     if ((l == "s") && (inp.charAt(cnt + 1) == "u")) {
     cnt += 2 } }
     if (l == "i") {
      otp = otp + "chi"
      cnt += 2 }
     if (l == "h") {
      otp = otp + "fu"
      cnt += 3 } }
   }
 
 win=window.open("","displayWindow","namae","toolbar=no,scrollbars=yes")
        win.document.open()
        win.document.write("<html><head><title>اسمك با اللغة اليبانية</title></head><body bgcolor='#fafafa' text='#010203' link='#182436' vlink='#428163'><p>اسمك با اليبانى هو<b>")
        win.document.write(((otp.charAt(0)).toUpperCase()))
        j = 1
        while (j <= otp.length - 1) {
          win.document.write(otp.charAt(j)) 
          j += 1   }
        win.document.write(".</b></p><br><p></p><br><p align=center>")
         j = 0
         tem = ""
         while (j <= otp.length - 1) {
          if (!(otp.charAt(j) == " ")) {
           tem = tem + otp.charAt(j) }  
           j += 1 }
         otp = tem
         j = 0
         while (j <= otp.length - 1) {
           cur = otp.charAt(j)
           if ((isvowel(cur)) || ((cur == "n") && (!isvowel(otp.charAt(j+1))))) {
            j += 1  }
           else  {
             while (!isvowel(otp.charAt(j))) {
               j += 1
               cur = cur + otp.charAt(j) }
               j += 1  }
         }
          win.document.write('<div align=center><form><input type="button" value="اضغط هنا للعودة" onClick="parent.window.close()"></form></div></body></html>')
         win.document.close()
   }
//-->
</SCRIPT><br>
<CENTER> </CENTER>
<CENTER><B><FONT SIZE=+3></FONT></b></CENTER>
 
<CENTER><B>اكتب اسمك هنا لوسمحت </b><FORM name="funkyform" action="javascript:nihongo(document.funkyform.namae.value)//"><INPUT type="text" name="namae"></CENTER>
<CENTER> </CENTER>
<CENTER><INPUT type="submit" value="اخبرنى كيف ينطق اسمى با اليبانى"></FORM></CENTER>
<CENTER> </CENTER>
<CENTER> </CENTER>
<CENTER>
alwafi 2000<br>
</body>
</html>

 

من مواضيع : الأحلام 0 أفضل 40 حكمه
0 نكت علــــــــــى الطــــــايــــر
0 اخر اصدار من برنامج الحماية الشهير Mcafee Internet Security Suite 2007
0 درس عمل ظل بشكل احترافي
0 برنامج ابورشيد للكتابة في البرامج الغير داعمة للعربية+ شرح مصور
0 شروحات ومميزات 3.6.0
0 برنامج microsoft .net frame work 3.0 مستقبل البرمجة والبرامج
0 جديد المنشد أحمد بو خاطر كليب انشودة زوجتي
0 Windows & Internet Cleaner3.60
0 قاموس المورد ..لغة عربية-لغة انجليزية ..لغة انجليزية-لغة عربية والحجم اقل من 3 Mb
  رد مع اقتباس
قديم 06-27-2006, 12:59 AM   رقم المشاركة : 2
الأحلام
الــــمدير العــــــام
 
الصورة الرمزية الأحلام





الأحلام غير متواجد حالياً

الأحلام تم تعطيل التقييم


إرسال رسالة عبر مراسل MSN إلى الأحلام

افتراضي إكمــــال

15- لجعل الصفحه تهتز

كود:
<script language="JavaScript1.2">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function shake(n) {
if (self.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
         }
      }
   }
}
// End -->
</script>
<form>
    <p align="center"><input type="button"
    value="زلزال" onclick="shake(2)"> </p>
</form>
<p align="center"><a href=""><font
color="#FF00FF" size="4"><strong></strong></font></a></p>
16- كود لتشغيل ملف صوتي
كود:
<center>
<object id="RAOCXPlayer"
classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="50"
width="250">
<param name="controls" value="ControlPanel">
<param name="nolabels" value="true">
<param name="autostart" value="true">
<param name="console" value="player1">
<embed TYPE="audio/x-pn-realaudio-plugin" NAME="player1" CONTROLS="ControlPanel" HEIGHT=25 WIDTH=250 NOLABELS=TRUE AUTOSTART=TRUE console="player1"> </object>
<object id="RAOCXPlayer2"
classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="25"
width="250">
<param name="controls" value="StatusBar">
<param name="nolabels" value="true">
<param name="autostart" value="true">
<param name="SRC" value="http://www.uaefm.com/abdullah_rwaishid/tesawar.ram">
<param name="console" value="player1">
<embed TYPE="audio/x-pn-realaudio-plugin" NAME="player2" SRC="http://عنوان الملف الصوتي"
CONTROLS="StatusBar" HEIGHT=25 WIDTH=250 NOLABELS=TRUE AUTOSTART=TRUE
console="player1">
</object>
</center>
</td>
<td align=center width=150>
17- نافذه صغيره لتوديع الزائر
كود:
<HTML>
<head>
<TITLE>Javascript - Fenêtre de salutations</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function salut(){
f=window.open('','','toolbar=no,menubar=no,location=no,left=50,top=50,height=100,width=200');
f.document.write("<H1><CENTER>مع السلامة</H1></CENTER>");
}
</SCRIPT>
</HEAD>
<BODY onUnload="salut()">
<p align="center"></p>
</body>
</HTML>
18- كود لمواقع عشوائيه وهو مفيد
كود:
 <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>
19- يجعل دخول الصفحة من الداخل ويعطي منظر جميل
كود:
<style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:white;
background-color:white;
border:0.1px solid white
}
-->
</style>
<div id="i1" class="intro"></div>
<script language="JavaScript1.2">
/*
Boxing In Script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
//change speed here
var speed=5
if (document.layers){
var reference=window.innerWidth/window.innerHeight
var temp=eval("document.i1.clip")
temp.left=temp.top=0
temp.right=window.innerWidth
temp.bottom=window.innerHeight
}
else if (document.all){
var reference=document.body.clientWidth/document.body.clientHeight
var rightclip,leftclip,topclip,bottomclip
var temp=document.all.i1.style
topclip=leftclip=0
rightclip=temp.width=document.body.clientWidth
bottomclip=temp.height=document.body.clientHeight
}
 
function doit(){
window.scrollTo(0,0)
if (document.layers){
if (temp.left>window.innerWidth/2)
clearInterval(stopit)
temp.left+=reference*speed
temp.top+=speed
temp.right-=reference*speed
temp.bottom-=speed
}
else if (document.all){
if (leftclip>document.body.clientWidth/2)
clearInterval(stopit)
temp.clip="rect( "+topclip+" "+rightclip+" "+bottomclip+" "+leftclip+")"
leftclip+=reference*speed
topclip+=speed
rightclip-=reference*speed
bottomclip-=speed
}
}
stopit=setInterval("doit()",100)
</script>
20- عارض الصور
كود:
<table border="0" cellpadding="0">
  <caption><strong></strong></caption>
  <tr>
    <td width="100%"><img src="هنا تضع عنوان الصورة" width="300" height="240" name="photoslider"></td>
  </tr>
  <tr>
    <td width="100%"><form method="POST" name="rotater">
      <div align="center"><center><p><script language="JavaScript1.1">
var photos=new Array()
var which=0
/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="هنا تضع عنوان الصورة"
photos[1]="هنا تضع عنوان الصورة"
photos[2]="هنا تضع عنوان الصورة"
photos[3]="هنا تضع عنوان الصورة"
photos[4]="هنا تضع عنوان الصورة"
 
function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which]
}
}
function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
}
else window.status='End of gallery'
}
</script><input type="button" value="<<خلف" name="B2"
      onClick="backward()"> <input type="button" value="امام>>" name="B1"
      onClick="forward()"><br>
      <a href="#" onClick="which=1;backward();return false"><small>من البداية</small></a></p>
      </center></div>
    </form>
    </td>
  </tr>
</table>
<p align="center"><font face="arial" size="-2"></font><br>
<font face="arial, helvetica" size="-2"><a href="http://wsabstract.com">
21- كلام يخرج من اسفل الصفحى الى الاعلى
كود:
<!-- THREE STEPS TO INSTALL NEWS SCROLLER:
  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the onLoad event handler into the BODY tag
  3.  Put the last coding into the BODY of your HTML document  -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Dion (yobo42@hotmail.com) -->
<!-- Web Site:  http://www.iinet.net.au/~biab/ -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
// change this to where you store the blank.gif image
var blank = "http://www.your-web-site-address-here.com/blank.gif";
topedge = 130;  // location of news box from top of page
leftedge = 10;  // location of news box from left edge
boxheight = 150;  // height of news box
boxwidth = 210;  // width of news box
scrollheight = 240; // total height of all data to be scrolled
function scrollnews(cliptop) {
if (document.layers) {
newsDiv = document.news;
newsDiv.clip.top = cliptop;
newsDiv.clip.bottom = cliptop + boxheight;
newsDiv.clip.left = 0;
newsDiv.clip.right = boxwidth + leftedge;
newsDiv.left = leftedge;
newsDiv.top = topedge - cliptop;
}
else {
newsDiv = news.style;
newsDiv.clip = "rect(" + cliptop + "px " + (boxwidth + leftedge) + "px " + (cliptop + boxheight) + "px 0px)";
newsDiv.pixelLeft = leftedge;
newsDiv.pixelTop = topedge - cliptop;
}
cliptop = (cliptop + 1) % (scrollheight + boxheight);
newsDiv.visibility='visible';
setTimeout("scrollnews(" + cliptop + ")", 150);
}
//  End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->
<BODY OnLoad="scrollnews(0)">
<!-- STEP THREE: Copy this code into the BODY of your HTML document  -->
<div ID="news" style="position:absolute; visibility:hidden;
top:1; left:1; height:600;
clip:rect(10,100,100,10); border-width:0px;">
<table border=0 cellpadding=1 cellspacing=0 bgcolor="white">
<tr>
<td>
<script language="javascript">
document.write('<img src=' + blank + ' width=1 height='+boxheight+'>');
</script>
</td>
</tr>
<tr>
<td>
<!-- Your News Items are Here -->
السلام عليكم ورحمة اللة وبركاتة<br>
تستطيع عزيزى الزائر<br>
كتابة اى شى تريدة هنا<br>
مع ملاحضة تغيير هذا الكلام<br>
لاى خدمات او مساعدة لاتتردد<br>
فى ارسال لى ايميل<br><br>
وسوف اساعدك بقدر المستطاع<br>
اخوكم ::: فيصل<br>
<br>
<br>
<a href="<A href="mailto:faam3@yahoo.com">faam3@yahoo.com</a">mailto:faam3@yahoo.com">faam3@yahoo.com</a>
<!-- End Of Your News Items -->
</td>
</tr>
<tr>
<td>
<script language="javascript">
document.write('<img src=' + blank + ' width=1 height='+boxheight+'>');
</script>
</td>
</tr>
</table>
</div>
22- كلام يتمرجح في الصفحه
كود:
<html>
<head>
<title> -> http://java.tatousek.cz - 00088 Sample</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<SCRIPT LANGUAGE="JavaScript">
<!--
done = 0;
step = 4
function anim(yp,yk)
{
 if(document.layers) document.layers["napis"].top=yp;
 else  document.all["napis"].style.top=yp;
 if(yp>yk) step = -4
 if(yp<60) step = 4
 setTimeout('anim('+(yp+step)+','+yk+')', 35);
}
function start()
{
 if(done) return
 done = 1;
 if(navigator.appName=="Netscape") {
  document.napis.left=innerWidth/2 - 145;
  anim(60,innerHeight - 60)
 }
 else {
  napis.style.left=11;
  anim(60,document.body.offsetHeight - 60)
 }
}
//-->
</SCRIPT>
</head>
<body bgcolor="#000000" text="#000000">
<div id='napis' style='position: absolute; top: -50; color: #D23842;
font-family: Arial, Helvetica; font-weight:bold; font-size:40px;'>
FaisaL1.com
</div>
<SCRIPT LANGUAGE="JavaScript">
<!--
 setTimeout('start()',10);
//-->
</SCRIPT>
 
</body>
</html>
23- كود لجعل الصفحه تمطر
كود:
<script   
language="JavaScript"><!--   
 
function click() {   
if (event.button==2) {   
alert('لاداعى  للزر اليمين    ');   
}   
}   
document.onmousedown=click   
// -->    
// --></script><!-- http://kok.8k.COM-->
24- كود يجعل دخول الصفحة على شكل مربعات
كود:
<style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:green;
background-color:green;
border:0.1px solid green;
z-index:10;
}
-->
</style>
25- تغير لون الخلفية
كود:
<SCRIPT> 
<!-- 
/*Background fade by Dave Methvin,
Windows Magazine
May be used/modified if credit line is
retained*/
function BgFade(red1, grn1, blu1, red2,
grn2, blu2, steps) {
sred = red1; sgrn = grn1; sblu = blu1; 
ered = red2; egrn = grn2; eblu = blu2; 
inc = steps; 
step = 0; 
RunFader();
}
function RunFader() {
var epct = step/inc; 
var spct = 1 - epct; 
document.bgColor =
Math.floor(sred * spct + ered *
epct)*256*256 +
Math.floor(sgrn * spct + egrn * epct)*256 +
Math.floor(sblu * spct + eblu * epct); 
if ( step < inc ) {
setTimeout('RunFader()',50); 
}
step++;
}
BgFade(0x00,0x00,0x00, 0xFF,0xFF,0xFF,10); 
//-->
</SCRIPT>
26- المطـر
كود:
<!-- TWO STEPS TO INSTALL SNOW:
  1.  Copy the coding into the BODY of your HTML document
  2.  Save the snow.gif image to your web site directory  -->
<!-- STEP ONE: Paste this code into the BODY of your HTML document  -->
<BODY>
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Original:  Altan (snow@altan.hr) -->
<!-- Web Site:  http://www.altan.hr/snow -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var no = 25; // snow number
var speed = 10; // smaller number moves the snow faster
var snowflake = "http://javascript.internet.com/img/snow/snow.gif";
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\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
   }
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
      }
   }
}
function snowNS() {  // Netscape main animation function
for (i = 0; i < no; ++ i) {  // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() {  // IE main animation function
for (i = 0; i < no; ++ i) {  // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
<!-- STEP TWO: Save the snow.gif image to your web site directory  ->
<!-- Go to http://javascript.internet.com/img/snow/snow.gif
Right-click the image and "Save Image As..."  -->
<p><center>
<font face="arial, helvetica" size="-2"><br>
 <a href="<A href="http://javascriptsource.com"></a></font">http://javascriptsource.com"></a></font>
</center><p>
<!-- Script Size:  3.39 KB -->
27- عبارة في شريط المعلومات
كود:
<script LANGUAGE="JavaScript">
<!--// Copyright 1996 - Tomer and Yehuda Shiran
// This example will appear in our forthcoming book on JavaScript.
// Feel free to "steal" this code provided that you leave this notice as is.
// Additional examples from the book can be found at http://www.geocities.com/SiliconValley/9000/
// For more information contact Tomer or Yehuda Shiran <yshiran@iil.intel.com>
//للمزيد من الجافا سكريبت .. نرجو زيارة موقع إقلاع سوفت http://soft.***********/
// set speed of banner (pause in milliseconds between addition of new character)
var speed = 10 
// decrease value to increase speed (must be positive)
// set pause between completion of message and beginning of following message
var pause = 2500 
// increase value to increase pause
// set initial values
var timerID = null
var bannerRunning = false
// create array
var ar = new Array()
// اكتب هنا الجمل التي تود ان تظهر بشريط المعلومات
ar[0] = "مرحباً بكم في مكتبة إقلاع سوفت لسكريبتات الجافا"
ar[1] = "نتمنى ان تجد عزيزي الزائر والزائرة كل ما تبحثون عنه"
ar[2] = "يتميز موقع إقلاع سوفت بوجود اقسام مختلفة مثل:"
ar[3] = "الخطوط ... والألعاب ... والدروس وشرح البرامج ... وقسم خاص بالماسنجر6 ... والعديد من الصفحات المفيدة"
// assign index of current message
var message = 0
// empty string initialization
var state = ""
// no value is currently being displayed
clearState()
// stop the banner if it is currently running
function stopBanner() { 
 // if banner is currently running 
 if (bannerRunning)  
 // stop the banner  
 clearTimeout(timerID) 
 // timer is now stopped 
 timerRunning = false
}
// start the banner
function startBanner() { 
 // make sure the banner is stopped 
 stopBanner() 
 // start the banner from the current position 
 showBanner()
}
// assign state a string of "0" characters of the length of the current message
function clearState() { 
 // initialize to empty string 
 state = "" 
 // create string of same length containing 0 digits 
 for (var i = 0; i < ar[message].length; ++i) {  
  state += "0" 
 }
}
// display the current message
function showBanner() { 
 // if the current message is done 
 if (getString()) {  
  // increment message  
  message++  
  // if new message is out of range wrap around to first message  
 if (ar.length <= message)   
  message = 0  
  // new message is first displayed as empty string  
  clearState()  
  // display next character after pause milliseconds  
  timerID = setTimeout("showBanner()", pause) 
 } 
 else {  
  // initialize to empty string  
  var str = ""  
  // built string to be displayed (only character selected thus far are displayed)  
 for (var j = 0; j < state.length; ++j) {   
  str += (state.charAt(j) == "1") ? ar[message].charAt(j) : "     "  
 }  
 // partial string is placed in status bar  
 window.status = str  
 // add another character after speed milliseconds  
 timerID = setTimeout("showBanner()", speed) 
 }
}
function getString() { 
 // set variable to true (it will stay true unless proven otherwise) 
 var full = true 
 // set variable to false if a free space is found in string (a not-displayed char) 
 for (var j = 0; j < state.length; ++j) {  
  // if character at index j of current message has not been placed in displayed string  
  if (state.charAt(j) == 0)   
  full = false 
 } 
 // return true immediately if no space found (avoid infinitive loop later) 
 if (full) return true 
 // search for random until free space found (braoken up via break statement) 
 while (1) {  
  // a random number (between 0 and state.length - 1 == message.length - 1)  
  var num = getRandom(ar[message].length)  
  // if free space found break infinitive loop  
 if (state.charAt(num) == "0")   
  break 
 } 
 // replace the 0 character with 1 character at place found 
 state = state.substring(0, num) + "1" + state.substring(num + 1, state.length) 
 // return false because the string was not full (free space was found) 
 return false
}
function getRandom(max) { 
 // create instance of current date 
 var now = new Date()  
 // create a random number (good generator) 
 var num = now.getTime() * now.getSeconds() * Math.random() 
 // cut random number to value between 0 and max - 1, inclusive 
 return num % max
}
startBanner()
// -->
</script>
28- تقفيل الدعايات بالمواقع المجانية
كود:
<Script Language='Javascript'>
<!--
eval(unescape('%66%75%6E%63%74%69%6F%6E%20%6F%70%65%6E%20%28%29%20%7B%72%65%74%75%72%6E%20%74%72%75%65%3B%7D'));
//-->
</Script>
29- العودة الى صفحة البداية
كود:
<script>
function gohome(){
if (document.layers)
window.home()
else if (document.all)
window.location="about:home"
else
alert("You need NS 4+ or IE 4+ to go back home!")
}
</script>
<form>
<input type="button" onClick="gohome()" value="خذني الى صفحة البداية">
</form>
30- عداد رائع وسهل جداً
كود:
<style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:green;
background-color:green;
border:0.1px solid green;
z-index:10;
}
-->
</style>

 

من مواضيع : الأحلام 0 قنبله : Style Xp + 1000 Themes 1000 Boots 1000 Icon 1000 W
0 Hero Video Converter V.2.7.7(full)
0 أخر أصدار من معجزة الكشف و إصلاح أخطاء الهارد ديسك Flobo Hard Disk Repair_2
0 مركز تحميل صور رهيب وسريع
0 ::: صور عجيبه :::::::
0 إليكم آخر نسخة من البرنامج الشهير " Pinnacle Studio 10.5 " هل تريد أن تصبح مخرجا !
0 عـــجــــــــــائــــب الــــرمــــــــــــــــــــــــــــــــل
0 تعالو ورينا صورة سطح المكتب <<<<<<<<< لاز م تحط الصووررره
0 طلب عاجل من المشرفين
0 جميع فلاتر شركة Redfield للفوتوشوب كــــاملة
  رد مع اقتباس
قديم 06-27-2006, 01:13 AM   رقم المشاركة : 3
المشاااكس
عضـــو مشــارك
 
الصورة الرمزية المشاااكس





المشاااكس غير متواجد حالياً

المشاااكس is on a distinguished road


افتراضي

مشكورررررر على مجهودك الرائع يا رائع

 

من مواضيع : المشاااكس 0 نجمة أسرائيل في جهازك
0 ماذا تعرف عن
0 أنشودة مايكل جاكسون
0 وجاءت سكرة الموت بالحق ذلك ما كنت منه تحيد
التوقيع :
 

(مشاااكس بس مؤدب مرررررررررررررررررررررره)

@ملك المشاكسااات@ :رسام:

 

  رد مع اقتباس
رد


أدوات الموضوع إبحث في الموضوع
إبحث في الموضوع:

البحـــــث المتقـــــدم
طرق مشاهدة الموضوع