مشاهدة النسخة كاملة : مكتبة الجافا


Amoor
11-10-2004, 02:42 PM
1.كود يجعل الصفحه تهتز لفتره وجيزه بعد دخولك اليها

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

Amoor
11-10-2004, 02:43 PM
2.لالغاء الخطوط التي تظهر تحت الوصلات

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

------------------------------------------------

Amoor
11-10-2004, 02:44 PM
3.لاختيار لون الخلفيه

<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.3rb-hkcom.com/java/java.htm
function change() {
document.bgColor = document.back.g.options[document.back.g.selectedIndex].value
}

//-->
</script>

-------------------------------------------------

Amoor
11-10-2004, 02:45 PM
4.كود يجعل الزائر يختار لون الخلفيه لصفحتك

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

-----------------------------------------------------------

Amoor
11-10-2004, 02:47 PM
5. كود لعمل خلفيه مضيئه

<script language="JavaScript">

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

<!-- 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);
// window.location.href="http://www.netscape.com/";
}
}
// Unhide -->
</script>

ثم انسخ هذا الكود في منطقة الجسم
<body onload="fadeIn(16)">

6.كود للوحه الترشيح لموقعك

<!--webbot
bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup"
startspan --><script language="JavaScript">
<!-- The JavaScript Source!! http://manarcom.com -->
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>

--------------------------------------------------

Amoor
11-10-2004, 02:47 PM
7. عرض الصفحه تلقائيا المستخدم في عرب هكرز سابقاً
<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=window.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=window.pageYOffset+speed
window.scroll(0,currentpos)
}
else{
currentpos=30
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",30)
}
window.onload=initialize
</script>

--------------------------------------------------------

Amoor
11-10-2004, 02:48 PM
8. تأثيرات الماوس

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

<!-- Original: freeware.de -->
<!-- Web Site: http://freeware.de -->
<!-- MSIE Fix by: Kurt Grigg (kurt.manar@manarcom.com) -->

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



<center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided

