اكثر من الف كود جافا

    • اكثر من الف كود جافا

      كود يجعل الروابط تضيء

      <SCRIPT LANGUAGE="JavaScript">
      <!-- Begin
      function initArray() {
      for (var i = 0; i < initArray.arguments.length; i++) {
      this = initArray.arguments[i];
      }
      this.length = initArray.arguments.length;
      }
      var colors = new initArray(
      "red",
      "blue",
      "green",
      "purple",
      "black",
      "tan",
      "red");
      delay = .5; // seconds
      link = 0;
      vlink = 2;
      function linkChange() {
      link = (link+1)%colors.length;
      vlink = (vlink+1)%colors.length;
      document.linkColor = colors[link];
      document.vlinkColor = colors[vlink];
      setTimeout("linkChange()",delay*1000);
      }
      linkChange();
      // End -->
      </script>



      ـــــــــــــــــــ

      كود بسيط لظهور الأمثال والحكم في صفحتك وتتغير عند كل تحديث او زيارة للموقع

      <SCRIPT LANGUAGE="JavaScript">
      <!-- Begin
      var abukhaled = 12; //ضع هنا عدد الجمل الموجوده بالسكريبت
      now = new Date();
      var rd = now.getSeconds();
      var ra = rd % abukhaled;
      var re = ++ra;
      var saudi = "";
      if (re == 1) {

      //تقدر تضيف اي عدد تبغاه بزيادة العدد بنفس الطريقة

      saudi = "لايلدغ المؤمن من جحر مرتين";
      }
      if (re == 2) {

      saudi = "لا يرمي الناس بالحجارة من كان بيته من زجاج";
      }
      if (re == 3) {

      saudi = "اللهم علمني ما نسيت و ذكرني بما جهلت";
      }
      if (re == 4) {

      saudi = "إن الله و ملائكته يصلون على النبي يا أيها اللذين آمنوا صلوا و سلموا عليه تسليما";
      }
      if (re == 5) {

      saudi = "إنما الأعمال بالنيات";
      }
      if (re == 6) {

      saudi = "**********************";
      }
      if (re == 7) {

      saudi = "خير الامور أوسطها";
      }
      if (re == 8) {

      saudi = "***********************8";
      }
      if (re == 9) {

      saudi = "لا إله إلا الله";
      }
      if (re == 10) {

      saudi = "بلادي و إن جارت علي عزيزة";
      }
      if (re == 11) {

      saudi = "إتق شر من أحسنت إليه";
      }
      if (re == 12) {

      saudi = "لا تنسى ذكر الله";
      }
      var abukhaled=""+saudi+"";
      document.write(abukhaled);
      // End -->
      </SCRIPT>




      ـــــــــــــــــــ

      تعريف الروابط

      <STYLE>
      <!--
      .off
      {font-family: Arial;
      font-size: 16pt;
      color: black;}

      .over
      {font-family: Arial;
      font-size: 16pt;
      color: red;}

      .description
      {font-family: Arial;
      font-size: 16pt;
      color: purple;}
      -->
      </STYLE>
      <DIV class="off" onMouseOver="this.className='over';
      Description.innerText='من محركات البحث المشهورة فى الانترنت'"
      onMouseOut="this.className='off'; Description.innerText=' '">موقع الياهو</DIV>

      <DIV class="off" onMouseOver="this.className='over';
      Description.innerText='محرك بحث ودليل'"
      onMouseOut="this.className='off'; Description.innerText=' '" >التافيستا</DIV>

      <DIV class="off" onMouseOver="this.className='over';
      Description.innerText='من اقوى محركات البحث فى الانترنت'"
      onMouseOut="this.className='off'; Description.innerText=' '">الهوت بوت</DIV>

      <DIV class="description" ALIGN=Left ID="Description" > </DIV>






      ـــــــــــــــــــ

      يجعل الرابط بخطين في الاسفل والاعلى

      <html>

      <head>
      <title>(ASP) Protect a page with user id and password</title>


      <meta name="Description" Content="Password protect a page with ASP This site helps you create a better web page. It features tutorials, tips, tricks, how-to guide, and other web design related topics, Web developers and web designers can catch up with the latest technology such as Active Server Pages, CSS Style Sheets, Dynamic HTML, and other relevant topics about web page design.">
      <meta name="Keywords" Content="asp, password protect, user id and password, ASP, Active Server Pages, HTML, How To, make my pages better, Site Promotion, Web Design, Javascripts, Web Development, PSACAKE">
      <meta name="resource-type" Content="Document">
      <meta name="distribution" Content="global">
      <meta name="Author" Content="Bryan Harrington">
      <meta name="copyright" content="Copyright 2000, psacake.com">
      <meta name="Category" content="General, Internet, Web Design, Active Server Pages, HTML, Services">
      <meta name="REVISIT" content="Every fifteen (15) calender days">
      <meta name="ROBOTS" content="INDEX, FOLLOW">
      <LINK REL="Bookmark Icon" HREF="http://www.psacake.com/favicon.ico">
      <LINK REL="Shortcut Icon" HREF="http://www.psacake.com/favicon.ico">
      <style TYPE="text/css">
      <!--
      A:link {color: #003399;text-decoration:none;}
      { font-family: Arial; font-size: -1pt }
      A:visited {color: #003399;text-decoration:none;}
      A.bb {color: black; text-decoration:none;font-weight:bold;}
      A.bb:visited {color: black; text-decoration:none;font-weight:bold;}
      A:hover {color:red; text-decoration: underline & overline;}
      A.bb:hover {color:red;}

      -->
      </style>
      <meta name="Microsoft Border" content="b, default">
      </head>


      ـــــــــــــــــــ

      تحية مع الرابط .. رائع

      <html>

      <head>
      <title></title>
      </head>

      <body TEXT="#000000" BGCOLOR="#FFFFFF" background="" topmargin="5">
      <div align="center"><center>

      <table border="0" width="566">
      <tr>
      <td width="100%"><p align="center"><font face="Verdana"><big><strong></strong></big></font></p>
      <p align="left"><font color="#000000" face="Verdana"><small></small></font> <script>



      /*

      Scrolling Image Map/Text Link Tooltip Script-


      For full source code, installation instructions,

      100's more DHTML scripts, and Terms Of

      Use, visit dynamicdrive.com

      */



      if (!document.layers&&!document.all)

      event="test"

      function showtip2(current,e,text){



      if (document.all&&document.readyState=="complete"){

      document.all.tooltip2.innerHTML='<marquee style="border:1px solid black"><font face=verdana size=-1>'+text+'</marquee>'

      document.all.tooltip2.style.pixelLeft=event.client X+document.body.scrollLeft+10

      document.all.tooltip2.style.pixelTop=event.clientY +document.body.scrollTop+10

      document.all.tooltip2.style.visibility="visible"

      }



      else if (document.layers){

      document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')

      document.tooltip2.document.nstip.document.close()

      document.tooltip2.document.nstip.left=0

      currentscroll=setInterval("scrolltip()",100)

      document.tooltip2.left=e.pageX+10

      document.tooltip2.top=e.pageY+10

      document.tooltip2.visibility="show"

      }

      }

      function hidetip2(){

      if (document.all)

      document.all.tooltip2.style.visibility="hidden"

      else if (document.layers){

      clearInterval(currentscroll)

      document.tooltip2.visibility="hidden"

      }

      }



      function scrolltip(){

      if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)

      document.tooltip2.document.nstip.left-=5

      else

      document.tooltip2.document.nstip.left=150

      }



      </script> </p>
      <div id="tooltip2"
      style="position:absolute;visibility:hidden;clip:rect(0 150 50 0);width:150px;background-color:lightyellow"
      align="center"><layer name="nstip" width="1000px" bgColor="lightyellow">
      </layer>
      </div><a HREF="http://www.alwafi2000.com/"
      onMouseover="showtip2(this,event,'مرحبا بك فى موقع الوافى')"
      onMouseout="hidetip2()"><p align="center"><small><font face="Verdana">ضع الماوس هنا وشاهد التأثير</a> </font></small></p>
      <hr width="80%" size="1" color="#000000">
      <p align="center"><font face="Verdana"><font color="#C0C0C0"><small><small> <a href=""></a></small></small></font></font></td>
      </tr>
      </table>
      </center></div>
      </body>
      </html>


      ـــــــــــــــــــ

      كود رائع يعطي لمعان للرابط عند تمرير الماوس

      <html>
      <head>
      <TITLE>textlink animation onmouseover</TITLE>

      <meta NAME="keywords" CONTENT="DHTML, ticker, marquee, mouse, onmouseomve, Dynamic HTML, CSS, Headline, font, style, stylesheet, download, free, samples, applet, text animation, headline, copy, ticker, scroller, JavaScript">

      <meta NAME="description" CONTENT="This is the first textlink-animation worldwide. Made for IE4.x">

      <script>
      <!-- Beginning of JavaScript -

      col = new Array()
      col[0]="000000"
      col[1]="111111"
      col[2]="222222"
      col[3]="333333"
      col[4]="444444"
      col[5]="555555"
      col[6]="666666"
      col[7]="777777"
      col[8]="888888"
      col[9]="999999"
      col[10]="AAAAAA"
      col[11]="BBBBBB"
      col[12]="CCCCCC"
      col[13]="DDDDDD"
      col[14]="EEEEEE"
      col[15]="FFFFFF"
      col[16]="FFFFFF"
      col[17]="DDDDDD"
      col[18]="CCCCCC"
      col[19]="BBBBBB"
      col[20]="AAAAAA"
      col[21]="999999"
      col[22]="888888"
      col[23]="777777"
      col[24]="666666"
      col[25]="555555"
      col[26]="444444"
      col[27]="333333"
      col[28]="222222"
      col[29]="111111"
      col[30]="000000"

      i_col=0
      doani=1
      var timer
      var thislink

      function animatelink() {
      if (document.all) {
      if (doani==1) {
      if (i_col<=col.length-1) {
      thislink.color=col[i_col]
      i_col++
      timer=setTimeout("animatelink()",50)
      }
      else {
      i_col=0
      timer=setTimeout("animatelink()",50)
      }
      }
      else {
      clearTimeout(timer)
      }
      }
      }

      function stopanimation() {
      clearTimeout(timer)
      thislink.color="000000"
      doani=0
      }

      function startanimation(mylink) {
      clearTimeout(timer)
      thislink=eval("document.all."+mylink+".style")
      doani=1
      animatelink()
      }

      // - End of JavaScript - -->
      </script>

      <STYLE TYPE="text/css">
      <!--
      A { font-family: Arial,Helvetica,sans-serif; color: #000000;text-decoration:underline}
      -->
      </STYLE>
      </head>
      <body id=thisbody bgcolor=#FFFFFF>

      <DIV id=mainbody style="position: absolute; top:50px; left:50px; width:450px; color: 000000;font-size:14pt;font-family:Arial;font-weight:bold"><a id="link1" href="http://www.alwafi2000.com" onMouseOver="startanimation('link1')" onMouseOut="stopanimation()" target="_blank">ضع الماوس هنا لو سمحت</a>
      </body>
      </html>


      ـــــــــــــــــــ

      رسالة تتحرك في البار العلوي .. شاهده في هذه الصفحة

      <script language="JavaScript1.2">
      // ************************************************** *****************
      // script by drevil_nz, Michael Dillon, Christchurch New Zealand.
      // Permission granted to use this script provided this credit
      // remains intact. Visit my homepage
      www.chc.quik.co.nz/juggler/mikey.html
      // Script written for Internet Explorer 4.0+.
      // ************************************************** *****************

      var message="مرحباً بكم فى موقع فيصل" //specifys the title
      var message=message+" " //gives a pause at the end,1 space=1 speed unit, here I used 10 spaces@150 each = 1.5seconds.
      i="0" //declares the variable and sets it to start at 0
      var temptitle="" //declares the variable and sets it to have no value yet.
      var speed="150" //the delay in milliseconds between letters

      function titler(){
      if (!document.all&&!document.getElementById)
      return
      document.title=temptitle+message.charAt(i) //sets the initial title
      temptitle=temptitle+message.charAt(i) //increases the title by one letter
      i++ //increments the counter
      if(i==message.length) //determines the end of the message
      {
      i="0" //resets the counter at the end of the message
      temptitle="" //resets the title to a blank value
      }
      setTimeout("titler()",speed) //Restarts. Remove line for no-repeat.
      }

      window.onload=titler
      </script>


      ـــــــــــــــــــ

      اعطاء الخيار لزوار الموقع اختيار مقاس الصفحة

      <script language=javascript>
      function resizeWindow(a,b){
      resizeTo(a,b)
      }

      </script>



      <title></title>
      </head>
      <body>
      <b>اختار حجم الشاشة المناسب لك</b><br>
      <form>
      <input type=button name="resize0" value="640 x 480" onclick="resizeWindow(640,480)">
      <input type=button name="resize1" value="400 x 200" onclick="resizeWindow(400,200)"><br>
      <input type=button name="resize2" value="400 x 300" onclick="resizeWindow(400,300)">
      <input type=button name="resize3" value="500 x 500" onclick="resizeWindow(500,500)"><br>
      <input type=button name="resize4" value="500 x 200" onclick="resizeWindow(500,200)">
      <input type=button name="resize5" value="100 x 300" onclick="resizeWindow(100,300)"><br>
      <input type=button name="resize6" value="200 x 400" onclick="resizeWindow(200,400)">
      <input type=button name="resize7" value="800 x 600" onclick="resizeWindow(800,600)">

      </form>


      ـــــــــــــــــــ

      كود وظيفته تثبيت خلفية الصفحة

      <script language="JavaScript1.2">

      /*
      Watermark Backgound Image Script- © Dynamic Drive (
      www.dynamicdrive.com)
      For full source code, 100's more DHTML scripts, and TOS,
      visit dynamicdrive.com
      Don't forget to visit FaisaL1.com
      */

      if (document.all||document.getElementById)
      document.body.style.background="url('عنوان الصورة') white center no-repeat fixed"

      </script>

      ـــــــــــــــــــ

      كود يجعل دخول الصفحة على شكل مربعات

      <style>
      <!--
      .intro{
      position:absolute;
      left:0;
      top:0;
      layer-background-color:green;
      background-color:green;
      border:0.1px solid green;
      z-index:10;
      }
      -->
      </style>

      ـــــــــــــــــــ

      كود جميل يمكن العرض من خلاله أكثر من بانر عند كل تحديث

      <script language="JavaScript1.2">

      //Random iframe content- © Dynamic Drive (
      www.dynamicdrive.com)
      //For full source code, and Terms Of use, visit
      http://dynamicdrive.com
      //This credit MUST stay intact for use
      //تم النقل من قبل موقع فيصل
      //www.FaisaL1.com

      var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
      var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1

      //من هنا بإمكانك تحديد مقاس البانر
      var iframeprops='width=130 height=130 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="no"'

      //Specify random URLs to display inside iframe
      var randomcontent=new Array()
      randomcontent[0]="عنوان البانر1"
      randomcontent[1]="عنوان البانر2"
      randomcontent[2]="عنوان البانر3"
      randomcontent[3]="عنوان البانر4"

      //No need to edit after here
      if (ie||dom)
      document.write('<iframe id="dynstuff" src="" '+iframeprops+'></iframe>')

      function random_iframe(){
      if (ie||dom){
      var iframeobj=document.getElementById? document.getElementById("dynstuff") : document.all.dynstuff
      iframeobj.src=randomcontent[Math.floor(Math.random()*randomcontent.length)]
      }
      }

      window.onload=random_iframe

      </script>

      ـــــــــــــــــــ

      ـــــــــــــــــــ

      ـــــــــــــــــــ

      كود لاخر تحديث

      <!-- This script has been in the
      http://www.javascripts.com Javascript Public Library! -->
      <!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. -->
      <html>
      <head>
      <title>Last modified date-by Austin Wright</title>
      </head>

      <body>

      <font face="Arial" size=1><script language="JavaScript">
      <!-- Hide this script from js-challenged browsers --

      var months = new Array(13);
      months[1] = "January";
      months[2] = "February";
      months[3] = "March";
      months[4] = "April";
      months[5] = "May";
      months[6] = "June";
      months[7] = "July";
      months[8] = "August";
      months[9] = "September";
      months[10] = "October";
      months[11] = "November";
      months[12] = "December";

      var dateObj = new Date(document.lastModified)
      var lmonth = months[dateObj.getMonth() + 1]
      var fyear = dateObj.getYear()
      var date = dateObj.getDate()

      document.write("اخر تحديث للموقع كان فى تاريخ:" + " " + lmonth + " " + date + ", " + fyear)

      // Done Hiding -->
      </script></font>
      </body>
      </html>

      <!-- Simba says Roar. -->


      ـــــــــــــــــــ

      كود يجعل الصفحة تمطر

      <!-- ONE STEP TO INSTALL RAIN:

      1. Copy the coding into the BODY of your HTML document -->

      <!-- STEP ONE: Paste this code into the BODY of your HTML document -->

      <BODY>

      <SCRIPT LANGUAGE="JavaScript">
      <!-- Original: Matthew Musgrove (
      muskrat@lvnworth.com) -->
      <!-- Web Site:
      http://free.prohosting.com/~musgrove -->

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

      <!-- Begin
      var no = 50;
      var speed = 1;
      var ns4up = (document.layers) ? 1 : 0;
      var ie4up = (document.all) ? 1 : 0;
      var s, x, y, sn, cs;
      var a, r, cx, cy;
      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;
      }
      x = new Array();
      y = new Array();
      r = new Array();
      cx = new Array();
      cy = new Array();
      s = 8;
      for (i = 0; i < no; ++ i) {
      initRain();
      if (ns4up) {
      if (i == 0) {
      document.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
      document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
      document.write(",</font></layer>");
      }
      else {
      document.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
      document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
      document.write(",</font></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;\"><font color=\"blue\">");
      document.write(",</font></div>");
      }
      else {
      document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
      document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
      document.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
      document.write(",</font></div>");
      }
      }
      }
      function initRain() {
      a = 6;
      r[i] = 1;
      sn = Math.sin(a);
      cs = Math.cos(a);
      cx[i] = Math.random() * doc_width + 1;
      cy[i] = Math.random() * doc_height + 1;
      x[i] = r[i] * sn + cx[i];
      y[i] = cy[i];
      }
      function makeRain() {
      r[i] = 1;
      cx[i] = Math.random() * doc_width + 1;
      cy[i] = 1;
      x[i] = r[i] * sn + cx[i];
      y[i] = r[i] * cs + cy[i];
      }
      function updateRain() {
      r[i] += s;
      x[i] = r[i] * sn + cx[i];
      y[i] = r[i] * cs + cy[i];
      }
      function raindropNS() {
      for (i = 0; i < no; ++ i) {
      updateRain();
      if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
      makeRain();
      doc_width = self.innerWidth;
      doc_height = self.innerHeight;
      }
      document.layers['dot'+i].top = y[i];
      document.layers['dot'+i].left = x[i];
      }
      setTimeout("raindropNS()", speed);
      }
      function raindropIE() {
      for (i = 0; i < no; ++ i) {
      updateRain();
      if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
      makeRain();
      doc_width = document.body.clientWidth;
      doc_height = document.body.clientHeight;
      }
      document.all['dot'+i].style.pixelTop = y[i];
      document.all['dot'+i].style.pixelLeft = x[i];
      }
      setTimeout("raindropIE()", speed);
      }
      if (ns4up) {
      raindropNS();
      }
      else
      if (ie4up) {
      raindropIE();
      }
      // End -->
      </script>

      <p><center>
      <font face="arial, helvetica" size="-2"><br>
      <a href="http://javascriptsource.com"></a></font>
      </center><p>

      <!-- Script Size: 3.14 KB -->

      ـــــــــــــــــــ

      كلام يخرج من اسفل الصفحة الى الاعلى ويختفي

      <style type="text/css">
      <!--
      .textanimlink,a {
      text-decoration : none;
      }
      P.main {
      font-family : Arial;
      font-size : 15pt;
      font-weight : bold;
      }
      -->
      </style>


      <Script Language="Javascript">
      <!-- Hiding

      /*
      Script created by Lefteris Haritou
      (lef@the.forthnet.gr)
      Permission granted to Dynamicdrive.com to feature the script
      For more DHTML scripts, visit Dynamicdrive.com
      */

      bname=navigator.appName;
      bversion=parseInt(navigator.appVersion)
      if ((bname=="Netscape" && bversion>=4) || (bname=="Microsoft Internet Explorer" && bversion>=4))
      window.onload=start
      else
      stop();
      window.onunload=stop
      if (bname=="Netscape"){
      brows=true
      dt=2
      }
      else{
      brows=false
      dt=20
      }
      var z=0;
      var msg=0;
      var rgb=0;
      var link=false;
      var status=true;
      var updwn=false;
      var message= new Array();
      var value=0;
      var h=window.innerHeight;
      var w=window.innerWidth;
      var timer1;
      var timer2;
      var timer3;
      var convert = new Array()
      var hexbase= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F");

      // Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines below)

      var bgcolor="#FFFFFF"; //Color of background
      var color="#00008D"; //Color of the Letters

      message[0]='WELCOME IN ALWAFI'
      message[1]='HOME PAGE FOR JAVA.'
      message[2]='MY E-MAIL
      ALWAFI01@HOTMAIL.COM'
      message[3]='<a href="alwafi2.htm">CLICK HERE </a>'

      // Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines above)

      for (x=0; x<16; x++){
      for (y=0; y<16; y++){
      convert[value]= hexbase[x] + hexbase[y];
      value++;
      }
      }

      redx=color.substring(1,3);
      greenx=color.substring(3,5);
      bluex=color.substring(5,7);
      hred=eval(parseInt(redx,16));
      hgreen=eval(parseInt(greenx,16));
      hblue=eval(parseInt(bluex,16));
      eredx=bgcolor.substring(1,3);
      egreenx=bgcolor.substring(3,5);
      ebluex=bgcolor.substring(5,7);
      ered=eval(parseInt(eredx,16));
      egreen=eval(parseInt(egreenx,16));
      eblue=eval(parseInt(ebluex,16));
      red=ered;
      green=egreen;
      blue=eblue;

      function start(){
      if ((bname=="Netscape" && bversion>=4) || (bname=="Microsoft Internet Explorer" && bversion>=4)){
      link=false;
      updwn=true;
      if (brows)
      res=document.layers['textanim'].top
      else{
      textanim.style.width=document.body.offsetWidth-20;
      textanim.innerHTML='<Pre><P Class="main" Align="Center">'+message[msg]+'</P></Pre>'
      res=textanim.style.top
      for (x=0; x<document.all.length; x++)
      if(document.all[x].id=="textanimlink")
      link=true;
      }
      up()
      }
      }

      function stop(){
      clearTimeout(timer1);
      clearTimeout(timer2);
      clearTimeout(timer3);
      }

      function resz(){
      h=window.innerHeight;
      w=window.innerWidth;
      if (updwn)
      timer1=setTimeout('up()',1000)
      else
      timer2=setTimeout('down()',1000)
      }

      function breakf(){
      if (status){
      clearTimeout(timer1);
      clearTimeout(timer2);
      status=false
      return;
      }
      else{
      status=true;
      if (updwn)
      timer1=setTimeout('up()',dt)
      else
      timer2=setTimeout('down()',dt)
      }
      }


      function up(){
      if (red<hred){
      if ((red+7)<hred)
      red+=7;
      else
      red=hred
      redx = convert[red]
      }
      else{
      if ((red-7)>hred)
      red-=7;
      else
      red=hred
      redx = convert[red]
      }

      if (green<hgreen){
      if ((green+7)<hgreen)
      green+=7;
      else
      green=hgreen
      greenx = convert[green]
      }
      else{
      if ((green-7)>hgreen)
      green-=7;
      else
      green=hgreen
      greenx = convert[green]
      }

      if (blue<hblue){
      if ((blue+7)<hblue)
      blue+=7;
      else
      blue=hblue
      bluex = convert[blue]
      }
      else{
      if ((blue-7)>hblue)
      blue-=7;
      else
      blue=hblue
      bluex = convert[blue]
      }

      rgb = "#"+redx+greenx+bluex;
      if (brows){
      document.layers['textanim'].document.linkColor=rgb;
      document.layers['textanim'].document.vlinkColor=rgb;
      if (window.innerHeight!=h || window.innerWidth!=w){
      clearTimeout(timer1);
      resz()
      return;
      }
      else{
      document.layers['textanim'].document.write('<Pre><P Class="main" Align="Center"><font color="'+rgb+'">'+message[msg]+'</font></P></Pre>')
      document.layers['textanim'].document.close();
      }
      }
      else{
      textanim.style.color=rgb;
      if(link)
      textanimlink.style.color=rgb;
      }
      if (z<38){
      if (brows)
      document.layers['textanim'].top--
      else
      textanim.style.posTop--
      z++
      timer1=setTimeout('up()',dt)
      }
      else
      {
      updwn=false;
      down()
      }
      }


      function down(){
      if (red<ered){
      if ((red+7)<ered)
      red+=7;
      else
      red=ered
      redx = convert[red]
      }
      else{
      if ((red-7)>ered)
      red-=7;
      else
      red=ered
      redx = convert[red]
      }

      if (green<egreen){
      if ((green+7)<egreen)
      green+=7;
      else
      green=egreen
      greenx = convert[green]
      }
      else{
      if ((green-7)>egreen)
      green-=7;
      else
      green=egreen
      greenx = convert[green]
      }

      if (blue<eblue){
      if ((blue+7)<eblue)
      blue+=7;
      else
      blue=eblue
      bluex = convert[blue]
      }
      else{
      if ((blue-7)>eblue)
      blue-=7;
      else
      blue=eblue
      bluex = convert[blue]
      }

      rgb = "#"+redx+greenx+bluex;
      if (brows){
      document.layers['textanim'].document.linkColor=rgb;
      document.layers['textanim'].document.vlinkColor=rgb;
      if (window.innerHeight!=h || window.innerWidth!=w){
      clearTimeout(timer2);
      resz()
      return;
      }
      else{
      document.layers['textanim'].document.write('<Pre><P Class="main" Align="Center"><font color="'+rgb+'">'+message[msg]+'</font></P></Pre>')
      document.layers['textanim'].document.close();
      }
      }
      else{
      textanim.style.color=rgb;
      if(link)
      textanimlink.style.color=rgb;
      }

      if (z<76){
      if (brows)
      document.layers['textanim'].top--
      else
      textanim.style.posTop--
      z++
      timer2=setTimeout('down()',dt)
      }
      else
      {
      if (brows){
      document.layers['textanim'].document.write('')
      document.layers['textanim'].document.close();
      }
      else
      textanim.innerHTML='';
      window.clearInterval(timer2);
      if(msg<message.length-1){
      msg++;
      z=0;
      if (brows){
      document.layers['textanim'].top=res;
      }
      else
      textanim.style.top=res;
      timer3=setTimeout('start()',100);
      }
      else
      {
      msg=0;
      z=0;
      if (brows)
      document.layers['textanim'].top=res;
      else
      textanim.style.top=res;
      timer3=setTimeout('start()',2000);
      }
      }
      }


      // done hiding -->
      </Script>
      <Div id="textanim" style="position: absolute; left: 0; top: 440" onclick="breakf()">
      </Div>
      <Layer name="textanim" left=0 top=440>
      </Layer>



      الموضوع منقول وله بقيه
    • كلام يتمرجح في الصفحة

      <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>


      ـــــــــــــــــــ

      كلام يخرج من اسفل الصفحة الى الاعلى

      <!-- 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="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>


      ـــــــــــــــــــ

      قائمة تظهر عند ماتدخل الصفحة

      <!-- This script has been in the
      http://www.javascripts.com Javascript Public Library! -->
      <!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. -->
      <html>
      <head>
      <title>موقع فيصل</title>
      </head>

      <body bgcolor="#FFFFFF">

      <p align="center"><script language="JavaScript"><!--
      //Remote Script
      //What does it do? It opens a seperate window, and when
      //you click on links, it appears in the main window!
      //You can customize how many links, if font is bold
      //and if font is itilic.
      //This is the advanced version.
      //You can choose the font name (like arial) and size(like 5).
      //Also, you can customize the unvisted link color, visited link color and active link color.

      //Settings
      var nums=7; //Number of links from 0 to 7
      var welcome="اختار الموقع المطلوب"; //Remote welcome message
      var bold="true";//Bold? "true" or "false"
      var italic="false";//Italic? "true" or "false"
      var fonttag="Arial"//Font Name
      var fontsiz="4"//Font Size
      var rlink="red"//Color of unvisited link.
      var vlink="orange"//Color of visited link.
      var alink="yellow"//Color of active link.

      //Link Descriptions and paths

      var delink1="الأذكار";//Description of link 1
      var link1 ="http://mypage.ayna.com/athkar/"; //Path of link 1

      var delink2="صوت القوقاز";//Description of link 2
      var link2 ="http://www.qoqaz.com/";//Path of link 2

      var delink3="الشيخ القرضاوى";//Description of link 3
      var link3 ="http://www.qaradawi.net/";//Path of link 3

      var delink4="موقع فيصل";//Description of link 4
      var link4 ="http://www.faisal1.com";//Path of link 4

      var delink5="الأزهر الشريف";//Description of link 5
      var link5 ="http://www.alazhar.org/arabic/index.htm";//Path of link 5

      var delink6="كوسوفا";//Description of link 6
      var link6 ="http://kosova.hypermart.net/";//Path of link 6

      var delink7="الفرقان";//Description of link 7
      var link7 ="http://forqan.homepage.com/";//Path of link 7










      //Make window
      window.name="main";
      var win = window.open("","foe","width=159 height=275");
      win.document.write("<HTML>");
      win.document.write("<HEAD>");
      win.document.write("<TITLE>Remote</TITLE>");
      win.document.write("<HEAD>");
      win.document.write("<BODY BGCOLOR='white' link='"+rlink+"' vlink='"+vlink+"' alink='"+alink+"'>");
      win.document.write("<FONT FACE='"+fonttag+"' size='"+fontsiz+"'>");
      win.document.write("<CENTER>");
      win.document.write(welcome + "<BR>");

      //styles
      if(bold=="true"){win.document.write("<b>");}
      if(italic=="true"){win.document.write("<i>");}


      if(nums==1){
      win.document.write("<a href='"+link1+"' target='main'>"+delink1+"</a><BR>");
      }
      if(nums==2){
      win.document.write("<a href='"+link1+"' target='main'>"+delink1+"</a><BR>");
      win.document.write("<a href='"+link2+"' target='main'>"+delink2+"</a><BR>");
      }
      if(nums==3){
      win.document.write("<a href='"+link1+"' target='main'>"+delink1+"</a><BR>");
      win.document.write("<a href='"+link2+"' target='main'>"+delink2+"</a><BR>");
      win.document.write("<a href='"+link3+"' target='main'>"+delink3+"</a><BR>");
      }
      if(nums==4){
      win.document.write("<a href='"+link1+"' target='main'>"+delink1+"</a><BR>");
      win.document.write("<a href='"+link2+"' target='main'>"+delink2+"</a><BR>");
      win.document.write("<a href='"+link3+"' target='main'>"+delink3+"</a><BR>");
      win.document.write("<a href='"+link4+"' target='main'>"+delink4+"</a><BR>");
      }
      if(nums==5){
      win.document.write("<a href='"+link1+"' target='main'>"+delink1+"</a><BR>");
      win.document.write("<a href='"+link2+"' target='main'>"+delink2+"</a><BR>");
      win.document.write("<a href='"+link3+"' target='main'>"+delink3+"</a><BR>");
      win.document.write("<a href='"+link4+"' target='main'>"+delink4+"</a><BR>");
      win.document.write("<a href='"+link5+"' target='main'>"+delink5+"</a><BR>");
      }
      if(nums==6){
      win.document.write("<a href='"+link1+"' target='main'>"+delink1+"</a><BR>");
      win.document.write("<a href='"+link2+"' target='main'>"+delink2+"</a><BR>");
      win.document.write("<a href='"+link3+"' target='main'>"+delink3+"</a><BR>");
      win.document.write("<a href='"+link4+"' target='main'>"+delink4+"</a><BR>");
      win.document.write("<a href='"+link5+"' target='main'>"+delink5+"</a><BR>");
      win.document.write("<a href='"+link6+"' target='main'>"+delink6+"</a><BR>");
      }
      if(nums==7){
      win.document.write("<a href='"+link1+"' target='main'>"+delink1+"</a><BR>");
      win.document.write("<a href='"+link2+"' target='main'>"+delink2+"</a><BR>");
      win.document.write("<a href='"+link3+"' target='main'>"+delink3+"</a><BR>");
      win.document.write("<a href='"+link4+"' target='main'>"+delink4+"</a><BR>");
      win.document.write("<a href='"+link5+"' target='main'>"+delink5+"</a><BR>");
      win.document.write("<a href='"+link6+"' target='main'>"+delink6+"</a><BR>");
      win.document.write("<a href='"+link7+"' target='main'>"+delink7+"</a><BR>");
      }

      //styles
      if(bold=="true"){win.document.write("</b>");}
      if(italic=="true"){win.document.write("</i>");}
      win.document.write("</FONT>");
      win.document.write("</BODY>");
      win.document.write("</HTML>");
      // --></script></p>
      </body>
      </html>
      <!-- Simba says Roar. -->


      ـــــــــــــــــــ

      قائمة تظهر عند ماتضغط على الزر الايمن

      <style>
      <!--
      /*
      Context menu Script-
      alwafi (
      www.faisal1.com) Last updated: 00/03/28
      For full source code, 100's more DHTML scripts, and Terms Of Use,
      visit dynamicdrive.com
      */

      .skin0{
      position:absolute;
      width:200px;
      border:2px solid black;
      background-color:menu;
      font-family:Verdana;
      line-height:20px;
      cursor:default;
      visibility:hidden;
      }

      .skin1{
      cursor: default;
      font: menutext;
      position: absolute;
      width: 165px;
      background-color: menu;
      border: 1 solid buttonface;
      visibility:hidden;
      border: 2 outset buttonhighlight;
      }

      .menuitems{
      padding-left:15px;
      padding-right:10px;
      }
      -->
      </style>

      <script language="JavaScript1.2">
      //set the skin of the menu (0 or 1, with 1 rendering a default Windows menu like skin)
      var menuskin=1

      //set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
      var display_url=0


      function showmenuie5(){
      //Find out how close the mouse is to the corner of the window
      var rightedge=document.body.clientWidth-event.clientX
      var bottomedge=document.body.clientHeight-event.clientY

      //if the horizontal distance isn't enough to accomodate the width of the context menu
      if (rightedge<ie5menu.offsetWidth)
      //move the horizontal position of the menu to the left by it's width
      ie5menu.style.left=document.body.scrollLeft+event. clientX-ie5menu.offsetWidth
      else
      //position the horizontal position of the menu where the mouse was clicked
      ie5menu.style.left=document.body.scrollLeft+event. clientX

      //same concept with the vertical position
      if (bottomedge<ie5menu.offsetHeight)
      ie5menu.style.top=document.body.scrollTop+event.cl ientY-ie5menu.offsetHeight
      else
      ie5menu.style.top=document.body.scrollTop+event.cl ientY

      ie5menu.style.visibility="visible"
      return false
      }

      function hidemenuie5(){
      ie5menu.style.visibility="hidden"
      }

      function highlightie5(){
      if (event.srcElement.className=="menuitems"){
      event.srcElement.style.backgroundColor="highlight"
      event.srcElement.style.color="white"
      if (display_url==1)
      window.status=event.srcElement.url
      }
      }

      function lowlightie5(){
      if (event.srcElement.className=="menuitems"){
      event.srcElement.style.backgroundColor=""
      event.srcElement.style.color="black"
      window.status=''
      }
      }

      function jumptoie5(){
      if (event.srcElement.className=="menuitems"){
      if (event.srcElement.getAttribute("target")!=null)
      window.open(event.srcElement.url,event.srcElement. getAttribute("target"))
      else
      window.location=event.srcElement.url
      }
      }
      </script>
      <!--[if IE]>
      <div id="ie5menu" class="skin0" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
      <div class="menuitems" url="http://faisal1.com">موقع فيصل</div>
      <div class="menuitems" url="http://www.kozama.com" target="newwin">الخزامى</div>
      <div class="menuitems" url="http://www.yahoo.com">موقع الياهو</div>
      <div class="menuitems" url="http://www.altavista.com">التافيستا</div>
      <div class="menuitems" url="http://www.arabiyat.com">موقع عربيات</div>
      <div class="menuitems" url="http://www.bbc.com">موقع البى بى سى</div>
      <hr>
      <div class="menuitems" url="mailto:alwafi01@hotmail.com">راسلنى</div>
      </div>
      <![endif]-->
      <script language="JavaScript1.2">
      if (document.all&&window.print){
      if (menuskin==0)
      ie5menu.className="skin0"
      else
      ie5menu.className="skin1"
      document.oncontextmenu=showmenuie5
      document.body.onclick=hidemenuie5
      }
      </script>


      ـــــــــــــــــــ

      عرض جميل لبعض الروابط

      <!-- This script came from the public archives of JavaScript Planet at
      http://www.js-planet.com -->
      <!-- For more scripts, tutorials, links, discussion forums, help, or anything else JavaScript, -->
      <!-- Please visit JavaScript Planet at
      http://www.js-planet.com. Please keep this header intact. -->
      <body bgcolor=white text=black>
      <div id=Out0 style="position:relative; left:20; top:+15px; width:90%;" >
      <span id=Out1 class=Outline style="hand: hand; "></span><b id=Out1 class=Outline style="cursor: hand; ">اضغط هنا لتشاهد بعض المواقع</b>
      <div id=Out1details style="display:None; position:relative; left:12;">
      <U>http://www.altavista.com/</u>
      <P>
      <u>http://www.yahoo.com/</u>
      <P>
      <U>http://hotbot.lycos.com/</u>
      <P>
      <u>http://www.faisal1.com/</u>
      <P> <U>http://www.msn.com/</u>
      <P>
      <u>http://www.microsoft.com/</u>
      <P> <U>http://download.cnet.com/</u>
      <P>
      <u>http://www.google.com/</u>
      <P> <U>http://www.goto.com/</u>
      <P>
      <u>http://www.aol.com/</u>
      <P>



      </div>
      </div>
      <BR><BR><BR>

      <script language=JavaScript>

      function clickHandler() {
      var targetId, srcElement, targetElement;
      srcElement = window.event.srcElement;
      if (srcElement.className == "Outline") {
      targetId = srcElement.id + "details";
      targetElement = document.all(targetId);
      if (targetElement.style.display == "none") {
      targetElement.style.display = "";
      } else {
      targetElement.style.display = "none";
      }
      }
      }

      document.onclick = clickHandler;


      </script>


      ـــــــــــــــــــ

      عارض للصور

      <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">


      ـــــــــــــــــــ

      يعمل تحديث لصورة معينه مع كل مرة تدخل فيها لصفحة معينه

      <SCRIPT>
      <!-- written by The Omega
      //
      http://faisal1.com
      // faisal1@faisal1.com
      // You must leave these comments in to use the script
      // (!)
      {gfx=new Array()
      // put url's for randomly selected graphics here, as in the example
      gfx[0]="هنا تضع عنوان الصورة"
      gfx[1]="هنا تضع عنوان الصورة"
      gfx[2]="هنا تضع عنوان الصورة"

      today2=new Date()
      len=3
      today=today2.getTime()/10
      rnd=today % len
      document.writeln('<IMG SRC="'+gfx[rnd]+'">')}
      //-->
      </SCRIPT>


      ـــــــــــــــــــ

      يجعل دخول الصفحة من الداخل ويعطي منظر جميل

      <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>


      ـــــــــــــــــــ

      كود للمواقع العشوائية وهو مفيد

      <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>


      ـــــــــــــــــــ

      نافذة صغيرة لتوديع زائرك

      <HTML>
      <head>
      <TITLE>Javascript - Fenêtre de salutations</TITLE>

      <SCRIPT LANGUAGE="JavaScript">
      function salut(){
      f=window.open('','','toolbar=no,menubar=no,locatio n=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>


      ـــــــــــــــــــ

      كود لتشغيل ملف صوتي

      <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>

      ـــــــــــــــــــ

      كود جميل لعمل اطار للصفحة مع التحكم باللون والمقاس

      <script language="JavaScript1.2">

      if (document.all)
      document.body.style.cssText="border:25 inset blue"
      </script>

      ـــــــــــــــــــ

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

      <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.com">click here.</a> Enjoy your stay!</big></strong></font>'

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

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

      function intializemarquee(){
      document.cmarquee01.document.cmarquee02.document.w rite('<nobr>'+marqueecontents+'</nobr>')
      document.cmarquee01.document.cmarquee02.document.c lose()
      thelength=document.cmarquee01.document.cmarquee02. document.width
      scrollit()
      }

      function scrollit(){
      if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
      document.cmarquee01.document.cmarquee02.left=speed
      setTimeout("scrollit()",100)
      }
      else{
      document.cmarquee01.document.cmarquee02.left=marqu eewidth
      scrollit()
      }
      }

      window.onload=regenerate2
      </script>


      <ilayer width=&{marqueewidth}; height=&{marqueeheight}; name="cmarquee01">
      <layer name="cmarquee02"></layer>
      </ilayer>

      ـــــــــــــــــــ

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

      <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='lightyellow'
      //set below to '' if you don't wish to use a background image
      var scrollerbackground='scrollerback.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(document.main.document.second)",3000)
      return
      }
      if (tlayer.top>=tlayer.document.height*-1){
      tlayer.top-=5
      setTimeout("move1(tlayer)",100)
      }
      else{
      tlayer.top=scrollerheight
      tlayer.document.write(messages)
      tlayer.document.close()
      if (i==messages.length-1)
      i=0
      else
      i++
      }
      }

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

      function move3(whichdiv){
      tdiv=eval(whichdiv)
      if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
      tdiv.style.pixelTop=0
      setTimeout("move3(tdiv)",3000)
      setTimeout("move4(second2)",3000)
      return
      }
      if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
      tdiv.style.pixelTop-=5
      setTimeout("move3(tdiv)",100)
      }
      else{
      tdiv.style.pixelTop=scrollerheight
      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>=tdiv2.offsetHeight*-1){
      tdiv2.style.pixelTop-=5
      setTimeout("move4(second2)",100)
      }
      else{
      tdiv2.style.pixelTop=scrollerheight
      tdiv2.innerHTML=messages[i]
      if (i==messages.length-1)
      i=0
      else
      i++
      }
      }

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

      window.onload=startscroll

      </script>




      <ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; 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+';height:' +scrollerheight+';overflow:hiden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
      document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:' +scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">')
      document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0;t op:1;">')
      document.write(messages[0])
      document.writeln('</div>')
      document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;t op:0;visibility:hidden">')
      document.write(messages[1])
      document.writeln('</div>')
      document.writeln('</div>')
      document.writeln('</span>')
      }
      </script></font></td>


      ـــــــــــــــــــ

      شرح للوصلة في الشريط السفلي

      TARGET="_New" onMouseOver="window.status="هنا تضع شرح الوصلة;return true"

      onMouseOut="window.status='';return true"




    • الخنجرية كتب:

      شكرا اخي الريامي على الموضوع الجميل
      لكنه للجافاسكريبت وليس للجافا :)


      أشكرك على الرد
      من كثر ما مستعجل في طرح الموضوع نسيت أكتب للجافا سيكريبت ، تسلمي على التنبية
    • عبد العلي كتب:

      اشكرك على المعلوماتالمفيدة والرائعة

      تسلم وحياك الله

      واهديك هذه الهدية البسيطة بس انقر عليها





      تسلم أخي على الرد وعلى الهدية|a