المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : أكواد جافا جاهزة هدية مني .. رائعة


المجرم
04-09-2002, 04:00 AM
بسم الله الرحمن الرحيم
يسرني تقديم لكم مجموعو من اكواد الجافا الجاهزة والتي تختص بإضفاء طابع جمالي على الصفحة :
اول شي ادعوكم لزيارة هذا الموقع المجاني الذي يختص بتعليم لغة الاتش تي ام ال بطريقة سهلة
http://www.khayma.com/hpinarabic/htmintro.html
ومن ثم ادعوكم لزيارة موقعي وملاحظة هذه الاكواد في صفحاته
http://ereaser.8m.com
وهذه هي الاكواد :
<script language="**********">
<!---
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>
هذا الكود يجعل الصفحة تتراقص بشكل جميل عند فتحها

2.
<!--webbot
bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup"
startspan --><script language="**********">
<!-- The ********** Source!! http://Stop.at/Alnadeem -->
function vote () {
vote4alnadeem=window.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>
هذا الكود يسأل الزائر ترشيح موقعك لاحسن 100 موقع عربي وما عليك سوى وضع عنوان موقعك مكان العنوان الموضوع مسبقا

3.
<html>
<head>
<TITLE>TextMagnet</TITLE>

****** NAME="keywords" CONTENT="DHTML, text, scroller, marquee, ticker, **********, Dynamic HTML, download, free, samples, applet, animation, news">

****** NAME="description" CONTENT="Great text effect for your good and bad news! TextMagnet script reassembles your messages from small portions of text that are randomly spread out all over the screen. The script draws the text-chunks together like a strong magnet! Made for IE5 and higher.">

<script>
<!-- Beginning of ********** -

// CREDITS:
// TextMagnet by Urs Dudli and Peter Gehrig
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com.
// info@24fun.ch
// 2/24/2000

// IMPORTANT:
// If you add this script to a script-library or script-archive
// you have to add a link to http://www.24fun.com on the webpage
// where this script will be running.

// CONFIGURATION:
// 1. Copy and paste the two script-blocks into your HTML-file:
// Put the first script-block inside the head-section of your HTML-file.
// Put the second script-block right at the end of the
// body-section of your HTML-file.
// 2. Copy and paste the style-sheet into head-section of your HTML-file.
// Configure font, font-size, font-color, background-color etc.
// 3. Insert 'onLoad="changetext()"' into the body tag.
// 4. Configure the variables below:

// The width of your textbox (pixels).
var textwidth=300

// The height of your textbox (pixels).
var textheight=150

// Your messages. You may add as many messages as you like.
var message=new Array()
message[0]="Are you happy?"
message[1]="Are you married?"
message[2]="Or both?"
message[3]="Then you must be a very lucky person."

// Final horizontal position of the image: distance to the left margin of the window
// If you set this to '-1' the textbox will centered in the middle of the browser-window
var x_finalpos=-1

// Final vertical position of the image: distance to the top margin of the window
// If you set this to '-1' the textbox will centered in the middle of the browser-window
var y_finalpos=50

// Number of sliced cells (the higher this value the slower the script)
var x_slices=24

// Number of sliced rows (the higher this value the slower the script)
var y_slices=1

// Speed of the reassembling effect. More means slower.
var pause=10

// The width and heigth of the zone where the debris of the message are spread (pixels)
var screenwidth=900
var screenheight=600

// Do not change the variables below
var x_step=new Array()
var y_step=new Array()
var x_randompos=0
var y_randompos=0
var i_loop=0
var max_loop=30
var i_text=0
var width_slice=Math.floor(textwidth/x_slices)
var height_slice=Math.floor(textheight/y_slices)
var cliptop=0
var clipbottom=height_slice
var clipleft=0
var clipright=width_slice
var spancounter=0

function initiate() {
if (x_finalpos==-1) {
x_finalpos=Math.floor(document.body.clientWidth/2)-Math.floor(textwidth/2)
}
if (y_finalpos==-1) {
y_finalpos=Math.floor(document.body.clientHeight/2)-Math.floor(textheight/2)
}
cliptop=0
clipbottom=height_slice
clipleft=0
clipright=width_slice
i_loop=0
spancounter=0
if (document.all) {
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
var thisspan=eval("document.all.span"+spancounter+".style")
x_randompos=Math.ceil(screenwidth*Math.random())
y_randompos=Math.ceil(screenheight*Math.random())
thisspan.posLeft=x_randompos
thisspan.posTop=y_randompos
thisspan.clip ="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
clipleft+=width_slice
clipright+=width_slice
spancounter++
}
clipleft=0
clipright=width_slice
cliptop+=height_slice
clipbottom+=height_slice
}
}
explode_IE()
}

function changetext() {
spancounter=0
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
var thisspan=eval("document.all.span"+spancounter+".style")
thisspan.posLeft=-5000
spancounter++
}
}
spancounter=0
if (i_text>message.length-1) {i_text=0}
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
var thisinnerspan=eval("span"+spancounter)
thisinnerspan.innerHTML=message[i_text]
spancounter++
}
}
i_text++
initiate()
}


function explode_IE() {
spancounter=0
if (i_loop<=max_loop-1) {
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
var thisspan=eval("document.all.span"+spancounter+".style")
x_step[spancounter]=(x_finalpos-thisspan.posLeft)/(max_loop-i_loop)
y_step[spancounter]=(y_finalpos-thisspan.posTop)/(max_loop-i_loop)
thisspan.posLeft+=x_step[spancounter]
thisspan.posTop+=y_step[spancounter]
spancounter++
}
}
i_loop++
var timer=setTimeout("explode_IE()",pause)
}
else {
spancounter=0
clearTimeout(timer)
var timer=setTimeout("changetext()",2000)
}
}


