مشاهدة النسخة كاملة : مكتبة اكواد الجافا الرهيبة
جامبو
04-07-2002, 11:45 AM
هنا سوف تجد جميع اكواد الجافا الرهيبة واذا اردت كود انا مستعد
المجموعة الاولي هي مجموعة التاثيرات علي الكلام
انفجار
<html>
<head>
<TITLE>LinkExploder: high-explosive rollover fireworks for your textlinks</TITLE>
****** NAME="keywords" CONTENT="DHTML, image, picture, animation, onmouseomve, Dynamic HTML, CSS, move, download, free, samples, applet, text animation, headline, copy, ticker, scroller, **********">
****** NAME="description" CONTENT="High-explosive firework on mouseover! Just move your mouse over any textlink and experience a very cool rollover-animation. This is not Dynamic HTML. This is Dynamite HTML. Crossbrowser! No images needed. DOWNLOAD the step-by-step instructions from www.24fun.com for easy configuration.">
<script>
<!-- Beginning of ********** -
// CREDITS:
// LinkExploder 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.com
// 6/23/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:
// Go to www.24fun.com, open category 'text' and download
// the full-version of this script as ZIP-file with
// step-by-step instructions for non-programmers.
var debrisnumber=40
var debriscolor=new Array()
debriscolor[0]="FFAAAA"
debriscolor[1]="AA0000"
debriscolor[2]="770000"
debriscolor[3]="AA4444"
debriscolor[4]="EE4422"
var x_debrispos
var y_debrispos
var x,y
var x_random=new Array()
var y_random=new Array()
var max_explsteps=20
var i_explsteps=0
var i_color=0
var pause=10
function checkbrowser() {
i_explsteps=0
x_debrispos=x
y_debrispos=y
for (i=0;i<=debrisnumber;i++) {
x_random[i]=Math.ceil(40*Math.random())-20
y_random[i]=Math.ceil(40*Math.random())-20
}
if (document.all) {
for (i=0;i<=debrisnumber;i++) {
var thisspan=eval("document.all.span"+i+".style")
thisspan.visibility="VISIBLE"
thisspan.posLeft=x_debrispos
thisspan.posTop=y_debrispos
}
explode_IE()
}
if (document.layers) {
for (i=0;i<=debrisnumber;i++) {
var thisspan=eval("document.span"+i)
thisspan.visibility="VISIBLE"
thisspan.left=x_debrispos
thisspan.top=y_debrispos
}
explode_NN()
}
}
function explode_IE() {
if (i_explsteps<=max_explsteps) {
for (i=0;i<=debrisnumber;i++) {
var thisspan=eval("document.all.span"+i+".style")
thisspan.posLeft+=x_random[i]
thisspan.posTop+=y_random[i]
}
i_explsteps++
var timer=setTimeout("explode_IE()",pause)
}
else {
for (i=0;i<=debrisnumber;i++) {
var thisspan=eval("document.all.span"+i+".style")
thisspan.visibility="HIDDEN"
}
clearTimeout(timer)
}
}
function explode_NN() {
if (i_explsteps<=max_explsteps) {
for (i=0;i<=debrisnumber;i++) {
var thisspan=eval("document.span"+i)
thisspan.left+=x_random[i]
thisspan.top+=y_random[i]
}
i_explsteps++
var timer=setTimeout("explode_NN()",pause)
}
else {
for (i=0;i<=debrisnumber;i++) {
var thisspan=eval("document.span"+i)
thisspan.visibility="HIDDEN"
}
clearTimeout(timer)
}
}
function handlerMM(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
}
if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
// - End of ********** - -->
</script>
<style>
.spanstyle {
position:absolute;
visibility:hidden;
}
</style>
</head>
<body bgcolor="#000000" text="FFFFFF" link="FF0000" alink="FF0000" vlink="FF0000">
<script>
<!-- Beginning of ********** -
for (i=0;i<=debrisnumber;i++) {
document.write("<div id='span"+i+"' class='spanstyle'>")
document.write("<table cellpadding=0 cellspacing=0>")
document.write("<tr><td bgcolor="+debriscolor[i_color]+">")
document.write("<img src='emptypixel236.gif' width=3>")
document.write("</td></tr></table>")
document.write("</div>")
i_color++
if (i_color>=debriscolor.length) {i_color=0}
}
// - End of ********** - -->
</script>
<DIV id="redir" style="position:absolute;top:10px;left:5px;visibility:vis ible">
<table width=100% cellpadding=5 cellspacing=0 border=0><tr><td><br><br><br>
<ul>
<font size=2 face=Verdana><font color=FFFF00><b></b></FONT>
<a href="http://www.ضع هنا العنوان" onMouseOver="checkbrowser()" target="_blank"><b>ضع هنا الجمله</b></a>
<br><br><br><br>
</ul>
</td></tr></table>
</DIV>
</body>
</html>
جمله تتغير الوان حروفها واحد تلو الاخر
<body>
<!-- خطوة واحدة انسخ الجزء التالي حيثما تريد للنص ان يظهر -->
<SCRIPT LANGUAGE="**********">
<!-- Original: K. Rama Moorthy -->
<!-- Web Site: http://www.suyambhu.bizhosting.com -->
<!-- Begin
// ضع النص بين علامتي التنصيص
text = "السلام عليكم " ;
color1 = "blue"; // لون النص الاصلي
color2 = "red"; //لون الحرف المميز
fontsize = "8"; // حجم الخط
speed = 200; // مدى سرعة النص
// time is in milliseconds, (مثلا 1000 = ثانية واحدة)
<!--لا تعدل اي شئ تحت هذا الخط إلا إذا كنت تعلم ما تفعل -->
i = 0;
if (navigator.appName == "Netscape") {
document.write("<layer id=a visibility=show></layer><br><br><br>");
}
else {
document.write("<div id=a></div>");
}
function changeCharColor() {
if (navigator.appName == "Netscape") {
document.a.document.write("<center><font size =" + fontsize + "><font color=" + color1 + ">");
for (var j = 0; j < text.length; j++) {
if(j == i) {
document.a.document.write("<font color=" + color2 + ">" + text.charAt(i) + "</font>");
}
else {
document.a.document.write(text.charAt(j));
}
}
document.a.document.write('</font></font></center>');
document.a.document.close();
}
if (navigator.appName == "Microsoft Internet Explorer") {
str = "<center><font size=" + fontsize + "><font color=" + color1 + ">";
for (var j = 0; j < text.length; j++) {
if( j == i) {
str += "<font color=" + color2 + ">" + text.charAt(i) + "</font>";
}
else {
str += text.charAt(j);
}
}
str += "</font></font></center>";
a.innerHTML = str;
}
(i == text.length) ? i=0 : i++; // reset after going through all letters
}
setInterval("changeCharColor()", speed);
// End -->
</script>
اله كاتبة
<html>
<head>
****** http-*****="Content-Type" content="text/html; charset=windows-1256">
<body>
<h1 align="center">
<script language="**********1.2">
/*
Typing Text Script-
Last updated: 99/06/17
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var it=0
function initialize(){
mytext=typing.innerText
var myheight=typing.offsetHeight
typing.innerText=''
document.all.typing.style.height=myheight
document.all.typing.style.visibility="visible"
typeit()
}
function typeit(){
typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
if (it<mytext.length-1){
it++
setTimeout("typeit()",100)
}
else
return
}
if (document.all)
document.body.onload=initialize
</script>
<span id="typing" style="visibility:hidden" align="left">
هذه الجافا تقوم بعرض الكلام في الصفحه حرف
حرف تماما كانه يطبع من آله كاتبه .. وتستطيع
التحكم في نوع الخط ولونه وحجمه واتجاه بدء
اظهار الجمل بسهوله جامبو
</span>
</html>
جملة ذلت اطار بلون يشع
<p align="center"> <table border="0" width="عرض الاطار بالبكسل" id="myexample" style="border:5px solid لون بدء الاشعاع وتستطيع اختيار اي لون ">
<tr>
<td align="center">
<p align="center"><font color="لون الجمله" size="3" face="Tahoma"><b>ضع هنا الجمله التي تود
</b></font></p>
</td>
</tr>
</table>
<script language="**********1.2">
<!--
/*
Flashing Table Border Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
function flashit(){
if (!document.all)
return
if (myexample.style.borderColor=="لون رقم واحد")
myexample.style.borderColor="لون رقم اثنان"
else
myexample.style.borderColor="لون رقم واحد"
}
setInterval("flashit()", 500)
//-->
</script>
جامبو
04-07-2002, 11:49 AM
جملة تتغير كل ساعة
<CENTER>
<SCRIPT LANGUAGE="**********">
<!-- http://www.hey.to/spcialman -->
<!-- Begin
document.write("<center><font size=+1>")
day = new Date()
hr = day.getHours()
if (hr == 1)
document.write(" صباح الخير على الجميع")
if (hr == 2)
document.write(" أنا معاكم على طول")
if (hr == 3)
document.write(" الوقت سريع ويخلص بسرعة في موقعي")
if (hr == 4)
document.write("4AM? كم الساعة !")
if (hr == 5)
document.write(" اليوم جميل مثل وجودكم هنا")
if (hr == 6)
document.write(" أنا هنا الخدمتكم تدلل")
if ((hr == 7) || (hr == 8) || (hr == 9) || (hr == 10))
document.write(" اصبحنا واصبح الملك لله")
if (hr == 11)
document.write("11AM... شوفوا الساعة الوقت يجري بسرعة بس معكم مثل الحلاوة??")
if (hr == 12)
document.write("NOON! ياشباب هذه وقت فطوري عن إذنكم!")
if (hr == 14)
document.write("It's 2PM. طيب جاي ابروح التغداء??")
if ((hr == 13) || (hr == 15) || (hr == 16))
document.write(" مساء الخير والاحساس والطيبة!")
if ((hr == 17) || (hr == 18) || (hr == 19) || (hr == 20) || (hr == 21) || (hr == 22))
document.write(" مساء الخير وكل عام وأنتم بخير!")
if (hr == 23)
document.write(" نحن الأن في منتصف الليل بتوقيت جرنتش ماجاكم نوم?")
if (hr == 0)
document.write(" تصبحون على خير سوف اذهب للنوم?")
document.write("</font></center>")
// End -->
</SCRIPT>
</CENTER>
كلام جميل
<SPAN STYLE="position:relative; width:500; height:50;
filter:glow(Color=#ff0000,Strength=2)">
<a href="http://www.absba.com">المشاغب<br>WELCOME IN ALWAFI PAGE</a></SPAN>
كلام متنوع
<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>
جامبو
04-07-2002, 11:52 AM
كلام ينور بالاخضر
<span id="theText" style="width:100%">
<h2>WELCOME IN المشاغب HOME PAGE</h2>
</span>
<script>
<!--
/*
Pulsating Text (Chris A e-mail: KilerCris@Mail.com)
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
*/
//range of glowing
var from = 5;
var to = 11;
//speed of pulsing
var delay = 55;
//color of glow, name or RGB value (example:'#00FF00')
var glowColor = "lime";
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script>
كلام مروحة
<html>
<head>
<title>Total Text Rotating Script</title>
****** NAME="keywords" CONTENT="animation, text, DHTML, free, download, activex, **********, scroller, ticke4r, applet, rotate">
****** NAME="description" CONTENT="By combining DirectAnimation controls (ActiveX) and ********** you can rotate any text in any direction with almost no bandwidth. Made for IE4x.">
<script language="**********">
<!-- Beginning of ********** -
// CREDITS:
// Total Text Rotating Script by Urs Dudli and Peter Gehrig
// Copyright (c) 1999 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
// 12/27/1999
// 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 the Total Text Rotating Script will be running.
var timer
function initiate() {
mytext1.Rotate(0,0,10)
mytext2.Rotate(0,0,-10)
mytext3.Rotate(0,5,0)
timer=setTimeout("initiate()",20)
}
// - End of ********** - -->
</script>
</head>
<body bgcolor=000000 onLoad="initiate()">
<OBJECT ID="mytext1"
CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6"
STYLE="POSITION:absolute;TOP:0px;LEFT:200px;WIDTH:300;HEI GHT:300">
<PARAM NAME="Line0001" VALUE="SetFillColor(0,0,255)">
<PARAM NAME="Line0002" VALUE="SetFont('Verdana',
60, 700, 0, 0, 0)">
<PARAM NAME="Line0003" VALUE="Text('alwafi', 0, 0, 0)">
</OBJECT>
<OBJECT ID="mytext2"
CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6"
STYLE="POSITION:absolute;TOP:0px;LEFT:200px;WIDTH:300;HEI GHT:300;">
<PARAM NAME="Line0001" VALUE="SetFillColor(255,0,0)">
<PARAM NAME="Line0002" VALUE="SetFont('Verdana',
40, 700, 0, 0, 0)">
<PARAM NAME="Line0003" VALUE="Text('2000', 0, 0, 0)">
</OBJECT>
<OBJECT ID="mytext3"
CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6"
STYLE="POSITION:absolute;TOP:0px;LEFT:0px;WIDTH:600;HEIGH T:300;">
<PARAM NAME="Line0001" VALUE="SetFillColor(255,255,255)">
<PARAM NAME="Line0002" VALUE="SetFont('Verdana',
24, 700, 0, 0, 0)">
<PARAM NAME="Line0003" VALUE="Text('welcome in my home page', 0, 0, 0)">
</OBJECT>
</body>
</html>
جامبو
04-07-2002, 11:56 AM
تاثيرات علي الصفحات
تحريك الصفحة تلقايئا
<script language="**********1.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>
تاثير فلاشي
<!-- This script has been in the http://www.**********s.com ********** Public Library! -->
<!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. -->
<html>
<head>
<title>seans background</title>
</head>
<body>
<!--COLOR-->
<script>
function initArray() {
this.length = initArray.arguments.length
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i]
}
var hexChars = "0123456789ABCDEF";
function Dec2Hex (Dec) {
var a = Dec % 16;
var b = (Dec - a)/16;
hex = "" + hexChars.charAt(b) + hexChars.charAt(a);
return hex;
}
function bgChanger (begin, end, steps) {
steps = steps -1 ;
redA = begin.charAt(0) + begin.charAt(1);
red_valA = parseInt(redA,'16');
redB = end.charAt(0) + end.charAt(1);
red_valB = parseInt(redB,'16');
red_int = ((red_valB - red_valA) / steps) * -1;
grnA = begin.charAt(2) + begin.charAt(3);
grn_valA = parseInt(grnA,'16');
grnB = end.charAt(2) + end.charAt(3);
grn_valB = parseInt(grnB,'16');
grn_int = ((grn_valB - grn_valA) / steps) * -1;
bluA = begin.charAt(4) + begin.charAt(5);
blu_valA = parseInt(bluA,'16');
bluB = end.charAt(4) + end.charAt(5);
blu_valB = parseInt(bluB,'16');
blu_int = ((blu_valB - blu_valA) / steps) * -1;
step = 2;
red = red_valA;
grn = grn_valA;
blu = blu_valA;
document.bgColor = begin;
while ( steps >= step ) {
red -= red_int;
red_round = Math.round(red);
red_hex = Dec2Hex(red);
grn -= grn_int;
grn_round = Math.round(grn);
grn_hex = Dec2Hex(grn);
blu -= blu_int;
blu_round = Math.round(blu);
blu_hex = Dec2Hex(blu);
document.bgColor = red_hex + grn_hex + blu_hex;
// document.write("<br>bgcolor = " + red_hex + grn_hex + blu_hex);
step++;
}
document.bgColor = end;
}
</script>
<script>
<!--
// black to black (pause)
bgChanger("000000","000000",25);
// black to red
bgChanger("000000","FF0000",25);
// red to black
bgChanger("FF0000","000000",25);
// black to purple
bgChanger("000000","AA00EE",25);
// purple to black
bgChanger("AA00EE","000000",25);
// black to blue
bgChanger("000000","0000FF",25);
// blue to black
bgChanger("0000FF","000000",25);
// black to white (pause)
bgChanger("000000","FFFFFF",25);
// --></script>
<!--COLOR-->
<script>
function initArray() {
this.length = initArray.arguments.length
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i]
}
var hexChars = "0123456789ABCDEF";
function Dec2Hex (Dec) {
var a = Dec % 16;
var b = (Dec - a)/16;
hex = "" + hexChars.charAt(b) + hexChars.charAt(a);
return hex;
}
function bgChanger (begin, end, steps) {
steps = steps -1 ;
redA = begin.charAt(0) + begin.charAt(1);
red_valA = parseInt(redA,'16');
redB = end.charAt(0) + end.charAt(1);
red_valB = parseInt(redB,'16');
red_int = ((red_valB - red_valA) / steps) * -1;
grnA = begin.charAt(2) + begin.charAt(3);
grn_valA = parseInt(grnA,'16');
grnB = end.charAt(2) + end.charAt(3);
grn_valB = parseInt(grnB,'16');
grn_int = ((grn_valB - grn_valA) / steps) * -1;
bluA = begin.charAt(4) + begin.charAt(5);
blu_valA = parseInt(bluA,'16');
bluB = end.charAt(4) + end.charAt(5);
blu_valB = parseInt(bluB,'16');
blu_int = ((blu_valB - blu_valA) / steps) * -1;
step = 2;
red = red_valA;
grn = grn_valA;
blu = blu_valA;
document.bgColor = begin;
while ( steps >= step ) {
red -= red_int;
red_round = Math.round(red);
red_hex = Dec2Hex(red);
grn -= grn_int;
grn_round = Math.round(grn);
grn_hex = Dec2Hex(grn);
blu -= blu_int;
blu_round = Math.round(blu);
blu_hex = Dec2Hex(blu);
document.bgColor = red_hex + grn_hex + blu_hex;
// document.write("<br>bgcolor = " + red_hex + grn_hex + blu_hex);
step++;
}
document.bgColor = end;
}
</script>
<script>
<!--
// black to black (pause)
bgChanger("000000","000000",25);
// black to red
bgChanger("000000","FF0000",25);
// red to black
bgChanger("FF0000","000000",25);
// black to purple
bgChanger("000000","AA00EE",25);
// purple to black
bgChanger("AA00EE","000000",25);
// black to blue
bgChanger("000000","0000FF",25);
// blue to black
bgChanger("0000FF","000000",25);
// black to white (pause)
bgChanger("000000","FFFFFF",25);
// --></script>
<BODY BACKGROUND="edge20.jpg" text="white" alink="#99CC32" link="#
99CC32" vlink="#99CC32">
My Cool Script Here....<br>
Simba says Roar.<br>
</body>
</html>
<!-- Simba says Roar. -->
جامبو
04-07-2002, 11:58 AM
طولك ووزنك
<body>
<h2 align="center"><font color="#000080">وزن </font><script
language="**********">
<!-- hide from old browsers
function ClearForm (form) {
form.weight.value="";
form.waist.value="";
form.bodyfat.value="";
}
function VerifyForm(form) {
// Holds whether or not the form is correct
var Correct = true;
// Check for missing fields
if (form.weight.value == null || form.weight.value.length == 0 ||
form.waist.value == null || form.waist.value.length == 0) {
alert ("\nPlease fill in all of the form elements");
Correct = false;
}
// Check that only numbers are in the weight and waist fields
else {
// Holds the floats representing the weight and waist
var TestWeight;
var TestWaist;
// Parse the weight and waist values and put in the variables
TestWeight = parseFloat(form.weight.value);
TestWaist = parseFloat(form.waist.value);
// Check to see that TestWeight is a number
if (isNaN (TestWeight)) {
alert("\nMake sure to enter the weight\nas a number.");
Correct = false;
form.weight.value="";
}
// Check to see that TestWaist is a number
if (isNaN (TestWaist)) {
alert("\nMake sure to enter the waist size\nas a number.");
Correct = false;
form.waist.value="";
}
// Check that the TestWeight is greater than 0
if (TestWeight <= 0) {
alert("\nCome on. Enter a real weight.");
Correct = false;
form.weight.value="";
}
// Check that the TestWaist is greater than 0
if (TestWaist <= 0) {
alert("\nCome on. Enter a real waist size.");
Correct = false;
form.waist.value="";
}
}
// If the inputs are correct, calculate the bodyfat percent
if (Correct) {
// Holds the bodyfat number and percent
var BF;
var BFPercent;
// Make the male calculations
if (form.gender[0].checked) {
BF = -98.42 + 4.15*TestWaist - .082*TestWeight;
}
// Make the female calculations
else {
BF = -76.76 + (4.15*TestWaist) - (.082*TestWeight);
}
// Calculate the bodyfat percentage
BFPercent = BF / TestWeight;
BFPercent = BFPercent * 100;
BFPercent = Math.round(BFPercent);
// Send this number to the screen
form.bodyfat.value = BFPercent + "%";
}
}
// finish hiding from old browsers -->
</script><font color="#000080">طول </font></h2>
<form method="post" name="bodyfat">
<div align="center"><center><table border="2" cellpadding="5">
<TBODY> <tr>
<td><font color="#000080" face="Tahoma">ذكر ولا
أنثى؟</font><font face="Tahoma"><br>
<input type="radio" checked name="gender"
value="MalePick" align="left"> ذكر<br>
<input type="radio" name="gender" value="FemPick"
align="left"> أنثى<br>
</font></td>
<td valign="top"><font color="#000080" face="Tahoma">كم وزنك؟(lbs.)</font><font face="Tahoma"><br>
<input type="text" size="8" name="weight"><br>
<br>
</font><font color="#000080" face="Tahoma">كم طولك
بالإنش؟</font><font face="Tahoma"><br>
<input type="text" size="8" name="waist"> </font></td>
</tr>
<tr>
<td colspan="2">
<p align="center"> <input
type="button" value="أمسح"
onclick="ClearForm(this.form)"> <input type="button"
value="أحسب النتيجه"
onclick="VerifyForm(this.form)"></p>
</td>
</tr>
<tr>
<td colspan="2"><p align="center"><font
color="#22165A"><font تناسق وزنك مع طولك هي </FONT> <input type="text" size="10"
name="bodyfat"> </font></p>
</td>
</tr>
<font color="#22165A"></TBODY></font>
</table>
</center></div>
</form>
<font color="#22165A"><!-- END OF SCRIPT --></font>
</body>
جامبو
04-07-2002, 11:59 AM
اكتشف محتويات السي
<SCRIPT>
function viewSource()
{
alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples.");
top.window.location="js-freak.txt";
}
</SCRIPT>
</HEAD>
<BODY>
<CENTER><STRONG><EM>
<FONT COLOR=000080 SIZE=+3></FONT>
</EM></STRONG></CENTER>
<BR>
<FONT COLOR=800000><STRONG>
<p align="center">
<INPUT TYPE="button" Value=" اكشف محتويات السى" onClick="window.open('file:///C|/', 'display', 'scrollbars=1')">
</p>
جامبو
04-07-2002, 12:01 PM
ساعة وتاريخ ويوم في شريط المهام
<HTML>
<SCRIPT LANGUAGE="**********">
<!-- Hide ********** From Java-Impaired Browsers
var timerID = null
var timerRunning = false
function MakeArray(size)
{
this.length = size;
for(var i = 1; i <= size; i++)
{
this[i] = "";
}
return this;
}
function stopclock (){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false
}
function showtime () {
var now = new Date();
var year = now.getYear();
var month = now.getMonth() + 1;
var date = now.getDate();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var day = now.getDay();
Day = new MakeArray(7);
Day[0]="الاحد";
Day[1]="الاثنين";
Day[2]="الثلاثاء";
Day[3]="الاربعاء";
Day[4]="الخميس";
Day[5]="الجمعه";
Day[6]="السبت";
var timeValue = " اليوم/ ";
timeValue += (Day[day]) + " ----- الموافق/ ";
timeValue += ((month < 10) ? " 0" : " ") + month + "-";
timeValue += date + "-" + year + " ----- الساعه / ";
timeValue += ((hours <= 12) ? hours : hours - 12);
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
timeValue += (hours < 12) ? " صباح" : " مساء";
window.status = timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true
}
function startclock () {
stopclock();
showtime()
}
// End Hiding -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="startclock();">
جامبو
04-07-2002, 12:02 PM
ساعه عربيه
<html>
<title>********** Clock</title>
<body bgcolor=ffffff text=000000>
<SCRIPT LANGUAGE="**********">
<!--
// Made by SportsFan
// Page at http://suns.home.ml.org
// Note: This was originally Rotating Banners depending on time; however,
// I edited it into a clock...
var timeNow=new Date();
var *******=timeNow.getSeconds();
if(*******>=50)
*******=1;
if(*******>=30)
*******=10;
if(*******>=5)
*******=20;
var JS*******=""+*******+""
document.write("****** http-*****=******* content="+JS*******+">");
//-->
</SCRIPT>
<SCRIPT LANGUAGE="**********">
<!--
// Made by SportsFan
// Page at http://suns.home.ml.org
// Note: This was originally Rotating Banners depending on time; however,
// I edited it into a clock...
var timeNow=new Date();
var now=timeNow.getMinutes();
var hour=timeNow.getHours();
if(now<=60)
number=60;
if(now<=59)
number=59;
if(now<=58)
number=58;
if(now<=57)
number=57;
if(now<=56)
number=56;
if(now<=55)
number=55;
if(now<=54)
number=54;
if(now<=53)
number=53;
if(now<=52)
number=52;
if(now<=51)
number=51;
if(now<=50)
number=50;
if(now<=49)
number=49;
if(now<=48)
number=48;
if(now<=47)
number=47;
if(now<=46)
number=46;
if(now<=45)
number=45;
if(now<=44)
number=44;
if(now<=43)
number=43;
if(now<=42)
number=42;
if(now<=41)
number=41;
if(now<=40)
number=40;
if(now<=39)
number=39;
if(now<=38)
number=38;
if(now<=37)
number=37;
if(now<=36)
number=36;
if(now<=35)
number=35;
if(now<=34)
number=34;
if(now<=33)
number=33;
if(now<=32)
number=32;
if(now<=31)
number=31;
if(now<=30)
number=30;
if(now<=29)
number=29;
if(now<=28)
number=28;
if(now<=27)
number=27;
if(now<=26)
number=26;
if(now<=25)
number=25;
if(now<=24)
number=24;
if(now<=23)
number=23;
if(now<=22)
number=22;
if(now<=21)
number=21;
if(now<=20)
number=20;
if(now<=19)
number=19;
if(now<=18)
number=18;
if(now<=17)
number=17;
if(now<=16)
number=16;
if(now<=15)
number=15;
if(now<=14)
number=14;
if(now<=13)
number=13;
if(now<=12)
number=12;
if(now<=11)
number=11;
if(now<=10)
number=10;
if(now<=9)
number="09";
if(now<=8)
number="08";
if(now<=7)
number="07";
if(now<=6)
number="06";
if(now<=5)
number="05";
if(now<=4)
number="04";
if(now<=3)
number="03";
if(now<=2)
number="02";
if(now<=1)
number="01";
if(hour==24)
hour=12;
if(hour==23)
hour=11;
if(hour==22)
hour=10;
if(hour==21)
hour=9;
if(hour==20)
hour=8;
if(hour==19)
hour=7;
if(hour==18)
hour=6;
if(hour==17)
hour=5;
if(hour==16)
hour=4;
if(hour==15)
hour=3;
if(hour==14)
hour=2;
if(hour==13)
hour=1;
if(hour==12)
hour=12;
if(hour==11)
hour=11;
if(hour==10)
hour=10;
if(hour==9)
hour=9;
if(hour==8)
hour=8;
if(hour==7)
hour=7;
if(hour==6)
hour=6;
if(hour==5)
hour=5;
if(hour==4)
hour=4;
if(hour==3)
hour=3;
if(hour==2)
hour=2;
if(hour==1)
hour=1;
var JSHOUR=""+hour+""
var JSTIME=""+number+""
document.write("<center><table border=0 cellspacing=0 bgcolor=000000><tr><td>");
document.write("<center><font size=+2 color=ffffff>الساعة الأن "+JSHOUR+":"+JSTIME+"</font></A></td></tr></table></center>");
//-->
</SCRIPT>
</body>
</html>
جامبو
04-07-2002, 12:04 PM
اختيار ارقام سريه
<SCRIPT LANGUAGE="**********">
<!-- Begin
function generate(form) {
var type=form.type.selectedIndex;
if (type<4) {
var selectionarray=new Array(62)
selectionarray[1]="A";
selectionarray[2]="B";
selectionarray[3]="C";
selectionarray[4]="D";
selectionarray[5]="E";
selectionarray[6]="F";
selectionarray[7]="G";
selectionarray[8]="H";
selectionarray[9]="I";
selectionarray[10]="J";
selectionarray[11]="K";
selectionarray[12]="L";
selectionarray[13]="M";
selectionarray[14]="N";
selectionarray[15]="O";
selectionarray[16]="P";
selectionarray[17]="Q";
selectionarray[18]="R";
selectionarray[19]="S";
selectionarray[20]="T";
selectionarray[21]="U";
selectionarray[22]="V";
selectionarray[23]="W";
selectionarray[24]="X";
selectionarray[25]="Y";
selectionarray[26]="Z";
selectionarray[27]="0";
selectionarray[28]="1";
selectionarray[29]="2";
selectionarray[30]="3";
selectionarray[31]="4";
selectionarray[32]="5";
selectionarray[33]="6";
selectionarray[34]="7";
selectionarray[35]="8";
selectionarray[36]="9";
selectionarray[37]="a";
selectionarray[38]="b";
selectionarray[39]="c";
selectionarray[40]="d";
selectionarray[41]="e";
selectionarray[42]="f";
selectionarray[43]="g";
selectionarray[44]="h";
selectionarray[45]="i";
selectionarray[46]="j";
selectionarray[47]="k";
selectionarray[48]="l";
selectionarray[49]="m";
selectionarray[50]="n";
selectionarray[51]="o";
selectionarray[52]="p";
selectionarray[53]="q";
selectionarray[54]="r";
selectionarray[55]="s";
selectionarray[56]="t";
selectionarray[57]="u";
selectionarray[58]="v";
selectionarray[59]="w";
selectionarray[60]="x";
selectionarray[61]="y";
selectionarray[62]="z";
var length=62;
}
if (type<3) {
var selectionarray=new Array(36);
selectionarray[1]="a";
selectionarray[2]="b";
selectionarray[3]="c";
selectionarray[4]="d";
selectionarray[5]="e";
selectionarray[6]="f";
selectionarray[7]="g";
selectionarray[8]="h";
selectionarray[9]="i";
selectionarray[10]="j";
selectionarray[11]="k";
selectionarray[12]="l";
selectionarray[13]="m";
selectionarray[14]="n";
selectionarray[15]="o";
selectionarray[16]="p";
selectionarray[17]="q";
selectionarray[18]="r";
selectionarray[19]="s";
selectionarray[20]="t";
selectionarray[21]="u";
selectionarray[22]="v";
selectionarray[23]="w";
selectionarray[24]="x";
selectionarray[25]="y";
selectionarray[26]="z";
selectionarray[27]="0";
selectionarray[28]="1";
selectionarray[29]="2";
selectionarray[30]="3";
selectionarray[31]="4";
selectionarray[32]="5";
selectionarray[33]="6";
selectionarray[34]="7";
selectionarray[35]="8";
selectionarray[36]="9";
var length=36;
}
if (type<2) {
var selectionarray=new Array(36);
selectionarray[1]="A";
selectionarray[2]="B";
selectionarray[3]="C";
selectionarray[4]="D";
selectionarray[5]="E";
selectionarray[6]="F";
selectionarray[7]="G";
selectionarray[8]="H";
selectionarray[9]="I";
selectionarray[10]="J";
selectionarray[11]="K";
selectionarray[12]="L";
selectionarray[13]="M";
selectionarray[14]="N";
selectionarray[15]="O";
selectionarray[16]="P";
selectionarray[17]="Q";
selectionarray[18]="R";
selectionarray[19]="S";
selectionarray[20]="T";
selectionarray[21]="U";
selectionarray[22]="V";
selectionarray[23]="W";
selectionarray[24]="X";
selectionarray[25]="Y";
selectionarray[26]="Z";
selectionarray[27]="0";
selectionarray[28]="1";
selectionarray[29]="2";
selectionarray[30]="3";
selectionarray[31]="4";
selectionarray[32]="5";
selectionarray[33]="6";
selectionarray[34]="7";
selectionarray[35]="8";
selectionarray[36]="9";
var length=36;
}
var lngth=form.length.selectedIndex;
var i,j;
var tmpstr;
tmpstr="";
i=0;
do {
{
var randscript = -1
while (randscript < 1 || randscript > length || isNaN(randscript))
{randscript = parseInt(Math.random()*(length))}
j=randscript}
tmpstr=tmpstr+selectionarray[j]
i=i+1}
while (i<lngth)
form.password.value = tmpstr;
}
// End -->
</script>
</head>
<body>
<center>
<form>
<select name="type" size="1">
<option selected>اختار نوعيه الباسوورد
<option>حروف كبيره وارقام
<option>حروف صغيره وارقام
<option>حروف كبير ه وصغيره وارقام</select>
<select name="length" size="1">
<option selected>اختار عدد الشفره
<option>1
<option>2
<option>3
<option>4
<option>5
<option>6
<option>7
<option>8
<option>9
<option>10
<option>11
<option>12
<option>13
<option>14
<option>15
<option>16
<option>17
<option>18
<option>19
<option>20
</select>
<br>
<input type="button" value="اضغط لتكوين الشفره" onclick="generate(this.form)">
<p><font face="Windows UI">شفرتك هي </font></p>
<p><input type=text name=password size=20></p>
</form>
</center></body>
ترووكي
05-07-2002, 07:21 AM
الف الف شكر اخوي
:)
جامبو
05-07-2002, 10:08 AM
العفو
المصعبي
05-07-2002, 06:49 PM
الف الف الف شكر اخوي بس لو سمحت انا عندي طلب
ويارب تلبيه
واتخيب ظني فيك
ان ابي كود اللي مستخدمه موقع هوازن هو اول ماتدخل يطلب منك الترشيح
واو ماتهو\س على موافق
يتم ترسيحك على طول
ويرسى ارساله على الخاص
الشعاع
29-11-2002, 03:06 PM
اريد عمل animation ب ال java
مثلا علم يرفرف ب الجافا وشكراااااااااااااااااااا:o
Sadek MM
27-07-2003, 09:50 PM
ماشاء الله عليك أخوي
مشكور على المجهود الرائع
ياريت أبغي الكود اللى يحرك الكلام من أسفل إلى أعلى ...... بعض الجمل النصية مش الصفحة بالكامل
تحياتي
فى الإنتظار
عكاوي
27-07-2003, 10:53 PM
الف شكر لك على الاكواد
الله يعطيك العافية
تحيــــاتي
ابوعبدالعزيز
27-07-2003, 11:01 PM
شكرا لك اخي الكريم مجهود رائع
Abo_ELleal
28-07-2003, 12:52 AM
أخواني هنا تجدون أ:واد جافا بها ما تريدون أخواني
أضغط هنا (http://myjava.cjb.net)
تحيــــاتــــي....
M^moon^^light^M
11-03-2004, 11:45 AM
الله يعطيك العافية