by The JavaScript Source (http://\)</font>
</center>



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

-------------------------------------------------------------

Amoor
11-10-2004, 02:49 PM
9. تأثير نص يتبع الماوس

<!-- 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("");
document.write(message[i]);
document.write("");
}
if (document.layers) {
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
// End -->
</script>



<center>
<font face="arial, helvetica" SIZE="-2">Free JavaScripts provided

by The JavaScript Source (http://\)</font>
</center>



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

-----------------------------------------------------

Amoor
11-10-2004, 02:50 PM
10. لعمل خلفية ثلوج متساقطه أو أي صوره بديله

!-- TWO STEPS TO INSTALL SNOW:

1. Copy the coding into the BODY of your HTML document
2. Save the snow.gif image to your web site directory -->

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

<BODY>

<script LANGUAGE="JavaScript1.2">
<!-- Original: Altan (bumalak@3rb-hk.com) -->
<!-- Web Site: http://www.3rb-hk.com -->

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

<!-- Begin
var no = 25; // snow number
var speed = 10; // smaller number moves the snow faster
var snowflake = "http://www.your-web-site-address-here.com/snow.gif";

var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>

<!-- STEP TWO: Save the snow.gif image to your web site directory ->

<!-- Go to http://javascript.internet.com/img/snow/snow.gif

Right-click the image and "Save Image As..." -->



<center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided

by The JavaScript Source (http://\)</font>
</center>



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

-----------------------------------------------------

Amoor
11-10-2004, 02:51 PM
11. منع خاصية الزر الايمن للماوس

<script

language="JavaScript">

<!--

function click() {
if (event.button==2) {
alert('لا تحاول ممنوع يعني ممنوع');
}
}
document.onmousedown=click
// -->
// -->

</script>

---------------------------------------------------------

Amoor
11-10-2004, 02:51 PM
12. منع خاصية الزر الايمن للماوس2

<BODY oncontextmenu="return false" onselectstart="return false"
ondragstart="return false">

-----------------------------------------------------------

Amoor
11-10-2004, 02:52 PM
12. منع خاصية الزر الايمن للماوس2

<BODY oncontextmenu="return false" onselectstart="return false"
ondragstart="return false">

-----------------------------------------------------------

13. كود لعرض الملفات التي لديك في السي

<!-- TWO STEPS TO INSTALL CHECK ENTRY:

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>

<script LANGUAGE="JavaScript">

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

<!-- Begin
function validate(){
var invalid = " "; // Invalid character is a space

if (document.submitform.filename.value.indexOf(invali d) > -1) {
alert("Sorry, spaces are not allowed.");
return false;
}
else {
return true;
}
}
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<center>
<form name=submitform onSubmit="return validate()">
<input type=file name=filename>



<input type=submit value="Submit">
</form>
</center>



<center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided

by The JavaScript Source (http://\)</font>
</center>



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

------------------------------------------------------

Amoor
11-10-2004, 02:53 PM
15. كود لعمل تحديث اتوماتيكي للصفحه

<script>
<!--

/*
Auto Refresh Page with Time script
By Website Abstraction (wsabstract.com)
Over 200+ free scripts here!
*/

//enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59
var limit="0:30"

if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function beginrefresh(){
if (!document.images)
return
if (parselimit==1)
window.location.reload()
else{
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"
else
curtime=cursec+" seconds left until page refresh!"
window.status=curtime
setTimeout("beginrefresh()",1000)
}
}

window.onload=beginrefresh
//-->
</script>

-----------------------------------------------

Amoor
11-10-2004, 02:55 PM
16. اخر تحديث للصفحه بالتاريخ واليوم

<script LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://www.geocities.com/planet9000 -->
<!-- Begin
var days = new Array(8);
days[1] = "الاحد";
days[2] = "الاثنين";
days[3] = "الثلاثاء";
days[4] = "الاربعاء";
days[5] = "الخميس";
days[6] = "الجمعة";
days[7] = "السبت";
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] = "November1";
months[12] = "December";
var dateObj = new Date(document.lastModified)
var wday = days[dateObj.getDay() + 1]
var lmonth = months[dateObj.getMonth() + 1]
var date = dateObj.getDate()
var fyear =+ dateObj.getYear()
document.write(wday + ", " + lmonth + " " + date + ", " + fyear)
// End -->
</SCRIPT>

-------------------------------------------------------

Amoor
11-10-2004, 02:55 PM
17. آخر تحديث للصفحه

<script language=JavaScript>function showdate()
{
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 time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000))
year="19" + year;
if (navigator.appName == "Netscape")
year=1900 + year;
document.write("<left><font size=1 face=\"tahoma,Helvetica\">" + lmonth + " ");
document.write(date + ", " + year + "</font></left>");
}</SCRIPT>

<script language=JavaScript><!--
showdate();//--></SCRIPT>
<LEFT><FONT face=tahoma,Helvetica size=1>اخرتحديث
في</FONT></LEFT>

</body>

---------------------------------------------------------

Amoor
11-10-2004, 02:56 PM
18. صفحة البدء - الهوم بيج

http://3rb-hk.comcom');"><font size="3">صفحة
البدء</font></a>

-------------------------------------------------

Amoor
11-10-2004, 02:56 PM
19. أضف للمفضله

أضف موقعنا لمفضلتك http://www.3rb-hk.com/ (java script:window.external.AddFavorite('http://www.3rb-hk.com',%20'(((عرب هكر)))'))

---------------------------------------------------

Amoor
11-10-2004, 02:57 PM
20. لوحه تظهر مرتين عند فتح واغلاق الصفحه

<!-- 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>alert script</title>
</head>

<body>
<BODY BGCOLOR="######" onLoad="alert('مرحبا بك عزيزى الزائر');"
onUnload="alert('مع السلامه');">
<CENTER> <A href=""
onmouseover="window.open ('');"
"manar@manarcom.com"
"">

</body>
</html>

<!-- Simba says Roar. -->

-------------------------------------------------

Amoor
11-10-2004, 03:06 PM
21. درجة وضوح الشاشه


document.write(screen.width + " x " + screen.height)

-------------------------------------------

Amoor
11-10-2004, 03:08 PM
22. تقويم

<!-- JavaScript immediate script -->
<script LANGUAGE="JavaScript">
<!--
// Copyright 1996 - Tomer and Yehuda Shiran
// This example will appear in our forthcoming book on JavaScript.
// Feel free to "steal" this code provided that you leave this notice as is.
// Additional examples from the book can be found at http://www.geocities.com/SiliconValley/9000/
// For more information contact Tomer or Yehuda Shiran <manar@manarcom.com>
setCal()
function getTime() {
// initialize time-related variables with current time settings
var now = new Date()
var hour = now.getHours()
var minute = now.getMinutes()
now = null
var ampm = ""
// validate hour values and set value of ampm
if (hour >= 12) {
hour -= 12
ampm = "PM"
} else
ampm = "AM"
hour = (hour == 0) ? 12 : hour
// add zero digit to a one digit minute
if (minute < 10)
minute = "0" + minute // do not parse this number!
// return time string
return hour + ":" + minute + " " + ampm
}
function leapYear(year) {
if (year % 4 == 0) // basic rule
return true // is leap year
/* else */ // else not needed when statement is "return"
return false // is not leap year
}
function getDays(month, year) {
// create array to hold number of days in each month
var ar = new Array(12)
ar[0] = 31 // January
ar[1] = (leapYear(year)) ? 29 : 28 // February
ar[2] = 31 // March
ar[3] = 30 // April
ar[4] = 31 // May
ar[5] = 30 // June
ar[6] = 31 // July
ar[7] = 31 // August
ar[8] = 30 // September
ar[9] = 31 // October
ar[10] = 30 // November
ar[11] = 31 // December
// return number of days in the specified month (parameter)
return ar[month]
}
function getMonthName(month) {
// create array to hold name of each month
var ar = new Array(12)
ar[0] = "January"
ar[1] = "February"
ar[2] = "March"
ar[3] = "April"
ar[4] = "May"
ar[5] = "June"
ar[6] = "July"
ar[7] = "August"
ar[8] = "September"
ar[9] = "October"
ar[10] = "November"
ar[11] = "December"
// return name of specified month (parameter)
return ar[month]
}
function setCal() {
// standard time attributes
var now = new Date()
var year = now.getYear()
var month = now.getMonth()
var monthName = getMonthName(month)
var date = now.getDate()
now = null
// create instance of first day of month, and extract the day on which it occurs
var firstDayInstance = new Date(year, month, 1)
var firstDay = firstDayInstance.getDay()
firstDayInstance = null
// number of days in current month
var days = getDays(month, year)
// call function to draw calendar
drawCal(firstDay + 1, days, date, monthName, 1900 + year)
function drawCal(firstDay, lastDate, date, monthName, year) {
// constant table settings
var headerHeight = 50 // height of the table's header cell
var border = 2 // 3D height of table's border
var cellspacing = 4 // width of table's border
var headerColor = "midnightblue" // color of table's header
var headerSize = "+3" // size of tables header font
var colWidth = 60 // width of columns in table
var dayCellHeight = 25 // height of cells containing days of the week
var dayColor = "darkblue" // color of font representing week days
var cellHeight = 40 // height of cells representing dates in the calendar
var todayColor = "red" // color specifying today's date in the calendar
var timeColor = "purple" // color of font representing current time
// create basic table structure
var text = "" // initialize accumulative variable to empty string
text += '<CENTER>'
text += '<TABLE BORDER=' + border + ' CELLSPACING=' + cellspacing + '>' // table settings
text += '<TH COLSPAN=7 HEIGHT=' + headerHeight + '>' // create table header cell
text += '<FONT COLOR="' + headerColor + '" SIZE=' + headerSize + '>' // set font for table header
text += monthName + ' ' + year
text += '</FONT>' // close table header's font settings
text += '</TH>' // close header cell
// variables to hold constant settings
var openCol = '<TD WIDTH=' + colWidth + ' HEIGHT=' + dayCellHeight + '>'
openCol += '<FONT COLOR="' + dayColor + '">'
var closeCol = '</FONT></TD>'
// create array of abbreviated day names
var weekDay = new Array(7)
weekDay[0] = "Sun"
weekDay[1] = "Mon"
weekDay[2] = "Tues"
weekDay[3] = "Wed"
weekDay[4] = "Thu"
weekDay[5] = "Fri"
weekDay[6] = "Sat"
// create first row of table to set column width and specify week day
text += '<TR ALIGN="center" VALIGN="center">'
for (var dayNum = 0; dayNum < 7; ++dayNum) {
text += openCol + weekDay[dayNum] + closeCol
}
text += '</TR>'
// declaration and initialization of two variables to help with tables
var digit = 1
var curCell = 1
for (var row = 1; row <= Math.ceil((lastDate + firstDay - 1) / 7); ++row) {
text += '<TR ALIGN="right" VALIGN="top">'
for (var col = 1; col <= 7; ++col) {
if (digit > lastDate)
break
if (curCell < firstDay) {
text += '<TD></TD>';
curCell++
} else {
if (digit == date) { // current cell represent today's date
text += '<TD HEIGHT=' + cellHeight + '>'
text += '<FONT COLOR="' + todayColor + '">'
text += digit
text += '</FONT>
'
text += '<FONT COLOR="' + timeColor + '" SIZE=2>'
text += '<CENTER>' + getTime() + '</CENTER>'
text += '</FONT>'
text += '</TD>'
} else
text += '<TD HEIGHT=' + cellHeight + '>' + digit + '</TD>'
digit++
}
}
text += '</TR>'
}
// close all basic table tags
text += '</TABLE>'
text += '</CENTER>'
// print accumulative HTML string
document.write(text)
}
// -->
</SCRIPT>

-------------------------------------------

Amoor
11-10-2004, 03:09 PM
23. موقع داخل موقعك

<IFRAME WIDTH=100% HEIGHT=300 SRC="http://3rb-hk.com"></IFRAME>

----------------------------

Amoor
11-10-2004, 03:11 PM
24. رابط يكبر عند مرور الفاره

<style>
<!--
A:link {text-decoration: none; color: #FF0000;}
A:visited {text-decoration: none; color: #0000FF;}
A:active {text-decoration: none; color:#FF0000; }
A:hover {text-decoration: none; color: #000080;font-size:20 ;}
//-->
</style>

-----------------------------

Amoor
11-10-2004, 03:13 PM
25. قائمه جميله لترتيب وصلات موقعك

<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: coctail - http://www.manarcom.com/

function go2place() {
document.location = document.advml.uls.options[document.advml.uls.selectedIndex].value
}

//-->
</script>

<form name="advml">
<p align="center"><select name="uls" multiple size="9"
onchange="go2place()">
<option value="index.htm">الرئيسية</option>
<option value="mobile.htm">شبكة المنار موبايل</option>
<option value="adver.htm">للاعلان</option>
<option value="fcards.htm">بطاقات</option>
<option value="/vb">منتديات</option>
<option value="program.htm">ركن البرامج</option>
<option value="web.htm">فرونت بيج</option>
<option value="java.htm">مكتبة الجافا</option>
<option value="design.htm">تصميم مواقع</option>
<option value="mailto:ameer@3rb-hk.com">لمراسلتنا</option>
</select> </p>
</form>

<p align="center"><a href="http://www.3rb-hkcom/"><font
color="#FF00FF" size="4">coctail.Net</font></a></p>


-------------------------------------------------

Amoor
11-10-2004, 03:14 PM
26. قائمه منسدله لترتيب وصلات موقعك

<form name="guideform">
<p align="center"><select name="guidelinks" size="1"
onchange="window.location=document.guideform.guidelinks.opti ons[document.guideform.guidelinks.selectedIndex].value">
<option selected value="java script:void(0)">ـــ اختر من القائمة ـــ</option>
<option value="index.htm">الرئيسية</option>
<option value="adv.htm">للاعلان</option>
<option value="web.htm">تصميم مواقع</option>
<option value="fcards.htm">بطاقات</option>
<option value="romancee.htm">رومانسيات</option>
<option value="java.htm">مكتبة الجافا</option>
<option value="programs.htm">ركن البرامج</option>
<option value="front.htm">فرونت بيج</option>
</select> </p>
</form>

<p align="center"><a href="http://www.3rb-hk.com/"><font
color="#FF00FF" size="4">coctail.Net</font></a></p>


-----------------------------------------

Amoor
11-10-2004, 03:16 PM
27. قائمه متحركه ترافق تحرك الصفحه

هذا الكود يتكون من خطوتان
الخطوه الاولى
عليك بإضافة هذا الكود
OnLoad="setVariables();checkLocation()"
في رأس الجسم
<body bgcolor="#FFFFFF">
بين علامة التنصيص الاخيرة والقوس
والخطوه الثانية إضافة بقية الكود بين ما سبق والواصفة
</body>
وانسخ كود الخطوه الثانية
<script LANGUAGE="JavaScript">

/*
Created by Randy Bennet http://home.thezone.net/~rbennett/utility/javahead.htm
Featured on Website Abstraction (http://wsabstract.com)
For this and over 400+ free scripts, visit http://wsabstract.com
*/

function setVariables() {
if (navigator.appName == "Netscape") {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else {
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
}
}
function checkLocation() {
object="object1";
yy=eval(y);
eval(dS+object+sD+v+yy);
setTimeout("checkLocation()",10);
}
</script>

<div id="object1" style="position:absolute; visibility:show; left:0px; top:0px; z-index:5">

<table width=150 border=0 cellspacing=20 cellpadding=0 >
<tr>
<td bgcolor=" #800000"><CENTER><font face="Tahoma" size="2" color="#FFFF00">محتويات الموقع</font></CENTER></td>
</tr>
<tr>
<td bgcolor="#B88E83">
<p align="center"><font face=\"Tahoma\" size=\"2\" color=\"#FFFF00\">الرئيسية</font> (http://\)</p>
</td>
</tr>
<tr>
<td bgcolor="#B88E83">
<p align="center"><font face=\"Tahoma\" size=\"2\" color=\"#FFFF00\">تصميم</font> (http://\)</p>
</td>
</tr>
<tr>
<td bgcolor="#B88E83">
<p align="center"><font face=\"Tahoma\" size=\"2\" color=\"#FFFF00\">فرونت بيج</font> (http://\)</p></td>
</tr>
<tr>
<td bgcolor="#B88E83">
<p align="center"><font face=\"Tahoma\" size=\"2\" color=\"#FFFF00\">اتصل بنا</font> (http://\)</p></td>
</tr>
</table>
</div>
<p align="center"><a href="http://www.3rb-hk.com/"><font
color="#FF00FF" size="4">coctail.Net</font></a></p>

Amoor
11-10-2004, 03:18 PM
28. قائمه متحركه تنزل الى الصفحه بطريقة جميله

هذا الكود يتكون من 3 خطوات
الخطوه الاولى
عليك بإضافة هذا الكود
<script LANGUAGE="JavaScript">

<!-- Original: Randy Bennett (manar@manarcom.com) -->
<!-- Web Site: http://home.thezone.net/~rbennett/utility/javahead.htm -->

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

<!-- Begin
function buildMenu() {
speed=35;
topdistance=100;
items=6;
y=-50;
ob=1;
if (navigator.appName == "Netscape") {
v=".top=",dS="document.",sD="";
}
else {
v=".pixelTop=",dS="",sD=".style";
}
}
function scrollItems() {
if (ob<items+1) {
objectX="object"+ob; y+=10; eval(dS + objectX + sD + v + y);
if (y<topdistance) setTimeout("scrollItems()",speed);
else y=-50, topdistance+=40, ob+=1, setTimeout("scrollItems()",speed);
}
}
// End -->
</SCRIPT>
في منطقة الرأس أي بين الواصفتين
<head>- </head>
الخطوه الثانية
عليك بإضافة هذا الكود
onLoad="buildMenu(), scrollItems();"
في رأس الجسم
<body bgcolor="#FFFFFF">
بين علامة التنصيص الاخيرة والقوس
والخطوه الثالثة إضافة بقية الكود بين الواصفتين
<body> - </body>
وهذا كود الخطوه الثالثة
<div id="object1" style="position:absolute; visibility:show; left:25px; top:-50px; z-index:2">
<table border=1 width=150 bgcolor=D9B3B3>
<td><center>
الرئيسية</font> (index.htm><font
)
</center></td>
</table>
</div>

<div id="object2" style="position:absolute; visibility:show; left:25px; top:-50px; z-index:2">
<table border=1 width=150 bgcolor=D9B3B3>
<td><center>
تصميم</font> (design.htm><font
)</center></td>
</table>
</div>

<div id="object3" style="position:absolute; visibility:show; left:25px; top:-50px; z-index:2">
<table border=1 width=150 bgcolor=D9B3B3>
<td><center>
فرونت بيج</font> (web.htm><font
)
</center></td>
</table>
</div>


<div id="object4" style="position:absolute; visibility:show; left:25px; top:-50px; z-index:2">
<table border=1 width=150 bgcolor=D9B3B3>
<td><center>
رومانسيات</font> (romancee.htm><font
)
</center></td>
</table>
</div>


<div id="object5" style="position:absolute; visibility:show; left:25px; top:-50px; z-index:2">
<table border=1 width=150 bgcolor=D9B3B3>
<td><center>
بطاقات فلاش</font> (fcards.htm><font
)
</center></td>
</table>
</div>


<div id="object6" style="position:absolute; visibility:show; left:25px; top:-50px; z-index:2">
<table border=1 width=150 bgcolor=D9B3B3>
<td><center>
اتصل بنا</font> (contact.htm><font
)
</center></td>
</table>
</div>
<p align="center"><a href="http://www.3rb-hk.com/"><font
color="#FF00FF" size="4">coctail.Net</font></a></p>

Amoor
11-10-2004, 03:19 PM
30. حركه جميله والوان تتبع الماوس

<LAYER NAME="a0" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a1" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a2" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a3" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a4" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a5" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF00FF" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a6" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,1,1"></LAYER>
<LAYER NAME="a7" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a8" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a9" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a10" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a11" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a12" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#0000ff" CLIP="0,0,2,2"></LAYER>
<LAYER NAME="a13" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,2,2"></LAYER>


<script language="JavaScript">

/*
Magic Wand cursor II (By Kurt at kurt.manar@manarcom.com)
Modified and permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

if (document.all){
with (document){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:1px;height:1px;background: #ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background: #fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background: #ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background: #ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background: #00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background: #0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background: #FF0000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background: #ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background: #fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background: #ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background: #ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background: #00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background: #0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background: #FF0000;font-size:3px;visibility:visible"></div>')
write('</div>')
}
}

if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var step = 1;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;

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/6;
xBase = window.document.body.offsetWidth/6;
}
else if (document.layers)
{
yBase = window.innerHeight/8;
xBase = window.innerWidth/8;
}

if (document.all)
{
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{
starsDiv.all[i].style.top = Ypos + yBase*Math.sin((currStep + i*4)/12)*Math.cos(400+currStep/200);
starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(currStep/200);
}
}

else if (document.layers)
{
for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
{
var templayer="a"+j
document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(400+currStep/200);
document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(currStep/200);
}
}
currStep+= step;
setTimeout("animateLogo()", 10);
}
animateLogo();
</script>
<p align="center"><a href="http://www.3rb-hk.com/"><font
color="#FF00FF" size="4">coctail.Net</font></a></p>

Amoor
11-12-2004, 02:19 PM
31. كود الريل بلاير (عليك بتعديل عنوان ملف الأغنيه الموجود):-


<object id="video1"
classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
align="baseline" border="0" width="275" height="40">
<param name="_ExtentX" value="7276">
<param name="_ExtentY" value="1058">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="CONTROLS" value="ControlPanel">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<param name="SRC" ref value="http://www.kubbar.com/Music/abdelrahman-awal_a6yafee.ram">
<embed src="http://www.kubbar.com/Music/abdelrahman-awal_a6yafee.ram" align="baseline" border="0" width="275" height="40" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel" autostart="true"></object>

Amoor
11-12-2004, 02:21 PM
32. كود وضع الصوره (قم بتعديل العنوان وطول الصوره + العرض):-

Amoor
11-12-2004, 02:22 PM
33. تثبيت الخلفيه:-

<body background="images/coctail.jpg" bgproperties="fixed">

Amoor
11-12-2004, 02:24 PM
34. كلام متحرك:-

<CENTER>
<FORM NAME="marquee1">
<INPUT NAME="text" SIZE=25
VALUE=" أهلا بك في عرب هكرز ملتقى كبار الهكرز و المبرمجين و المصممين"
>
</FORM>
</CENTER>
<script>
<!--
/*www.geocities.com/planet9000 (http://www.geocities.com/planet9000),
Windows Magazine
May be used/modified if credit line is
retained*/
ScrollSpeed = 100
ScrollChars = 1
function ScrollMarquee() {
window.setTimeout('ScrollMarquee()',ScrollSpeed);

var msg = document.marquee1.text.value;
document.marquee1.text.value =
msg.substring(ScrollChars) +
msg.substring(0,ScrollChars);
}
ScrollMarquee()
//-->
</SCRIPT>

Amoor
11-12-2004, 02:25 PM
35. محرك بحث متعدد لأشهر محركات البحث العالميه :-

<script language="JavaScript"><!--
// START HIDE
var MAX_ENGINES = 35;
var tp='';
var tpp='';
var find = 'hunt';
var hold=0;
var hold2=0;
var gog=0;
var ap='';
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this[i] = 0;
}
this.maxlen = n;
this.len = 0;
return this;
}
var engs = new MakeArray(MAX_ENGINES);
function find_substring(needle, haystack) {
var i, needlen = needle.length, haylen = haystack.length;
for (i=0; i<=haylen-needlen; i++) {
if (needle == haystack.substring(i,i+needlen))
return i;
}
return false;
}
function Engine(name, opts, home, search) {
var gotcha = find_substring(find, search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_gotcha = search.substring(0,gotcha);
this.post_gotcha= search.substring(gotcha+find.length, search.length);
}
function Add(name, opts, home, search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name, opts, home, search)
}
else {
alert ('Better increase MAX_ENGINES: ' + engs.Len + '>' + engs.maxlen)
}
}
function DisplayForm() {
document.writeln('<FORM Name=Gotchaform OnSubmit="HandleForm(this); return false">');
document.writeln(' <INPUT size=15 name="query">');
document.writeln(' <SELECT name="service">');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name);
}
document.writeln('</SELECT> <input type=submit value="Search">
');
document.writeln('</FORM>');
document.Gotchaform.query.focus()
}
function HandleForm(form){
var i, newq="", oldq=form.query.value;
for (i=0; i[list=1]

Amoor
11-12-2004, 02:27 PM
36. ملف الفلاش (قم بتعديل عنوان الملف XXX والطول والعرض):-

<embed src="xxx.swf" width="564" height="90" type="application/x-shockwave-flash" align="center">

Amoor
11-12-2004, 02:28 PM
37. عباره أو اسم موقعك يتبع الماوس بشكل اخر:-

<script language=JavaScript1.2>
<!--
<p align="center"><a href="http://www.coctail.net/"><font
color="#FF00FF" size="4">coctail.Net</font></a></p>

/*
Cursor Trailer II (By Kurt at kurt.grigg@virgin.net)
Modified and featured on Dynamicdrive.com
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

var message='coctail.Net';
var messagecolor='orange'

//Enter number of seconds for message to display (0=perpetual)
var dismissafter=0

///no need to edit below/////////
var amount=5,ypos=0,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx =0,Dy=0,Dx=0,Ey=0,Ex=0;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=ns'+i+' top=0 left=0><font face="Courier New" size=3 color='+messagecolor+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){xpos = evnt.pageX;ypos = evnt.pageY;makefollow()}
}
else if (document.all){
document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
document.write("<div id='inner' style='position:relative'>");
for (i = 0; i < amount; i++)
{document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;font-family:Courier New;font-size:16px;color:'+messagecolor+'">'+message+'</div>')}
document.write("</div>");
document.write("</div>");
function iemouse(){ypos = document.body.scrollTop + event.y;xpos = document.body.scrollLeft + event.x;makefollow()}
}
function makefollow(){
if (document.layers){
document.layers["ns0"].top=ay;document.layers["ns0"].left=ax;
document.layers["ns1"].top=by;document.layers["ns1"].left=bx;
document.layers["ns2"].top=cy;document.layers["ns2"].left=cx;
document.layers["ns3"].top=Dy;document.layers["ns3"].left=Dx;
document.layers["ns4"].top=Ey;document.layers["ns4"].left=Ex;
}
else if (document.all){
outer.all.inner.all[0].style.pixelTop=ay;outer.all.inner.all[0].style.pixelLeft=ax;
outer.all.inner.all[1].style.pixelTop=by;outer.all.inner.all[1].style.pixelLeft=bx;
outer.all.inner.all[2].style.pixelTop=cy;outer.all.inner.all[2].style.pixelLeft=cx;
outer.all.inner.all[3].style.pixelTop=Dy;outer.all.inner.all[3].style.pixelLeft=Dx;
outer.all.inner.all[4].style.pixelTop=Ey;outer.all.inner.all[4].style.pixelLeft=Ex;
}
}
function move(){
if (dismissafter!=0)
setTimeout("hidetrail()",dismissafter*1000)

if (document.layers){window.onMouseMove = nsmouse}
else if (document.all){window.document.onmousemove = iemouse}
ey = Math.round(Ey+=((ypos+20)-Ey)*2/2);ex = Math.round(Ex+=((xpos+20)-Ex)*2/2);
dy = Math.round(Dy+=(ey - Dy)*2/4);dx = Math.round(Dx+=(ex - Dx)*2/4);
cy = Math.round(Cy+=(dy - Cy)*2/6);cx = Math.round(Cx+=(dx - Cx)*2/6);
by = Math.round(By+=(cy - By)*2/8);bx = Math.round(Bx+=(cx - Bx)*2/8);
ay = Math.round(Ay+= (by - Ay)*2/10);ax = Math.round(Ax+= (bx - Ax)*2/10);
makefollow();
jumpstart=setTimeout('move()',10);
}

function hidetrail(){
if (document.all){
for (i2=0;i2<amount;i2++){
outer.all.inner.all[i2].style.visibility="hidden"
clearTimeout(jumpstart)
}
}
else if (document.layers){
for (i2=0;i2<amount;i2++){
temp="ns"+i2
document.layers[temp].visibility="hide"
clearTimeout(jumpstart)
}
}
}

window.onload=move;
//-->
</SCRIPT>

Amoor
11-12-2004, 02:34 PM
38.كود جافا مشان إزالة الإعلان
<script>
<!--

if (window!= top)
top.location.href=location.href
// -->
</script>