<!-- DEBUT DU SCRIPT --> <script language="JavaScript1.2"> /* SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT http://www.editeurjavascript.com */ function ejs_nodroit() { alert('L-Aide - Clic droit interdit'); return(false); } document.oncontextmenu = ejs_nodroit; </script> <!-- FIN DU SCRIPT -->
curseur pour la souris
<style> <!-- BODY{ cursor:url("ejs.ani"); } --> </style>
horloge a la poursuit du curseur
<SCRIPT language=JavaScript> dCol='#F08080 ';//date colour. fCol='#6A5ACD ';//face colour. sCol='#008B8B ';//seconds colour. mCol='#C71585 ';//minutes colour. hCol='#000000 ';//hours colour. ClockHeight=40; ClockWidth=40; ClockFromMouseY=0; ClockFromMouseX=100; //Alter nothing below! Alignments will be lost! d=new Array("DIMANCHE","LUNDI","MARDI","MERCREDI","JEUDI","VENDREDI","SAMEDI"); m=new Array("JANVIER","FEVRIER","MARS","AVRIL","MAI","JUIN","JUILLET","AOUT","SEPTEMBRE","OCTOBRE","NOVEMBRE","DECEMBRE"); date=new Date(); day=date.getDate(); year=date.getYear(); if (year < 2000) year=year+1900; TodaysDate=" "+d[date.getDay()]+" "+day+" "+m[date.getMonth()]+" "+year; D=TodaysDate.split(''); H='...'; H=H.split(''); M='....'; M=M.split(''); S='.....'; S=S.split(''); Face='1 2 3 4 5 6 7 8 9 10 11 12'; font='Arial'; size=1; speed=0.6; ns=(document.layers); ie=(document.all); Face=Face.split(' '); n=Face.length; a=size*10; ymouse=0; xmouse=0; scrll=0; props="<font face="+font+" size="+size+" color="+fCol+"><B>"; props2="<font face="+font+" size="+size+" color="+dCol+"><B>"; Split=360/n; Dsplit=360/D.length; HandHeight=ClockHeight/4.5 HandWidth=ClockWidth/4.5 HandY=-7; HandX=-2.5; scrll=0; step=0.06; currStep=0; y=new Array();x=new Array();Y=new Array();X=new Array(); for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0} Dy=new Array();Dx=new Array();DY=new Array();DX=new Array(); for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0} if (ns){ for (i=0; i < D.length; i++) document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>'); for (i=0; i < n; i++) document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>'); for (i=0; i < S.length; i++) document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>'); for (i=0; i < M.length; i++) document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>'); for (i=0; i < H.length; i++) document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>'); } if (ie){ document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < D.length; i++) document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</B></font></div>'); document.write('</div></div>'); document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < n; i++) document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</B></font></div>'); document.write('</div></div>'); document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < H.length; i++) document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold">'+H[i]+'</div>'); document.write('</div></div>'); document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < M.length; i++) document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>'); document.write('</div></div>') document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i=0; i < S.length; i++) document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-wei????????????????????Ž?¯?????sght:bold">'+S[i]+'</div>'); document.write('</div></div>') } (ns)?window.captureEvent(Event.MOUSEMOVE):0; function Mouse(evnt){ ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY; xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX; } (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse; function ClockAndAssign(){ time = new Date (); secs = time.getSeconds(); sec = -1.57 + Math.PI * secs/30; mins = time.getMinutes(); min = -1.57 + Math.PI * mins/30; hr = time.getHours(); hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360; if (ie){ Od.style.top=window.document.body.scrollTop; Of.style.top=window.document.body.scrollTop; Oh.style.top=window.document.body.scrollTop; Om.style.top=window.document.body.scrollTop; Os.style.top=window.document.body.scrollTop; } for (i=0; i < n; i++){ var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style; F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll; F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180); } for (i=0; i < H.length; i++){ var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style; HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll; HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs); } for (i=0; i < M.length; i++){ var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style; ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll; ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min); } for (i=0; i < S.length; i++){ var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style; SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll; SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec); } for (i=0; i < D.length; i++){ var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style; DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll; DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180); } currStep-=step; } function Delay(){ scrll=(ns)?window.pageYOffset:0; Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed); Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed); for (i=1; i < D.length; i++){ Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed); Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed); } y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed); x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed); for (i=1; i < n; i++){ y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed); x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed); } ClockAndAssign(); setTimeout('Delay()',30); } if (ns||ie)window.onload=Delay; </SCRIPT>
horloge digital
<script language="javascript"> //<!-- function HeureCheckEJS() { krucial = new Date; heure = krucial.getHours(); min = krucial.getMinutes(); sec = krucial.getSeconds(); jour = krucial.getDate(); mois = krucial.getMonth()+1; annee = krucial.getFullYear(); if (sec < 10) sec0 = "0"; else sec0 = ""; if (min < 10) min0 = "0"; else min0 = ""; if (heure < 10) heure0 = "0"; else heure0 = ""; if (mois == 1) mois = "Janvier"; if (mois == 2) mois = "Février"; if (mois ==3) mois = "Mars"; if (mois == 4) mois = "Avril"; if (mois == 5) mois = "Mai"; if (mois == 6) mois = "Juin"; if (mois == 7) mois = "Juillet"; if (mois == 8) mois = "Août"; if (mois == 9) mois = "Septembre"; if (mois == 10) mois = "Octobre"; if (mois == 11) mois = "Novembre"; if (mois == 12) mois = "Décembre"; if (jour == 1) jour1 = "er"; else jour1 = ""; DinaHeure = "Il est " + heure0 + heure + "h" + min0 + min + " et nous sommes le " + jour + jour1 + " " + mois + " " + annee + "."; which = DinaHeure if (document.getElementById){ document.getElementById("ejs_heure").innerHTML=which; } setTimeout("HeureCheckEJS()", 1000) } window.onload = HeureCheckEJS; //--> </script>
cripter une phrase avec un passe
<script language="javascript"> chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 äëÿüïöâêûîôàèùìòé&~\"#\'{([-|`_\ç^@)°]=+}¨£$¤%µ*,?;.:/!§"; x=0; y=0; function symbol(cx,cy) { var t=0; t=chars.substring(chars.length-cy,chars.length)+chars.substring(0,chars.length-cy); t=t.charAt(cx); return t; } function crypt(s) { var lin=""; var n=0; var c1=0;var c2=0; var t=true; if (s==1) { var text=document.form.texte1.value; var cle=document.form.cle1.value; if (text=="" || cle=="") { alert("Merci d'entrer la phrase et la clé."); return false; } cle=passlin(cle,text); } else { var text=document.form.texte2.value; var cle=document.form.cle2.value; if (text=="" || cle=="") { alert("Merci d'entrer la phrase et la clé."); return false; } cle=passlin(cle,text); } for (n=0;n<text.length;n++) { c1=chars.indexOf(cle.charAt(n)); c2=chars.indexOf(text.charAt(n)); if (c2==-1) { alert("ERREUR:\nImpossible de continuer: La phrase contient des carctères inacceptés!"); return false; } else if (c1==-1) { alert("ERREUR:\nImpossible de continuer: La clé contient des carctères inacceptés!"); return false; } else { lin+=symbol(c1,c2); } } if (s==1) { document.form.texte2.value=lin; document.form.texte1.value=""; } else { document.form.texte1.value=lin; document.form.texte2.value=""; } } function passlin(cle,text) { var lin=""; for (n=0;n<Math.floor(text.length/cle.length);n++) { lin+=cle; } lin+=cle.substring(0,text.length-n*cle.length); return lin; } </script>
calendrier dynamic
<SCRIPT LANGUAGE="JavaScript"> /* SCRIPT TROUVE SUR L'EDITEUR JAVASCRIPT http://www.editeurjavascript.com */ /******************************************************* * CALENDRIER GREGORIEN PERPETUEL v1.0 * * par SKAMP (skamp@befrance.com) (09/09/2000) * ******************************************************** * Ce script permet de choisir un mois et une annee en * * particulier, afin d'afficher dynamiquement le * * calendrier correspondant. Par defaut c'est celui du * * mois courant qui s'affiche. Note : la 1ere semaine * * de l'annee commence le 1er lundi. * * * * Le code suivant s'inspire de celui de Jean-Michel * * Berthier (berth@cybercable.fr, * * perso.cybercable.fr/berth/jstips/calendrier.htm). * * * * MODIFICATIONS NECESSAIRES POUR PORTAGE VERS D'AUTRES * * NAVIGATEURS : N'A ETE TESTE QUE SOUS MICROSOFT * * INTERNET EXPLORER 5.00.2614.3500 * *******************************************************/ var HTMLCode = ""; var DaysList = new Array("Jour_Vide", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"); var MonthsList = new Array("Mois_Vide", "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"); var MonthLength = new Array("Mois_longueur_vide",31,29,31,30,31,30,31,31,30,31,30,31); var QueryDate = 0; /* Jour demande (date)*/ var QueryMonth = 0; /* Mois demande*/ var QueryYear = 0; /* Annee demandee*/ var QueryDay = 0; /* Jour de la semaine du jour demande, inconnu*/ var FirstDay = 0; /* Jour de la semaine du 1er jour du mois*/ var WeekRef = 0; /* Numerotation des semaines*/ var WeekOne = 0; /* Numerotation des semaines*/ var Today = new Date(); var TodaysYear = Today.getYear(); var TodaysMonth = Today.getMonth() + 1; var TodaysDate = Today.getDate(); var TodaysDay = Today.getDay() + 1; if (TodaysYear < 2000) { TodaysYear += 1900; } /* On commence par verifier les donnees fournies par l'utilisateur*/ function CheckData() { QueryDate = document.Cal.Date.selectedIndex + 1; QueryMonth = document.Cal.Month.selectedIndex + 1; QueryYear = (document.Cal.Century.selectedIndex + 15) * 100 + document.Cal.Year.selectedIndex; MonthLength[2] = CheckLeap(QueryYear); /* on teste si la date choisie est anterieure au lundi 20 decembre 1582*/ if ((QueryYear * 10000 + QueryMonth * 100 + QueryDate) < 15821220) { alert("Vous avez choisi une date antérieure au 20 décembre 1582, hors du calendrier Grégorien. \nVeuillez sélectionner une date plus récente."); document.Cal.reset(); CheckData(); } else if (MonthLength[QueryMonth] < QueryDate) /* on verifie si la date est coherente*/ { alert("Il n'y a pas " + QueryDate + " jours en " + MonthsList[QueryMonth] + " " + QueryYear + " mais " + MonthLength[QueryMonth] + ". \nVeuillez choisir une autre date."); document.Cal.reset(); CheckData(); } else { DisplaySchedule(); } } /* Teste une annee pour determiner si elle est bissextile ou pas*/ function CheckLeap(yy) { if ((yy % 100 != 0 && yy % 4 == 0) || (yy % 400 == 0)) { return 29; } else { return 28; } } /* Renvoie le numero de la semaine correspondant a la date requise*/ function DefWeekNum(dd) { numd = 0; numw = 0; for (n=1; n<QueryMonth; n++) { numd += MonthLength[n]; } numd = numd + dd - (9 - DefDateDay(QueryYear,1,1)); numw = Math.floor(numd / 7) + 1; if (DefDateDay(QueryYear,1,1) == 1) { numw++; } return numw; } /* Renvoie le numero du jour de la semaine correspondant a la date requise */ function DefDateDay(yy,mm,dd) { return Math.floor((Date2Days(yy,mm,dd)-2) % 7) + 1; } /* Transforme la date en nb de jours theoriques */ function Date2Days(yy,mm,dd) { if (mm > 2) { var bis = Math.floor(yy/4) - Math.floor(yy/100) + Math.floor(yy/400); var zy = Math.floor(yy * 365 + bis); var zm = (mm-1) * 31 - Math.floor(mm * 0.4 + 2.3); return (zy + zm + dd); } else { var bis = Math.floor((yy-1)/4) - Math.floor((yy-1)/100) + Math.floor((yy-1)/400); var zy = Math.floor(yy * 365 + bis); return (zy + (mm-1) * 31 + dd); } } /* Produit le code HTML qui formera le calendrier */ function DisplaySchedule() { HTMLCode = "<table cellspacing=0 cellpadding=3 border=3 bordercolor=#000033>"; QueryDay = DefDateDay(QueryYear,QueryMonth,QueryDate); WeekRef = DefWeekNum(QueryDate); WeekOne = DefWeekNum(1); HTMLCode += "<tr align=center><td colspan=8 class=TITRE><b>" + MonthsList[QueryMonth] + " " + QueryYear + "</b></td></tr><tr align=center>"; for (s=1; s<8; s++) { if (QueryDay == s) { HTMLCode += "<td><b><font color=#ff0000>" + DaysList[s] + "</font></b></td>"; } else { HTMLCode += "<td><b>" + DaysList[s] + "</b></td>"; } } HTMLCode += "<td><b><font color=#888888>Sem</font></b></td></tr>"; a = 0; for (i=(1-DefDateDay(QueryYear,QueryMonth,1)); i<MonthLength[QueryMonth]; i++) { HTMLCode += "<tr align=center>"; for (j=1; j<8; j++) { if ((i+j) <= 0) { HTMLCode += "<td> </td>"; } else if ((i+j) == QueryDate) { HTMLCode += "<td><b><font color=#ff0000>" + (i+j) + "</font></b></td>"; } else if ((i+j) > MonthLength[QueryMonth]) { HTMLCode += "<td> </td>"; } else { HTMLCode += "<td>" + (i+j) + "</td>"; } } if ((WeekOne+a) == WeekRef) { HTMLCode += "<td><b><font color=#00aa00>" + WeekRef + "</font></b></td>"; } else { HTMLCode += "<td><font color=#888888>" + (WeekOne+a) + "</font></td>"; } HTMLCode += "</tr>"; a++; i = i + 6; } Calendrier.innerHTML = HTMLCode + "</table>"; } </SCRIPT> <STYLE type="text/css"> <!-- SELECT, INPUT, TABLE { font-family : Verdana; font-size : 10px; color : #000033; } .TITRE { font-family : Verdana; font-size : 12px; color : #000033; } --> </STYLE>
texte animé
<!-- DEBUT DU SCRIPT --> <script language="JavaScript"> /* SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT http://www.editeurjavascript.com */ x = 25; place = -1000; place2 = 1000; pass =0; LongVar = 1000; function TXTan() { if (pass == 0) { if (place2 != 0) { texte1.left = (place = place + x); texte2.left = (place2 = place2 - x); tempoText = setTimeout('TXTan()', 25); } else { pass = 1; tempoText = setTimeout('TXTan()', 2500); } } else { if (place2 != 1000) { texte1.left = (place = place - x); texte2.left = (place2 = place2 + x); tempoText = setTimeout('TXTan()', 25); } else { pass = 0; tempoText = setTimeout('TXTan()', 1); } } } </script> <!-- FIN DU SCRIPT -->
faire varier les curseurs
<table> <tr> <td bgcolor=#FFCC00 style="cursor: pointer;">Lien (main)</td> </tr> <tr> <td bgcolor=#FFCC00 style="cursor: help;">Help !</td> </tr> <tr> <td bgcolor=#FFCC00 style="cursor: crosshair;">Precision</td> </tr> <tr> <td bgcolor=#FFCC00 style="cursor: move;">Bouger</td> </tr> <tr> <td bgcolor=#FFCC00 style="cursor: text;">Texte</td> </tr> <tr> <td bgcolor=#FFCC00 style="cursor: wait;">Wait</td> </tr></td></tr></table></td></tr></table> <br></td><td colspan="2"><img src="themes/Xelopolis_MSN/images/pixel.gif" width="4" height="1" border="0" alt=""><br><br></td></tr></table> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#8795C1" width="100%" bgcolor="#FFFFFF"><tr><td width="100%"><br><center><div align="center"><a href="http://www.top-maroc.net" target="_blank"> <img src="http://www.top-maroc.net/button.php?id=2512" alt="La/Le Star(e) Des Sites Marocains" width="80" height="17" border="0" /></a><a href="http://www.marocdot.com/"><img src="http://www.marocdot.com/button.php?u=zwiwanchat" alt=".:( Marocdot top sites et annuaire marocain ):." width="80" height="17" border="0" /></a><a href="http://www.maroc-alqema.com/"><img src="http://www.maroc-alqema.com/button.php?u=oussama" alt="MAROC-ALQEMA.COM" width="80" height="17" border="0" /></a><a href="http://www.maroc-topsite.biz/"><img src="http://www.maroc-topsite.biz/button.php?u=humoussama" alt="Maroc-TopSte.Biz" width="80" height="17" border="0" /></a><a href="http://www.maroc-classe.com" title="Top Maroc" target="_blank"><img src="http://www.maroc-classe.com/button.php?u=humoussama" alt="Top Maroc" width="80" height="17" border="0" /></a><a href="http://www.topma.net/"><img src="http://www.topma.net/button.php?u=humoussama" alt=".::TopMa::. Top classement des Site Marocain .:: Top 100 ::." width="80" height="17" border="0" /></a><a href="http://top.webmatec.com/in.php?id=248"><img src="http://top.webmatec.com/button.php?id=248" width="80" height="17" border="0"></a></div> <br><a href="http://zni9a.net/index.php?file=Page&name=Equipe" target="_blank">Production & Réalisation : L'Equipe Zni9a</a></center></table></table></table><div style="text-align: center;"><br /> <a href="http://www.nuked-klan.org" onclick="window.open(this.href); return false;"><img style="border:0;" src="images/nk_powered.gif" width="80" height="15" alt="" title="Powered by Nuked-Klan SP4.3 © 2002, 2005" /></a> <a href="http://validator.w3.org/check?uri=referer"><img style="border :0;" src="images/w3c_xhtml.gif" width="80" height="15" alt="" title="Valid XHTML 1.0!" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;" src="images/w3c_css.gif" width="80" height="15" alt="" title="Valid CSS!" /></a></div></body></html>
Jeux flash
Copyright © 2006 - NasOUJDA.Com- Tous droits réservés. Design by : HAMMADI YOUSSEF