WebCraker
03-04-2005, 04:00 PM
السلام عليكم ورحمة الله وبركاته
http://www.a1javascripts.com (http://www.a1javascripts.com/)
http://www.almeer.net/newjava.htm (http://www.almeer.net/newjava.htm)
http://www.faisal1.com/javas.htm (http://www.faisal1.com/javas.htm)
ودى شوية اكواد كمان
1- كود لعمل متحرك اسفل فى شريط الحاله
******** language=JavaScript>
<!--
file://set (file://set/) message:
msg = "Designed By Muhamed Ibrahim™";
timeID = 10;
stcnt = 16;
wmsg = new Array(33);
wmsg[0]=msg;
blnk = " ";
for (i=1; i<32; i++)
{
b = blnk.substring(0,i);
wmsg[i]="";
for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
}
function wiper()
{
if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
if (stcnt-- < -40) stcnt=31;
status = str;
clearTimeout(timeID);
timeID = setTimeout("wiper()",100);
}
wiper()
// -->
***********
2- كود فلاش يلون اسود
********>
/************************************************** ***********
* fade script ver0.1 by MaFiaTeAm Designers 2004/02/20
* Copyright © 2004 WebCraker™. All Rights Reserved.
* You can freely copy, use, modify this script,
* if the credit is given in the source.
* If you would like to get information for this script,
* please access
*/
function makearray(n) {
this.length = n;
for(var i = 1; i <= n; i++)
this[i] = 0;
return this;
}
hexa = new makearray(16);
for(var i = 0; i < 10; i++)
hexa[i] = i;
hexa[10]="a"; hexa[11]="b"; hexa[12]="c";
hexa[13]="d"; hexa[14]="e"; hexa[15]="f";
function hex(i) {
if (i < 0)
return "00";
else if (i > 255)
return "ff";
else
return "" + hexa[Math.floor(i/16)] + hexa[i%16];
}
function setbgColor(r, g, b) {
var hr = hex(r); var hg = hex(g); var hb = hex(b);
document.bgColor = "#"+hr+hg+hb;
}
function fade(sr, sg, sb, er, eg, eb, step) {
for(var i = 0; i <= step; i++) {
setbgColor(
Math.floor(sr * ((step-i)/step) + er * (i/step)),
Math.floor(sg * ((step-i)/step) + eg * (i/step)),
Math.floor(sb * ((step-i)/step) + eb * (i/step)));
}
}
/* Usage:
* fade(inr,ing,inb, outr,outg,outb, step);
* example.
* fade(0,0,0, 255,255,255, 255);
* fade from black to white with very slow speed.
* fade(255,0,0, 0,0,255, 50);
* fade(0xff,0x00,0x00, 0x00,0x00,0xff, 50); // same as above
* fade from red to blue with fast speed.
* step 2 is very fast and step 255 is very slow.
*/
function fadein() {
fade(255,255,255, 0,0,0, 64);
}
function fadeout() {
/*fade(0,0,0, 255,255,255, 64); */
}
/* do fadein */
fadein();
/***** end fade script *****/
/************************************************** **********/
***********
3-كود للشاشه عشان تفتح من الجنب
********>
<!--
<!--Animated Window Opener script-By MaFiaTeAm Designers (www.mansouray.8m.net (http://www.mansouray.8m.net/)) -->
var mylocation="http://mansourawy.8m.net"
var winheight=100
var winsize=100
var x=5
function go(){
win2=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win2.location=mylocation
return
}
win2.resizeTo(100,100)
win2.moveTo(0,0)
go2()
}
function go2(){
if (winheight>=screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win2.location=mylocation
winheight=100
winsize=100
x=5
return
}
setTimeout("go2()",50)
}
//-->
***********<a href="javascript:go()" onMouseover="window.status='Open window';return true" onMouseout="window.status=''" ><b><font face="Monotype Corsiva" size="6">Do you Hear about MaFiaTeAm</font></b>
كود لتغير لون خلفية الموقع
أنسخه الى صفحتك وسترى التاثير على خلفية الصفحه .
<table height="1" cellSpacing="0" cellPadding="1" border="1">
<tr>
<td align="middle" bgColor="#ffffff" height="1"><a onmouseover="document.bgColor='FFFFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#00ff00" height="1"><a onmouseover="document.bgColor='00FF00'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#ffffcd" height="1"><a onmouseover="document.bgColor='FFFFCD'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#000000" height="1"><a onmouseover="document.bgColor='000000'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#66cdaa" height="1"><a onmouseover="document.bgColor='66CDAA'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#ffb6c1" height="1"><a onmouseover="document.bgColor='FFB6C1'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#40e0d0" height="1"><a onmouseover="document.bgColor='40EODO'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#ffdead" height="1"><a onmouseover="document.bgColor='FFDEAD'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#00bfff" height="1"><a onmouseover="document.bgColor='00BFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#fa8072" height="1"><a onmouseover="document.bgColor='FA8072'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#8fbc8f" height="1"><a onmouseover="document.bgColor='8FBC8F'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#00ffff" height="1"><a onmouseover="document.bgColor='00FFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#dc143c" height="1"><a onmouseover="document.bgColor='DC143C'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#dcdcdc" height="1"><a onmouseover="document.bgColor='DCDCDC'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#e0ffff" height="1"><a onmouseover="document.bgColor='EOFFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#b8860b" height="1"><a onmouseover="document.bgColor='B886OB'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#deb887" height="1"><a onmouseover="document.bgColor='DEB887'" href><font face="Arabic Transparent"> </font></a></td>
</tr>
</table>
الكود ده : - نص يطبع كأنه آلة كاتبة
<!-- خطوة واحدة
1. اضف الكود في الأسفل لمنطقة الرأس -->
<!-- الخطوة الاولى -->
<HEAD>
******** LANGUAGE="JavaScript">
<!-- Begin
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this[i] = 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 linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance()",delay*1000);
}
linkDance();
// End -->
***********
<!-- كل الوصلات التي ستظهر في صفحتك ستكون راقصة -->
كود إغلاق
<html><title>HTML Preview</title><body bgcolor=#ffffff>
<font size=+1 face="Arial,Helvetica" ><b>HTML Message Preview</b>
</font>
<a href="javascript:window.close()">Close</a><p><hr noshade width="100%">
عمل كتير فى شريط الحاله (خد بالك دا غير اللى قبل كده دا جامد اوى )
******** language=JavaScript type=text/javascript>
<!--
// Scrolling status Bar text Script
// Being of Scrolling text in the Status bar
var speed = 50 //decrease value to increase speed (must be positive)
var pause = 2500 //increase value to increase pause
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = "W e l c o m e t o E n t e r t a i n m e n t T v O f f i c i a l S i t e"
ar[1] = "Enjoy the Music On ETV"
ar[2] = "Enjoy the Music On ETV ................................................."
ar[3] = "Enjoy the Music On ETV.."
ar[4] = " "
ar[5] = "Enjoy the Music On ETV"
ar[6] = "Enjoy the Music On ETV"
ar[7] = "Enjoy the Music On ETV"
ar[8] = "Enjoy the Music On ETV"
ar[9] = " "
ar[10] = "Welcome to Entertainment Tv Official Site"
ar[11] = "Enjoy the Music On ETV"
ar[12] = "Welcome to Entertainment Tv Official Site"
ar[13] = "Enjoy the Music On ETV"
ar[14] = " "
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[currentMessage]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
bannerRunning = true
} else {
offset = 0
currentMessage++
if (currentMessage == ar.length)
currentMessage = 0
timerID = setTimeout("showBanner()", pause)
bannerRunning = true
}
}
// -->
***********
<!-- ##END SCROLLING -->
******** language=JavaScript type=text/javascript>
<!--
//this is to start the Scrolling Status Bar
startBanner();
// -->
***********
تحياتى لكم واللى عندوا اكواد تانى يحط وانا إن شاء الله هحطلكوا تانى بس ربنا يسهل عشان انا فى سيبر اللوقت مش فى البيت
http://www.a1javascripts.com (http://www.a1javascripts.com/)
http://www.almeer.net/newjava.htm (http://www.almeer.net/newjava.htm)
http://www.faisal1.com/javas.htm (http://www.faisal1.com/javas.htm)
ودى شوية اكواد كمان
1- كود لعمل متحرك اسفل فى شريط الحاله
******** language=JavaScript>
<!--
file://set (file://set/) message:
msg = "Designed By Muhamed Ibrahim™";
timeID = 10;
stcnt = 16;
wmsg = new Array(33);
wmsg[0]=msg;
blnk = " ";
for (i=1; i<32; i++)
{
b = blnk.substring(0,i);
wmsg[i]="";
for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
}
function wiper()
{
if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
if (stcnt-- < -40) stcnt=31;
status = str;
clearTimeout(timeID);
timeID = setTimeout("wiper()",100);
}
wiper()
// -->
***********
2- كود فلاش يلون اسود
********>
/************************************************** ***********
* fade script ver0.1 by MaFiaTeAm Designers 2004/02/20
* Copyright © 2004 WebCraker™. All Rights Reserved.
* You can freely copy, use, modify this script,
* if the credit is given in the source.
* If you would like to get information for this script,
* please access
*/
function makearray(n) {
this.length = n;
for(var i = 1; i <= n; i++)
this[i] = 0;
return this;
}
hexa = new makearray(16);
for(var i = 0; i < 10; i++)
hexa[i] = i;
hexa[10]="a"; hexa[11]="b"; hexa[12]="c";
hexa[13]="d"; hexa[14]="e"; hexa[15]="f";
function hex(i) {
if (i < 0)
return "00";
else if (i > 255)
return "ff";
else
return "" + hexa[Math.floor(i/16)] + hexa[i%16];
}
function setbgColor(r, g, b) {
var hr = hex(r); var hg = hex(g); var hb = hex(b);
document.bgColor = "#"+hr+hg+hb;
}
function fade(sr, sg, sb, er, eg, eb, step) {
for(var i = 0; i <= step; i++) {
setbgColor(
Math.floor(sr * ((step-i)/step) + er * (i/step)),
Math.floor(sg * ((step-i)/step) + eg * (i/step)),
Math.floor(sb * ((step-i)/step) + eb * (i/step)));
}
}
/* Usage:
* fade(inr,ing,inb, outr,outg,outb, step);
* example.
* fade(0,0,0, 255,255,255, 255);
* fade from black to white with very slow speed.
* fade(255,0,0, 0,0,255, 50);
* fade(0xff,0x00,0x00, 0x00,0x00,0xff, 50); // same as above
* fade from red to blue with fast speed.
* step 2 is very fast and step 255 is very slow.
*/
function fadein() {
fade(255,255,255, 0,0,0, 64);
}
function fadeout() {
/*fade(0,0,0, 255,255,255, 64); */
}
/* do fadein */
fadein();
/***** end fade script *****/
/************************************************** **********/
***********
3-كود للشاشه عشان تفتح من الجنب
********>
<!--
<!--Animated Window Opener script-By MaFiaTeAm Designers (www.mansouray.8m.net (http://www.mansouray.8m.net/)) -->
var mylocation="http://mansourawy.8m.net"
var winheight=100
var winsize=100
var x=5
function go(){
win2=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win2.location=mylocation
return
}
win2.resizeTo(100,100)
win2.moveTo(0,0)
go2()
}
function go2(){
if (winheight>=screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win2.location=mylocation
winheight=100
winsize=100
x=5
return
}
setTimeout("go2()",50)
}
//-->
***********<a href="javascript:go()" onMouseover="window.status='Open window';return true" onMouseout="window.status=''" ><b><font face="Monotype Corsiva" size="6">Do you Hear about MaFiaTeAm</font></b>
كود لتغير لون خلفية الموقع
أنسخه الى صفحتك وسترى التاثير على خلفية الصفحه .
<table height="1" cellSpacing="0" cellPadding="1" border="1">
<tr>
<td align="middle" bgColor="#ffffff" height="1"><a onmouseover="document.bgColor='FFFFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#00ff00" height="1"><a onmouseover="document.bgColor='00FF00'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#ffffcd" height="1"><a onmouseover="document.bgColor='FFFFCD'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#000000" height="1"><a onmouseover="document.bgColor='000000'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#66cdaa" height="1"><a onmouseover="document.bgColor='66CDAA'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#ffb6c1" height="1"><a onmouseover="document.bgColor='FFB6C1'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#40e0d0" height="1"><a onmouseover="document.bgColor='40EODO'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#ffdead" height="1"><a onmouseover="document.bgColor='FFDEAD'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#00bfff" height="1"><a onmouseover="document.bgColor='00BFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#fa8072" height="1"><a onmouseover="document.bgColor='FA8072'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#8fbc8f" height="1"><a onmouseover="document.bgColor='8FBC8F'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#00ffff" height="1"><a onmouseover="document.bgColor='00FFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#dc143c" height="1"><a onmouseover="document.bgColor='DC143C'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#dcdcdc" height="1"><a onmouseover="document.bgColor='DCDCDC'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#e0ffff" height="1"><a onmouseover="document.bgColor='EOFFFF'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#b8860b" height="1"><a onmouseover="document.bgColor='B886OB'" href><font face="Arabic Transparent"> </font></a></td>
<td align="middle" bgColor="#deb887" height="1"><a onmouseover="document.bgColor='DEB887'" href><font face="Arabic Transparent"> </font></a></td>
</tr>
</table>
الكود ده : - نص يطبع كأنه آلة كاتبة
<!-- خطوة واحدة
1. اضف الكود في الأسفل لمنطقة الرأس -->
<!-- الخطوة الاولى -->
<HEAD>
******** LANGUAGE="JavaScript">
<!-- Begin
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this[i] = 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 linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance()",delay*1000);
}
linkDance();
// End -->
***********
<!-- كل الوصلات التي ستظهر في صفحتك ستكون راقصة -->
كود إغلاق
<html><title>HTML Preview</title><body bgcolor=#ffffff>
<font size=+1 face="Arial,Helvetica" ><b>HTML Message Preview</b>
</font>
<a href="javascript:window.close()">Close</a><p><hr noshade width="100%">
عمل كتير فى شريط الحاله (خد بالك دا غير اللى قبل كده دا جامد اوى )
******** language=JavaScript type=text/javascript>
<!--
// Scrolling status Bar text Script
// Being of Scrolling text in the Status bar
var speed = 50 //decrease value to increase speed (must be positive)
var pause = 2500 //increase value to increase pause
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = "W e l c o m e t o E n t e r t a i n m e n t T v O f f i c i a l S i t e"
ar[1] = "Enjoy the Music On ETV"
ar[2] = "Enjoy the Music On ETV ................................................."
ar[3] = "Enjoy the Music On ETV.."
ar[4] = " "
ar[5] = "Enjoy the Music On ETV"
ar[6] = "Enjoy the Music On ETV"
ar[7] = "Enjoy the Music On ETV"
ar[8] = "Enjoy the Music On ETV"
ar[9] = " "
ar[10] = "Welcome to Entertainment Tv Official Site"
ar[11] = "Enjoy the Music On ETV"
ar[12] = "Welcome to Entertainment Tv Official Site"
ar[13] = "Enjoy the Music On ETV"
ar[14] = " "
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[currentMessage]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
bannerRunning = true
} else {
offset = 0
currentMessage++
if (currentMessage == ar.length)
currentMessage = 0
timerID = setTimeout("showBanner()", pause)
bannerRunning = true
}
}
// -->
***********
<!-- ##END SCROLLING -->
******** language=JavaScript type=text/javascript>
<!--
//this is to start the Scrolling Status Bar
startBanner();
// -->
***********
تحياتى لكم واللى عندوا اكواد تانى يحط وانا إن شاء الله هحطلكوا تانى بس ربنا يسهل عشان انا فى سيبر اللوقت مش فى البيت