// - End of ********** - -->
</script>
<style>
.spanstyle {
position:absolute;
left:-5000px;
font-size : 28;
font-family : Arial Black;
font-style : italic;
color : Olive;
text-align : center;
background-color : 004400;
border-style : solid;
padding : 5;
width : 280;
height : 90;
}
</style>

</head>

<body bgcolor="#000000" text="FFFFFF" link="FFFFFF" alink="FFFFFF" vlink="FFFFFF" onLoad="changetext()">


<script>
<!-- Beginning of ********** -
if (document.all) {
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
document.write("<span id='span"+spancounter+"' class='spanstyle'></span>")
spancounter++
}
}
spancounter=0
}
// - End of ********** - -->
</script>

</body>
</html>
تأثير رائع ما عليك سوى تجريبه

4.
<!-- 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:0px">
<div style="position:relative;width:2px;height:2px;background: #ffffff;font-size:2px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background: #ffff00;font-size:2px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background: #ffa000;font-size:2px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background: #ff0000;font-size:2px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background: #00ff00;font-size:2px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background: #0000ff;font-size:2px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background: #FF00FF;font-size:2px;visibility:visible"></div>
</div>

<script language="**********">

<!-- Original: freeware.de -->
<!-- Web Site: http://freeware.de -->
<!-- MSIE Fix by: Kurt Grigg (kurt.grigg@virgin.net) -->

<!-- Begin
if (document.layers) {
window.captureEvents(Event.MOUSEMOVE);
}
var yBase = 200;
var xBase = 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;
}
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (document.all) {
yBase = window.document.body.offsetHeight / 4;
xBase = window.document.body.offsetWidth / 4;
}
else if (document.layers) {
yBase = window.innerHeight / 4;
xBase = window.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)*yBase*(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)*xBase*(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)*yBase*(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)*xBase*(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 **********s provided<br>
by <a href="http://**********source.com">The ********** Source</a></font>
</center><p>

<!-- Script Size: 4.21 KB -->
الوان واشكل رائعة تتراقص حول الماوس

5.
<input type="Button" name="lukk" value=" قم بتجديدالصفحة دائماً" style="font-size: x-small; font-family: Tahoma; font-weight: normal; color: BLAC; background-color: #FFFFC6;" onClick="**********:location.reload()">
كود لاظهار زر تجديد الصفحة
لا تنسى امسح الموقع المكتوب مسبقا وابدله بموقعك

6.
<span lang=AR-SA><script language="**********">
<!--
window.alert("السلام عليكم")
window.alert("من انت")
window.alert("وش سمك ها")
window.alert("كم عمرك؟")
window.alert("بنت")
window.alert(" ولاولد ")
window.alert("قول الحقيقه...")
window.alert(" بدون لف ")
window.alert(" ولادوران ")
window.alert("لالا الظاهر ولد")
window.alert("ولا بنت ومتخفيه")
window.alert("من وين جاي ها")
window.alert(" وش جابك عندنا ها ")
window.alert("مو قلنالك لاتدخل هنا ")
window.alert("وتولع النور بعد")
window.alert("خلاص ازعجتنا وش تبي")
window.alert("طيب مانطول عليك بس نتمنى ان الكود يعجبك ")
window.alert(" واذا تبي تشوف اللعبه الأصليه ")
window.alert(" روح لصفحة الألعاب ")
window.alert(" ماشفت شي ")
window.alert("اوكي مانعطلك")
window.alert(" باي ")

// -->
</script>
فخ الزوار
7.
<script language="**********">
<!--

var x = 0
var speed = 300
var text = "Welcome In Alsaher Net"

function Blinky() {
window.status = text
setTimeout("Blinky2()", speed)
}

function Blinky2() {
window.status = " "
setTimeout("Blinky()", speed)
}

Blinky()
//-->
//http://www.alsaher.net
</script>

كلام على المسطرة بشكل رسالة تنبيه



لا تنسى كل ما عليك فعله هو القص واللصق وتعديل محتويات الكود بما يتناسب مع مقعك مثل ابدال العنوان .......
وانا جاهز لاي استفسار

اسكندراني
04-09-2002, 09:57 PM
شكراً لك جزيلاً أخي العزيز ولكن
ننتظر المزيد منك
فلا تنسانا
وهل يوجد لديك سكريبت جافا يجعل الصفحة تتحرك وترقص
فلا تبخل على
ويمكنك مراسلتي هنا
ahmed_hosny70@hotmail.com
وأرجوك زور منتداي
www.alrakiza.com/ForumList.asp?UserNo=14426

المجرم
05-09-2002, 01:10 AM
الف شكر الك اخ اسكندراني .. وبالنسبة للكود فهو موجود بأعلى الصفحة ارجع وشوف

whussam
05-09-2002, 10:26 AM
شكراااااااااااا على هذي الأكواد

المجرم
05-09-2002, 04:18 PM
العفو واحنا بالخدمة

اسكندراني
05-09-2002, 07:42 PM
؟؟؟؟؟؟؟

المجرم
06-09-2002, 03:12 AM
اخوي اسكندراني هاي الاكواد حطها بين <head>,</head> وانشاء الله بتعمل
طبعا هذا بعد ما تكون اخترت خيار html اذا كنت ممن يستخدمو الفرونت بيج
تحياتي