مكتبة الجافا إسكريبت لإضافة لمسات جمالية لمنتداك

2 مشترك

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

مكتبة الجافا إسكريبت لإضافة لمسات جمالية لمنتداك Empty مكتبة الجافا إسكريبت لإضافة لمسات جمالية لمنتداك

مُساهمة من طرف magex007 الأحد 12 أبريل 2009 - 2:17

الرجاء تحويل الموضوع للمنتدى المناسب


مكتبة الجافا إسكريبت

انسخ الاكواد وضعها في داخل صفحات html لموقعك


كود يجعل الصفحه تهتز لفتره وجيزه بعد دخولك اليها

كود:
الكود:

<script language="JavaScript"> <!--- bName = navigator.appName; bVer = parseInt(navigator.appVersion); if (bName == "Netscape" && bVer == 3) ver = "n3"; else if (bName == "Netscape" && bVer == 2) ver = "n2"; else if (bName == "Netscape" && bVer >= 4) ver = "n4"; else if (bName == "Microsoft Internet Explorer" && bVer == 2) ver = "e3"; else if (bName == "Microsoft Internet Explorer" && bVer > 2) ver = "e4"; if (navigator.appVersion.indexOf("Mac") != -1) ver+="m"; function shake() { if (ver == "n4" || ver == "n4m" || ver == "e4" || ver == "e4m") { for (i = 10; i > 0; i--) { for (z = 4; z > 0; z--) { self.moveBy(0,i); self.moveBy(i,0); self.moveBy(0,-i); self.moveBy(-i,0); } } } } setTimeout('shake()',5000); // ---> </script>
لالغاء الخطوط التي تظهر تحت الوصلات
كود:
<head> <style> <!--A:link {text-decoration: none; color: #0000ff;}A:visited {text-decoration: none; color: #0000FF;}A:active {text-decoration: none; color:#FF0000; }A:hover {text-decoration: none; color: #ff0000;font-size:16 ;}//--> </style> </head>
لاختيار لون الخلفيه

كود:
الكود:

<FORM name="back"> <SELECT name="g" onChange="change()"> <OPTION VALUE="aqua">ازرق فاتح <OPTION VALUE="green">اخضر <OPTION VALUE="orange">برتقالي <OPTION VALUE="yellow">اصفر <OPTION VALUE="purple">بنفسجي <OPTION VALUE="gray">رصاصي <OPTION VALUE="pink">وردي <OPTION VALUE="lavender">جي فاتح <OPTION VALUE="khaki">ككاوي <OPTION VALUE="skyblue">ازرق سماوي <OPTION VALUE="white" SELECTED>ابيض </SELECT> <INPUT TYPE="button" VALUE="اختار اللون"> </FORM> <script language="Javascript"> <!-- //http://www.coctail.net/java/java.htm function change() { document.bgColor = document.back.g.options[document.back.g.selectedIndex].value } //--> </script>
كود يجعل الزائر يختار لون الخلفيه لصفحتك
كود:
الكود:

<script language="JavaScript"> <!-- function backbs(clr) { document.bgColor = clr } //--> </script> <form> <input type="button" value="ازرق فاتح" onclick="backbs('aqua')"> <input type="button" value="اصفر" onclick="backbs('yellow')"> <input type="button" value="أحمر " onclick="backbs('red')"> <input type="button" value="ابيض" onclick="backbs('white')"> <input type="button" value="رصاصي" onclick="backbs('gray')"> </form>
كود لعمل خلفيه مضيئه
كود:
الكود:

<script language="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! JavaScript Source: Free JavaScripts, Tutorials, Example Code, Reference, Resources, and Help --> <!-- Hide from old browsers var Color= new Array(9); Color[1] = "ff"; Color[2] = "ee"; Color[3] = "dd"; Color[4] = "cc"; Color[5] = "bb"; Color[6] = "aa"; Color[7] = "99"; Color[8] = "88"; Color[9] = "77"; Color[10] = "66"; Color[11] = "55"; Color[12] = "44"; Color[13] = "33"; Color[14] = "22"; Color[15] = "11"; Color[16] = "00"; /* Do not display text on a fading background. Instead, let it fade in and out once or twice, then load a new page. */ function fadeIn(where) { if (where >= 1) { document.bgColor="#" + Color[where] +"0000"; where -= 1; setTimeout("fadeIn("+where+")", 15); } else { setTimeout('fadeOut(1)', 15); } } function fadeOut(where) { if (where <=16) { document.bgColor="#" + Color[where] +"0000"; where += 1; setTimeout("fadeOut("+where+")", 15) } else { setTimeout("fadeIn(16)", 15); // @@@@@@@@@@@@@@@@.href="http://www.netscape.com/"; } } // Unhide --> </script>
ثم انسخ هذا الكود في منطقة الجسم
كود:
الكود:

<body onload="fadeIn(16)">
كود للوحه الترشيح لموقعك
كود:
الكود:

<!--webbot bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup" startspan --><script language="JavaScript"> <!-- The JavaScript Source!! http://coctail.net --> function vote () { vote4alnadeem=@@@@@@@@open("http://arank.com/cgi-bin/rank/rankem.cgi?action=in&id=kocktailقم بتبديل الوصله"); } function cancel () {} if (confirm("هل ترشحني لأفضل 100 موقع عربي")) { vote(); } else cancel() // --></script><!--webbot bot="HTMLMarkup" endspan --></p> <div align="center"><center>
عرض الصفحه تلقائيا
كود:
الكود:

<script language="JavaScript1.2"> //change 1 to another integer to alter the scroll speed. Greater is faster var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (document.all) temp=document.body.scrollTop else temp=@@@@@@@@pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all) currentpos=document.body.scrollTop+speed else currentpos=@@@@@@@@pageYOffset+speed @@@@@@@@scroll(0,currentpos) } else{ currentpos=30 @@@@@@@@scroll(0,currentpos) } } function startit(){ setInterval("scrollwindow()",30) } @@@@@@@@onload=initialize </script>

تأثيرات الماوس
كود:
الكود:

<!-- TWO STEPS TO INSTALL STARS: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <style type="text/css"> <!-- Begin CSS #a { position: absolute; top: 10px; left: 10px; visibility: visible } #b { position: absolute; top: 10px; left: 10px; visibility: visible } #c { position: absolute; top: 10px; left: 10px; visibility: visible } #d { position: absolute; top: 10px; left: 10px; visibility: visible } #e { position: absolute; top: 10px; left: 10px; visibility: visible } #f { position: absolute; top: 10px; left: 10px; visibility: visible } #g { position: absolute; top: 10px; left: 10px; visibility: visible } End CSS --> </style> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <layer name="a0" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,2,2"></layer> <layer name="a1" left=10 top=10 visibility=show bgcolor="#ff8000" clip="0,0,2,2"></layer> <layer name="a2" left=10 top=10 visibility=show bgcolor="#ffff00" clip="0,0,2,2"></layer> <layer name="a3" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,2,2"></layer> <layer name="a4" left=10 top=10 visibility=show bgcolor="#0000ff" clip="0,0,2,2"></layer> <layer name="a5" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,2,2"></layer> <layer name="a6" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,2,2"></layer> <div id="starsDiv" style="position:absolute;top:0px;left:0p x"> <div style="position:relative;width:2px;heigh t:2px;background:#ffffff;fo nt-size:2px;visibility:visible"></div> <div style="position:relative;width:2px;heigh t:2px;background:#ffff00;fo nt-size:2px;visibility:visible"></div> <div style="position:relative;width:2px;heigh t:2px;background:#ffa000;fo nt-size:2px;visibility:visible"></div> <div style="position:relative;width:2px;heigh t:2px;background:#ff0000;fo nt-size:2px;visibility:visible"></div> <div style="position:relative;width:2px;heigh t:2px;background:#00ff00;fo nt-size:2px;visibility:visible"></div> <div style="position:relative;width:2px;heigh t:2px;background:#0000ff;fo nt-size:2px;visibility:visible"></div> <div style="position:relative;width:2px;heigh t:2px;background:#FF00FF;fo nt-size:2px;visibility:visible"></div> </div> <script language="JavaScript"> <!-- Original: freeware.de --> <!-- Web Site: Freeware.de - Download kostenlose Software & Spiele! --> <!-- MSIE Fix by: Kurt Grigg (kurt.grigg@virgin.net) --> <!-- Begin if (document.layers) { @@@@@@@@captureEvents(Event.MOUSEMOVE); } var y@@@@ = 200; var x@@@@ = 200; var yAmpl = 10; var yMax = 40; var step = .2; var ystep = .5; var currStep = 0; var tAmpl=1; var Xpos = 1; var Ypos = 1; var i = 0; var j = 0; if (document.all) { function MoveHandler(){ Xpos = document.body.scrollLeft + event.x; Ypos = document.body.scrollTop + event.y; } document.onmousemove = MoveHandler; } else if (document.layers) { function xMoveHandler(evnt) { Xpos = evnt.pageX; Ypos = evnt.pageY; } @@@@@@@@onMouseMove = xMoveHandler; } function animateLogo() { if (document.all) { y@@@@ = @@@@@@@@document.body.offsetHeight / 4; x@@@@ = @@@@@@@@document.body.offsetWidth / 4; } else if (document.layers) { y@@@@ = @@@@@@@@innerHeight / 4; x@@@@ = @@@@@@@@innerWidth / 4; } if (document.all) { for (i = 0 ; i < starsDiv.all.length; i++) { starsDiv.all[i].style.top = Ypos + Math.cos((20*Math.sin(currStep/20))+i*70)*y@@@@*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10); starsDiv.all[i].style.left = Xpos + Math.sin((20*Math.sin(currStep/20))+i*70)*x@@@@*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10); } } else if (document.layers) { for (j = 0; j < 7; j++) { //7 is number of NS layers! var templayer="a" + j; document.layers[templayer].top = Ypos + Math.cos((20*Math.sin(currStep/20))+j*70)*y@@@@*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10); document.layers[templayer].left =Xpos + Math.sin((20*Math.sin(currStep/20))+j*70)*x@@@@*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10); } } currStep += step; setTimeout("animateLogo()", 10); } animateLogo(); // End --> </script> <p><center> <font face="arial, helvetica" size="-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 4.21 KB -->
تأثير نص يتبع الماوس
كود:
الكود:
<!-- THREE STEPS TO INSTALL MOUSE BANNER: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY tag your HTML document 3. Put the final code inside the BODY of your HTML page --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <style>.spanstyle { COLOR: white; FONT-FAMILY: Verdana; FONT-SIZE: 8pt; FONT-WEIGHT: bold; POSITION: absolute; TOP: -50px; VISIBILITY: visible } </style> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Peter Gehrig --> <!-- Web Site: http://www.24fun.ch --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin var x, y; var step = 10; var flag = 0; var message = "JavaScript is so cool !! "; 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> <!-- STEP TWO: Copy this code into the BODY tag od your HTML document --> <body bgcolor="#000080" text="#000000" onload="makesnake()" style="OVERFLOW-X: hidden; OVERFLOW-Y: scroll; WIDTH: 100%"> <!-- STEP THREE: Put the final code inside the BODY of your HTML document --> <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> <p><center> <font face="arial, helvetica" SIZE="-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 2.08 KB -->
تحياتي
magex007
magex007

مكتبة الجافا إسكريبت لإضافة لمسات جمالية لمنتداك 01010

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

http://magex007.ahlamontada.net

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

مكتبة الجافا إسكريبت لإضافة لمسات جمالية لمنتداك Empty رد: مكتبة الجافا إسكريبت لإضافة لمسات جمالية لمنتداك

مُساهمة من طرف ToTyFruTTy الأحد 12 أبريل 2009 - 2:39

معظم هذة الأكواد لا تعمل على منتدياتنا
ToTyFruTTy
ToTyFruTTy
 
 

انثى
عدد المساهمات : 42153
معدل النشاط : 54109
السُمعة : 88

http://www.e3tmadat.com

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

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

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

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