كيفـــكـــمــ
..ان شاء الله بخيررررر ..
الان تقدر تصنع
ارووع صفحة اختراق خاصة فيك ... يعني سوف اضع
ارووع اكواد جافا تضيفها على صفحة الاختراق ......
وقبل الاكواد سوف اشرح قليلا عن لغة html حتى تستطيع معرفة مكان وضع الاكواد
بسم الله نبدا
ملاحطة :::::::: ادخل على الكود واقري ما الذي يجب تعديله .....
المطلوب منك هو معرفة تقسيمات اللغة ...وهي على النحو الاتي مكونه من مجموعة وسوم :
<head>
</head>
<tilte>
</title>
<body>
</body>
</html
.. رح اطبق مثال ..
المثال هو على كود الوان تتبع الماوس ...
***************************
HEAD
كود PHP:
<style type="text/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 }
-->
</style>
BODY
كود PHP:
<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:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ffff00;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ff0000;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#FF00FF;font-size:1px;visibility:visible"></div>
</div>
<script language="JavaScript">
<!-- Begin
// Original: freeware.de
// Web Site: http://freeware.de
// MSIE Fix by: Kurt Grigg (kurt.grigg@virgin.net)
/* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use */
function MoveHandler(){
Xpos = ********.body.scrollLeft + event.x;
Ypos = ********.body.scrollTop + event.y;
}
function xMoveHandler(evnt) {
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
if (********.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 (********.all) {
********.onmousemove = MoveHandler;
}
else if (********.layers) {
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (********.all) {
yBase = window.********.body.offsetHeight / 4;
xBase = window.********.body.offsetWidth / 4;
}
else if (********.layers) {
yBase = window.innerHeight / 4;
xBase = window.innerWidth / 4;
}
if (********.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 (********.layers) {
for (j = 0; j < 7; j++) { //7 is number of NS layers!
var templayer="a" + j;
********.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);
********.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>
بنشوف انه الكود مقسم الي جزئين ...
الجزء الاول مكانه في وسم HEAD
والجزء الاخر مكانه في BODY
ارعرفنا مكان وضع الاجزاء من العنوان .
يعني رح ايكون الصفحة كامل بعد اضافة الاكود هاكذا :::::
كود PHP:
<head>
<style type="text/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 }
-->
</style>
</head>
<TITLE>
</TITLE>
<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:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ffff00;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ff0000;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#FF00FF;font-size:1px;visibility:visible"></div>
</div>
<script language="JavaScript">
<!-- Begin
// Original: freeware.de
// Web Site: http://freeware.de
// MSIE Fix by: Kurt Grigg (kurt.grigg@virgin.net)
/* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use */
function MoveHandler(){
Xpos = ********.body.scrollLeft + event.x;
Ypos = ********.body.scrollTop + event.y;
}
function xMoveHandler(evnt) {
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
if (********.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 (********.all) {
********.onmousemove = MoveHandler;
}
else if (********.layers) {
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (********.all) {
yBase = window.********.body.offsetHeight / 4;
xBase = window.********.body.offsetWidth / 4;
}
else if (********.layers) {
yBase = window.innerHeight / 4;
xBase = window.innerWidth / 4;
}
if (********.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 (********.layers) {
for (j = 0; j < 7; j++) { //7 is number of NS layers!
var templayer="a" + j;
********.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);
********.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>
</body>
</html>
************** اعتقد صار الوضع مفهووم********** اوكي نبلش *******
كود ألعاب نارية
انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<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,1,1"></layer>
<layer name="a8" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,1,1"></layer>
<layer name="a9" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,1,1"></layer>
<layer name="a10" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,1,1"></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">
/*
******** firework script (By Kurt Gregg, kurt.grigg@virgin.net)
Modified granted to Dynamic Drive to feature script in archive
For full source and 100's more DHTML scripts, visit http://dynamicdrive.com
Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use */
if (********.all)
with(********){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px"></div>')
write('</div>')
}
var Clrs=new Array(9)
Clrs[0]='ff0000';
Clrs[1]='00ff00';
Clrs[2]='000aff';
Clrs[3]='ff00ff';
Clrs[4]='ffa500';
Clrs[5]='ffff00';
Clrs[6]='00ff00';
Clrs[7]='ffffff';
Clrs[8]='fffff0';
var sClrs=new Array(5)
sClrs[0]='ffa500';
sClrs[1]='55ff66';
sClrs[2]='AC9DFC';
sClrs[3]='fff000';
sClrs[4]='fffff0';
var yBase;
var xBase;
var step;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;
var initialStarColor='ffa000';
var Mtop=250;
var Mleft=250;
function Fireworks() {
if (********.all)
{
yBase = window.********.body.offsetHeight/3;
xBase = window.********.body.offsetWidth/8;
}
else if (********.layers)
{
yBase = window.innerHeight/3;
xBase = window.innerWidth/8;
}
if (********.all)
{
step=5;
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{
for (ai=0; ai < Clrs.length; ai++)
{
var c=Math.round(Math.random()*[ai]);
}
if (currStep < 90)
starsDiv.all[i].style.background=initialStarColor;
if (currStep > 90)
starsDiv.all[i].style.background=Clrs[c];
starsDiv.all[i].style.top = Mtop + yBase*Math.sin((currStep+i*5)/3)*Math.sin(550+currStep/100)
starsDiv.all[i].style.left = Mleft + yBase*Math.cos((currStep+i*5)/3)*Math.sin(550+currStep/100)
}
}
else if (********.layers)
{
step = 5;
for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
{
var templayer="a"+j
for (ai=0; ai < Clrs.length; ai++)
{
var c=Math.round(Math.random()*[ai]);
}
if (currStep < 90)
********.layers[templayer].bgColor=initialStarColor;
if (currStep > 90)
********.layers[templayer].bgColor=Clrs[c];
********.layers[templayer].top = Mtop + yBase*Math.sin((currStep+j*5)/3)*Math.sin(550+currStep/100)
********.layers[templayer].left = Mleft + yBase*Math.cos((currStep+j*5)/3)*Math.sin(550+currStep/100)
}
}
currStep+= step;
//window.status=currStep;
T=setTimeout("Fireworks()",5);
if (currStep==220)
{
currStep=-10;
for (n=0; n < sClrs.length; n++)
{
var k=Math.round(Math.random()*n);
}
initialStarColor=sClrs[k];
if (********.all)
{
Dtop=window.********.body.clientHeight-250;
Dleft=xBase*3.5;
Mtop=Math.round(Math.random()*Dtop);
Mleft=Math.round(Math.random()*Dleft);
********.all.starsDiv.style.top=Mtop+********.body.scrollTop;
********.all.starsDiv.style.left=Mleft+********.body.scrollLeft;
}
else if (********.layers)
{
Dleft=window.innerWidth-100;
Dtop=window.innerHeight-100;
Mtop=Math.round(Math.random()*Dtop+window.pageYOffset);
Mleft=Math.round(Math.random()*Dleft+window.pageXOffset);
********.layers[templayer].top=Mtop;
********.layers[templayer].left=Mleft;
}
if ((Mtop < 20) || (Mleft < 20))
{
Mtop+=90;
Mleft+=90;
}
}
}
if (********.all||********.layers)
Fireworks();
</script>
تغيير ألوان شريط تحريك الصفحة الجانبي و السفلي
انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<STYLE>
BODY {
scrollbar-3dlight-color: #00ff33;
scrollbar-arrow-color: #00ff00;
scrollbar-darkshadow-color: #00ff33;
scrollbar-face-color: #000000;
scrollbar-highlight-color: #00ff00;
scrollbar-shadow-color: #00ff00;
scrollbar-track-color: #000033}
</STYLE>
كود لجعل الصفحة تمطر
انسخ هذا الكود و ضعه في منطقة BODY
كود PHP:
<script language="JavaScript">
/* This credit MUST stay intact for use */
/* Visit our site at http://www.star28.com/ for more code */
<!-- Begin
var no = 50;
var speed = 1;
var ns4up = (********.layers) ? 1 : 0;
var ie4up = (********.all) ? 1 : 0;
var s, x, y, sn, cs;
var a, r, cx, cy;
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
else
if (ie4up) {
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
x = new Array();
y = new Array();
r = new Array();
cx = new Array();
cy = new Array();
s = 8;
for (i = 0; i < no; ++ i) {
initRain();
if (ns4up) {
if (i == 0) {
********.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
********.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
********.write(",</font></layer>");
}
else {
********.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
********.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
********.write(",</font></layer>");
}
}
else
if (ie4up) {
if (i == 0) {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
********.write(",</font></div>");
}
else {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
********.write(",</font></div>");
}
}
}
function initRain() {
a = 6;
r[i] = 1;
sn = Math.sin(a);
cs = Math.cos(a);
cx[i] = Math.random() * doc_width + 1;
cy[i] = Math.random() * doc_height + 1;
x[i] = r[i] * sn + cx[i];
y[i] = cy[i];
}
function makeRain() {
r[i] = 1;
cx[i] = Math.random() * doc_width + 1;
cy[i] = 1;
x[i] = r[i] * sn + cx[i];
y[i] = r[i] * cs + cy[i];
}
function updateRain() {
r[i] += s;
x[i] = r[i] * sn + cx[i];
y[i] = r[i] * cs + cy[i];
}
function raindropNS() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
makeRain();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
********.layers["dot"+i].top = y[i];
********.layers["dot"+i].left = x[i];
}
setTimeout("raindropNS()", speed);
}
function raindropIE() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
makeRain();
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
********.all["dot"+i].style.pixelTop = y[i];
********.all["dot"+i].style.pixelLeft = x[i];
}
setTimeout("raindropIE()", speed);
}
if (ns4up) {
raindropNS();
}
else
if (ie4up) {
raindropIE();
}
// End -->
</script>
**************************
خلفية تشبه خلفية فيلم ماتريكس
انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<script language="JavaScript">
// Visit our site at http://www.star28.com/ for more code
if (********.all){
Cols=10;
Cl=24;
Cs=100;
Ts=10;
Tc='#FF9933';
Tc1='#FFCC00';
MnS=5;
MxS=10;
I=Cs;
Sp=new Array();S=new Array();Y=new Array();
C=new Array();M=new Array();B=new Array();
RC=new Array();E=new Array();Tcc=new Array(0,1);
********.write("<div id='Container' style='position:absolute;top:0;left:-"+Cs+"'>");
********.write("<div style='position:relative'>");
for(i=0; i < Cols; i++){
S[i]=I+=Cs;
********.write("<div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"
+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'></div>");
}
********.write("</div></div>");
for(j=0; j < Cols; j++){
RC[j]=1+Math.round(Math.random()*Cl);
Y[j]=0;
Sp[j]=Math.round(MnS+Math.random()*MxS);
for(i=0; i < RC[j]; i++){
B[i]='';
C[i]=Math.round(Math.random()*1)+' ';
M[j]=B[0]+=C[i];
}
}
function Cycle(){
Container.style.top=window.********.body.scrollTop;
for (i=0; i < Cols; i++){
var r = Math.floor(Math.random()*Tcc.length);
E[i] = '<font color='+Tc1+'>'+Tcc[r]+'</font>';
Y[i]+=Sp[i];
if (Y[i] > window.********.body.clientHeight){
for(i2=0; i2 < Cols; i2++){
RC[i2]=1+Math.round(Math.random()*Cl);
for(i3=0; i3 < RC[i2]; i3++){
B[i3]='';
C[i3]=Math.round(Math.random()*1)+' ';
C[Math.floor(Math.random()*i2)]=' '+' ';
M[i]=B[0]+=C[i3];
Y[i]=-Ts*M[i].length/1.5;
A[i].style.visibility='visible';
}
Sp[i]=Math.round(MnS+Math.random()*MxS);
}
}
A[i].style.top=Y[i];
A[i].innerHTML=M[i]+' '+E[i]+' ';
}
setTimeout('Cycle()',20)
}
Cycle();
}
// -->
</script>
**************************
كلمات تظهر في شريط المعلومات السفلي 1
1- انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<script LANGUAGE="JavaScript">
/* Visit our site at http://www.star28.com/ for more code
*/
var init_msg = "Welcome To STAR28.com"
var str = ""
var msg = ""
var leftmsg = ""
function setMessage()
{
if (msg == "")
{
str = " "
msg = init_msg
leftmsg = ""
}
if (str.length == 1)
{
while (msg.substring(0, 1) == " ")
{
leftmsg = leftmsg + str
str = msg.substring(0, 1)
msg = msg.substring(1, msg.length)
}
leftmsg = leftmsg + str
str = msg.substring(0, 1)
msg = msg.substring(1, msg.length)
for (var ii = 0; ii < 120; ii++)
{str = " " + str}
}
else
{
str = str.substring(10, str.length) // decrease str little by little
}
window.status = leftmsg + str
JSCTimeOutID = window.setTimeout('setMessage()',100)
}
</script>
2- ضع هذه الرموز ضمن الوسم BODY لتصبح هكذا
كود PHP:
<BODY onLoad="JSCTimeOutID = window.setTimeout('setMessage()',500);">
*******************************
كلمات تظهر في شريط المعلومات السفلي 2
1- انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<script LANGUAGE="JavaScript">
/* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use */
<!-- Begin
var Message="مرحبا بكم في دليل العرب الشامل";
var place=1;
function scrollIn() {
window.status=Message.substring(0, place);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollOut()",300);
} else {
place++;
window.setTimeout("scrollIn()",50);
}
}
function scrollOut() {
window.status=Message.substring(place, Message.length);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollIn()", 100);
} else {
place++;
window.setTimeout("scrollOut()", 50);
}
}
// End -->
</script>
2- ضع هذه الرموز ضمن الوسم BODY لتصبح هكذا
كود PHP:
<BODY onLoad="scrollIn()">
*************************
كلمات تظهر في شريط المعلومات السفلي 3
1- انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<script LANGUAGE="JavaScript">
/* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use */
<!-- Begin
function scrollit(seed) {
var m1 = "ضع هنا";
var m2 = "---- الرسائل ----";
var m3 = "التي تريد ظهورها";
var m4 = "---- يمكنك التحكم في عدد الرسائل ---";
var msg=m1+m2+m3+m4;
var out = "كلام ثابت ";
var c = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
}
}
}
// End -->
</script>
2- ضع هذه الرموز ضمن الوسم BODY لتصبح هكذا
كود PHP:
<BODY onLoad="scrollit(100)">
*******************************************
كلمات تظهر في شريط المعلومات السفلي 4
انسخ هذا الكود و ضعه في منطقة BODY
كود PHP:
<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 <yshiran@iil.intel.com>
// Translated By http://soft.vip600.com/
/* Visit our site at http://www.star28.com/ for more code */
// set speed of banner (pause in milliseconds between addition of new character)
var speed = 10
// decrease value to increase speed (must be positive)
// set pause between completion of message and beginning of following message
var pause = 2500
// increase value to increase pause
// set initial values
var timerID = null
var bannerRunning = false
// create array
var ar = new Array()
// اكتب هنا الجمل التي تود ان تظهر بشريط المعلومات
ar[0] = "مرحباً بكم في شبكة العناكب"
ar[1] = "نتمنى أن ينال موقعنا إعجابكم"
ar[2] = "إذا كان لديكم أي ملاحظات نرجو إعلامنا"
ar[3] = "و شكراً لزيارتكم"
// assign index of current message
var message = 0
// empty string initialization
var state = ""
// no value is currently being displayed
clearState()
// stop the banner if it is currently running
function stopBanner() {
// if banner is currently running
if (bannerRunning)
// stop the banner
clearTimeout(timerID)
// timer is now stopped
timerRunning = false
}
// start the banner
function startBanner() {
// make sure the banner is stopped
stopBanner()
// start the banner from the current position
showBanner()
}
// assign state a string of "0" characters of the length of the current message
function clearState() {
// initialize to empty string
state = ""
// create string of same length containing 0 digits
for (var i = 0; i < ar[message].length; ++i) {
state += "0"
}
}
// display the current message
function showBanner() {
// if the current message is done
if (getString()) {
// increment message
message++
// if new message is out of range wrap around to first message
if (ar.length <= message)
message = 0
// new message is first displayed as empty string
clearState()
// display next character after pause milliseconds
timerID = setTimeout("showBanner()", pause)
}
else {
// initialize to empty string
var str = ""
// built string to be displayed (only character selected thus far are displayed)
for (var j = 0; j < state.length; ++j) {
str += (state.charAt(j) == "1") ? ar[message].charAt(j) : " "
}
// partial string is placed in status bar
window.status = str
// add another character after speed milliseconds
timerID = setTimeout("showBanner()", speed)
}
}
function getString() {
// set variable to true (it will stay true unless proven otherwise)
var full = true
// set variable to false if a free space is found in string (a not-displayed char)
for (var j = 0; j < state.length; ++j) {
// if character at index j of current message has not been placed in displayed string
if (state.charAt(j) == 0)
full = false
}
// return true immediately if no space found (avoid infinitive loop later)
if (full) return true
// search for random until free space found (braoken up via break statement)
while (1) {
// a random number (between 0 and state.length - 1 == message.length - 1)
var num = getRandom(ar[message].length)
// if free space found break infinitive loop
if (state.charAt(num) == "0")
break
}
// replace the 0 character with 1 character at place found
state = state.substring(0, num) + "1" + state.substring(num + 1, state.length)
// return false because the string was not full (free space was found)
return false
}
function getRandom(max) {
// create instance of current date
var now = new Date()
// create a random number (good generator)
var num = now.getTime() * now.getSeconds() * Math.random()
// cut random number to value between 0 and max - 1, inclusive
return num % max
}
startBanner()
// -->
</script>
*******************************
كلام متحرك يظهر في البار العلوي للصفحة
انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<script language="JavaScript1.2">
// *******************************************************************
// script by drevil_nz, Michael Dillon, Christchurch New Zealand.
// Permission granted to use this script provided this credit
// remains intact. Visit my homepage www.chc.quik.co.nz/juggler/mikey.html
// Script written for Internet Explorer 4.0+.
// *******************************************************************
var message="مرحباً بكم فى موقعنا" //specifys the title
var message=message+" " //gives a pause at the end,1 space=1 speed unit, here I used 10 spaces@150 each = 1.5seconds.
i="0" //declares the variable and sets it to start at 0
var temptitle="" //declares the variable and sets it to have no value yet.
var speed="150" //the delay in milliseconds between letters
function titler(){
if (!********.all&&!********.getElementById)
return
********.title=temptitle+message.charAt(i) //sets the initial title
temptitle=temptitle+message.charAt(i) //increases the title by one letter
i++ //increments the counter
if(i==message.length) //determines the end of the message
{
i="0" //resets the counter at the end of the message
temptitle="" //resets the title to a blank value
}
setTimeout("titler()",speed) //Restarts. Remove line for no-repeat.
}
window.onload=titler
</script>
*******************************
ألوان تتبع الماوس
1- انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<style type="text/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 }
-->
</style>
2- انسخ هذه الأكواد و ضعها بعد BODY
كود PHP:
<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:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ffff00;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#ff0000;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:1px;visibility:visible"></div>
<div style="position:relative;width:2px;height:2px;background:#FF00FF;font-size:1px;visibility:visible"></div>
</div>
<script language="JavaScript">
<!-- Begin
// Original: freeware.de
// Web Site: http://freeware.de
// MSIE Fix by: Kurt Grigg (kurt.grigg@virgin.net)
/* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use */
function MoveHandler(){
Xpos = ********.body.scrollLeft + event.x;
Ypos = ********.body.scrollTop + event.y;
}
function xMoveHandler(evnt) {
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
if (********.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 (********.all) {
********.onmousemove = MoveHandler;
}
else if (********.layers) {
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (********.all) {
yBase = window.********.body.offsetHeight / 4;
xBase = window.********.body.offsetWidth / 4;
}
else if (********.layers) {
yBase = window.innerHeight / 4;
xBase = window.innerWidth / 4;
}
if (********.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 (********.layers) {
for (j = 0; j < 7; j++) { //7 is number of NS layers!
var templayer="a" + j;
********.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);
********.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>
**********************************
منع استخدام زر الماوس الأيمن
انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<script language="JavaScript">
// Visit our site at http://www.star28.com/ for more code
<!--
function click() {
if (event.button==2) {
*****(مـاتركس حائل);
}
}
********.onmousedown=click
// -->
</script>
******************************
نص يومض في أسفل الصفحة
انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
**********
/*
Always-on-top message Script-
Dynamic Drive (www.dynamicdrive.com)
// Visit http://www.star28.com/ for more code
// Translated By http://www.star28.com/
*/
// ضع النص الذي تريده و يمكنك التعديل في أكواد HTML
var message='<b><font face=Arial color=000000 size=5>ضع النص هنا</font></b>';
// ضع لون الخلفية الأول
var backgroundcolor="yellow";
//enter 0 for always display, 1 for a set period, 2 for random display mode
var displaymode=0;
//if displaymode is set to display for a set period, enter the period below (1000=1 sec)
var displayduration=10000;
// اذا أردت أن لا يومض النص غير القيمة الى 0
var flashmode=1;
// ضع لون الخلفية الآخر
var flashtocolor="LIME";
///////////////do not edit below this line////////////////////////////////////////
function regenerate(){
window.location.reload();
}
var which=0;
function regenerate2(){
if (********.layers)
setTimeout("window.onresize=regenerate",400);
}
function display2(){
if (********.layers){
if (topmsg.visibility=="show")
topmsg.visibility="hide";
else
topmsg.visibility="show";
}
else if (********.all){
if (topmsg.style.visibility=="visible")
topmsg.style.visibility="hidden";
else
topmsg.style.visibility="visible";
setTimeout("display2()",Math.round(Math.random()*10000)+10000);
}
}
function flash(){
if (which==0){
if (********.layers)
topmsg.bgColor=flashtocolor;
else
topmsg.style.backgroundColor=flashtocolor;
which=1;
}
else{
if (********.layers)
topmsg.bgColor=backgroundcolor;
else
topmsg.style.backgroundColor=backgroundcolor;
which=0;
}
}
if (********.all){
********.write('<span id="topmsg" style="position:absolute;visibility:hidden">'+message+'</span>');
}
function logoit(){
********.all.topmsg.style.left=********.body.scrollLeft+********.body.clientWidth/2-********.all.topmsg.offsetWidth/2;
********.all.topmsg.style.top=********.body.scrollTop+********.body.clientHeight-********.all.topmsg.offsetHeight-4;
}
function logoit2(){
topmsg.left=pageXOffset+window.innerWidth/2-topmsg.********.width/2;
topmsg.top=pageYOffset+window.innerHeight-topmsg.********.height-5;
setTimeout("logoit2()",90);
}
function setmessage(){
********.all.topmsg.style.left=********.body.scrollLeft+********.body.clientWidth/2-********.all.topmsg.offsetWidth/2;
********.all.topmsg.style.top=********.body.scrollTop+********.body.clientHeight-********.all.topmsg.offsetHeight-4;
********.all.topmsg.style.backgroundColor=backgroundcolor;
********.all.topmsg.style.visibility="visible";
if (displaymode==1)
setTimeout("topmsg.style.visibility='hidden'",displayduration);
else if (displaymode==2)
display2();
if (flashmode==1)
setInterval("flash()",1000);
window.onscroll=logoit;
window.onresize=new Function("window.location.reload()");
}
function setmessage2(){
topmsg=new Layer(window.innerWidth);
topmsg.bgColor=backgroundcolor;
regenerate2();
topmsg.********.write(message);
topmsg.********.close();
logoit2();
topmsg.visibility="show";
if (displaymode==1)
setTimeout("topmsg.visibility='hide'",displayduration);
else if (displaymode==2);
display2();
if (flashmode==1)
setInterval("flash()",1000);
}
if (********.layers)
window.onload=setmessage2;
else if (********.all)
window.onload=setmessage;
</script>
************************************
نص يتلون بشكل مذهل عند وضع الماوس عليه
1- انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
**********
/*****************************************
* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use
***********************************************/
<!-- Beginning of JavaScript -
col = new Array()
col[0]="000000"
col[1]="FFFF00"
col[2]="FF0000"
col[3]="333333"
col[4]="00FF00"
col[5]="660000"
col[6]="9900CC"
col[7]="FFFF00"
col[8]="000000"
col[9]="99FFFF"
col[10]="9900FF"
col[11]="CCFF66"
col[12]="003333"
col[13]="FF66FF"
col[14]="FFFFFF"
col[15]="0000CC"
col[16]="FFFFFF"
col[17]="000033"
col[18]="9900FF"
col[19]="FF0000"
col[20]="33CC99"
col[21]="00FF00"
col[22]="6666FF"
col[23]="FF6600"
col[24]="330000"
col[25]="CCFFFF"
col[26]="003300"
col[27]="FF0000"
col[28]="FFFF00"
col[29]="0000FF"
col[30]="00FF00"
i_col=0
doani=1
var timer
var thislink
function animatelink() {
if (********.all) {
if (doani==1) {
if (i_col<=col.length-1) {
thislink.color=col[i_col]
i_col++
timer=setTimeout("animatelink()",50)
}
else {
i_col=0
timer=setTimeout("animatelink()",50)
}
}
else {
clearTimeout(timer)
}
}
}
function stopanimation() {
clearTimeout(timer)
thislink.color="000000"
doani=0
}
function startanimation(mylink) {
clearTimeout(timer)
thislink=eval("********.all."+mylink+".style")
doani=1
animatelink()
}
// - End of JavaScript - -->
</script>
<STYLE TYPE="text/css">
<!--
A { font-family: Tahoma,Arial,Helvetica,sans-serif; color: #000000;text-decoration:underline}
-->
</STYLE>
2- انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<b><DIV id="mainbody"><a id="link1" href="http://www.star28.com" onMouseOver="startanimation('link1')" onMouseOut="stopanimation()" target="_blank">ضع الماوس هنا لو سمحت</a></b>
3- عدل في الوسم BODY ليصبح مثل هذا
كود PHP:
<body id="thisbody">
**********************
شاشة حمراء تصغر بالتدريج عند الدخول الى الصفحة
1- انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:white;
background-color:red;
border:0.1px solid white
}
-->
</style>
2- انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<div id="i1" class="intro"></div>
<script language="JavaScript1.2">
/*
Boxing In Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of Use, dynamicdrive.com
* Visit our site at http://www.star28.com/ for more code
*/
//change speed here
var speed=5
if (********.layers){
var reference=window.innerWidth/window.innerHeight
var temp=eval("********.i1.clip")
temp.left=temp.top=0
temp.right=window.innerWidth
temp.bottom=window.innerHeight
}
else if (********.all){
var reference=********.body.clientWidth/********.body.clientHeight
var rightclip,leftclip,topclip,bottomclip
var temp=********.all.i1.style
topclip=leftclip=0
rightclip=temp.width=********.body.clientWidth
bottomclip=temp.height=********.body.clientHeight
}
function doit(){
window.scrollTo(0,0)
if (********.layers){
if (temp.left>window.innerWidth/2)
clearInterval(stopit)
temp.left+=reference*speed
temp.top+=speed
temp.right-=reference*speed
temp.bottom-=speed
}
else if (********.all){
if (leftclip>********.body.clientWidth/2)
clearInterval(stopit)
temp.clip="rect( "+topclip+" "+rightclip+" "+bottomclip+" "+leftclip+")"
leftclip+=reference*speed
topclip+=speed
rightclip-=reference*speed
bottomclip-=speed
}
}
stopit=setInterval("doit()",100)
</script>
**********************
كود الزلزال
انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<script language="JavaScript1.2">
/*****************************************
* Visit our site at http://www.star28.com/ for more code
***********************************************/
<!-- Begin
function shake(n) {
if (self.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
}
// End -->
</script>
<form>
<p align="center"><input type="button"
value="اضغـــط هنـــا" onclick="shake(2)"> </p>
</form>
**********************************
كود ألعاب نارية روووعه
- انسخ هذا الكود و ضعه في منطقة الرأس HEAD
كود PHP:
<STYLE type=text/css> BODY {
OVERFLOW-X: hidden
}
v\:* {
BEHAVIOR: url(#default#VML)
}
</STYLE>
2- انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<SCRIPT language=JavaScript>
/*
VML Fireworks script -- By Jacco IJzerman (j.ijzerman1@REMOVETHISchello.nl)
Permission granted to Dynamicdrive.com to feature script in archive.
Translated By www.sakrkuraish.netfirms.com
* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use
***********************************************/
//Customize fireworks colors:
colors = new Array();
colors[0] = new Array('yellow', 'lime');
colors[1] = new Array('lime', 'green')
colors[2] = new Array('lime', 'blue');
colors[3] = new Array('lightyellow', 'purple');
colors[4] = new Array('lightblue', 'white');
colors[5] = new Array('blue', 'silver');
colors[6] = new Array('red', 'fuchsia');
colors[7] = new Array('yellow', 'red');
maximum = 1000;
vmlobj='';
for(i = 0; i < 12; i++){
vmlobj += '<div id="ster'+i+'" style="position:absolute; left:-50px; top-50px; visibility:hidden; z-index:50;">';
vmlobj += '<v:shape style="width:15px; height:15px;" fillcolor="yellow" coordorigin="0,0" coordsize="200 200">';
vmlobj += '<v:path v="m 8,65 l 72,65, 92,11, 112,65, 174,65, 122,100, 142,155,92,121, 42,155, 60,100 x e"/>';
vmlobj += '<v:stroke on="false" /></v:shape></div>';
}
********.write(vmlobj); vmlobj = null;
aantal = 0;
function begin()
{
try {
if(aantal == maximum){ return;}
kleurschema = Math.floor(Math.random() * colors.length);
posLinks = Math.floor(Math.random() * (********.body.clientWidth - 180));
posLinks = (posLinks < 170)? 170: posLinks;
posBoven = Math.floor(Math.random() * (********.body.clientHeight - 180));
posBoven = (posBoven < 170)? 170: posBoven;
straal = 0; uiteen = true; teller = 1; flikkereffect = false;
for(var i = 0; i < 12; i++){
********.getElementsByTagName('shape')[i].setAttribute('fillcolor', colors[kleurschema][0]);
********.getElementById('ster'+i).style.visibility = 'hidden'; // 5.0 fix
********.getElementById('ster'+i).style.left = posLinks;
********.getElementById('ster'+i).style.top = posBoven;
}
********.getElementById('ster0').style.top = (********.body.clientHeight - 20);
********.getElementById('ster0').style.visibility = 'visible';
omhoog();
} catch(e){}
}
function omhoog()
{
try {
positie = parseInt(********.getElementById('ster0').style.top);
if(positie > posBoven){
********.getElementById('ster0').style.top = (positie - 25);
setTimeout('omhoog()', 50);
} else {
for(i = 1; i < 12; i++){
********.getElementById('ster'+i).style.top = positie;
********.getElementById('ster'+i).style.visibility = 'visible';
}
uiteenspatten();
}
} catch(e){}
}
function uiteenspatten()
{
try {
if(straal > 120 && straal % 10 == 0){
flikkereffect = true;
teller = (teller == colors[kleurschema].length)? 0: (teller+1);
}
for(var i = 0; i < 12; i++){
var hoek = i * 30;
var piHoek = Math.PI - Math.PI / 180 * hoek;
var links = posLinks + Math.round(straal * Math.sin(piHoek));
var boven = positie + Math.round(straal * Math.cos(piHoek));
********.getElementById('ster'+i).style.left = links;
********.getElementById('ster'+i).style.top = boven;
if(flikkereffect){
********.getElementsByTagName('shape')[i].setAttribute('fillcolor', colors[kleurschema][teller]);
}
}
if(straal < 160 && uiteen){
straal += (straal < 120)? 10: 5;
setTimeout('uiteenspatten()', 50);
}
else if(straal > 120){
uiteen = false; straal -= 5;
setTimeout('uiteenspatten()', 50);
}
else if(straal <= 120){
for(var i = 0; i < 12; i++){
********.getElementById('ster'+i).style.visibility = 'hidden';
}
aantal++;
setTimeout('begin()', 500);
}
} catch(e) {}
}
window.onload=begin;
</SCRIPT>
***************************
البرق
1- انسخ هذا الكود و ضعه في منطقة الرأس HEAD
كود PHP:
<SCRIPT language=Javascript>
/*****************************************
* Visit our site at http://www.star28.com/ for more code
* This notice must stay intact for use
***********************************************/
<!--
ie4=********.all?1:0;
ns4=********.layers?1:0;
ns5=(********.getElementById && !********.all)?1:0;
function init(){
// Bolt has an aura? (true | false) // takes twice as long to strike
aura=false;
bcolor="white";
acolor="blue";
// Make background color flash? (true | false)
flash=true;
skyNorm="black";
skyFlash="#000050";
if (flash) ********.bgColor=skyNorm;
// nbs = Number of main bolt segments
nbs = 50;
ct=0;
// Font sizes for lightning bolt and aura segments
fsb=shi*.3;
fsf=shi*.2;
fsbi=shi*.2;
fsfi=shi*.12;
fsbii=shi*.12;
fsfii=shi*.07;
xpos=cswi; ypos=0;
if (ns5) ark = ********.getElementById("ark");
if (ns4) {
ol=********.layers["ark"];
ol = new Layer(swi);
ol.left = 0;
ol.top = 0;
ol.height = shi;
ol.zIndex=1;
ol.visibility = "hide";
ret="<STYLE TYPE='text/css'>";
for (i=1;i<10;i++){
ret+="DIV.bolt"+i+" {position:absolute; font-style:'Times New Roman'; font-size:"+(fsf*i/9)+"px; color:"+bcolor+"; visibility:inherit; z-index:1}";
if (aura) ret+="DIV.bolta"+i+" {position:absolute; font-style:'Times New Roman'; font-size:"+(fsf*1.3*i/9)+"px; color:blue; visibility:inherit; z-index:0}";
} ret+="</STYLE>";
for (fs=1;fs<10;fs++)
for (i=1;i<nbs;i++) {
if (aura) ret+="<DIV id=a"+i+"f"+fs+" class=bolta"+fs+">.</DIV>";
ret+="<DIV id=s"+i+"f"+fs+" class=bolt"+fs+">.</DIV>";
}
//ol.********.open();
ol.********.write(ret);
ol.********.close();
}
Time1=setTimeout("mainplot()",100);
}
function mainplot()
{
lang=0;
xpos=Math.random()*cswi+cswi/2; ypos=0; fs=9; fsi=8
deg=Math.random()*30-15+((xpos<cswi)? +15:-15);
jag=Math.round(Math.random()*100)/100;
zag=Math.round(Math.random()*100)/100;
cur=Math.round((.5 * (Math.random()*10-5))*100)/100;
ion=(Math.random()>.5)? 1:-1;
//status=" "+ct+" Divs "+format(jag)+" jag "+format(zag)+" zag "+cur+" curve"; ct=0;
if (ns4)
{
for (i=1;i<nbs;i++) {
ang=Math.random()*jag*90-jag*45;
if (Math.random()+.05>zag) lang=Math.random()*zag*90-zag*45;
ang+=lang;
ct++;
if (Math.random()*10>9.5 && fsi>1) {fsi--; leg1();}
xpos+=Math.sin((deg+(ang+i*cur))/57.3)*(fsf*fs/9)*.07;
ypos+=Math.abs(Math.cos((deg+(ang+i*cur))/57.3)*(fsf*fs/9)*.07); //fsb=fsf*1.5;
if (aura) { ol.********.layers["a"+i+"f"+fs].moveTo(xpos-(fsf*1.3*fs/9)*.125,ypos-(fsf*1.3*fs/9)*.85); ct++;}
ol.********.layers["s"+i+"f"+fs].moveTo(xpos-(fsf*fs/9)*.125,ypos-(fsf*fs/9)*.85);
if (ypos>shi || xpos<0 || xpos>swi) i=nbs;
}
//status=" "+ct+" Divs "+format(jag)+" jag "+format(zag)+" zag "+cur+" curve";
ol.resizeTo(swi,shi);
Time1=setTimeout("light()",100);
}
if (ie4 || ns5) {
// Rewriting layers can be faster than repositioning in internet explorer
ret="";
fsf=shi*.2;
for (i=1;i<nbs;i++)
{
ang=Math.random()*jag*90-jag*45;
if (Math.random()+.05>zag) lang=Math.random()*zag*90-zag*45;
ang+=lang;
ct++;
if (Math.random()*10>9.5) {fsfi=fsf*.6; fsf*=.95; leg1();}
xpos+=Math.sin((deg+(ang+i*cur))/57.3)*fsf*.07;
ypos+=Math.abs(Math.cos((deg+(ang+i*cur))/57.3)*fsf*.07); fsb=fsf*1.3;
if (ypos>shi || xpos<0 || xpos>swi) i=nbs;
if (aura) { ret+="<DIV id='darg"+i+"' style='position:absolute; left:"+(xpos-fsb*.125)+"; top:"+(ypos-fsb*.85)+"; font-size:"+fsb+"px; color:rgb(0,0,255); z-Index:0' >.</DIV>"; ct++;}
ret+="<DIV style='position:absolute; left:"+(xpos-fsf*.125)+"; top:"+(ypos-fsf*.85)+"; font-size:"+fsf+"px; color:"+bcolor+"; z-Index:1' >.</DIV>";
}
//status=" "+ct+" Divs "+format(jag)+" jag "+format(zag)+" zag "+cur+" curve";
ark.innerHTML=ret;
Time1=setTimeout("lightie()",100);
}
}
function leg1() {
xpo=xpos; ypo=ypos;
lang=zag*ion*(30+Math.random()*20-10);
ion*=-1; lang1=0;
deg1=deg+ion*50+Math.random()*20-10;
jlen=Math.random()*nbs*.25+nbs*.25;
if(ns4) {
fsii=fsi-1
for (j=1;j<jlen;j++) {
ang1=Math.random()*jag*90-jag*45;
if (Math.random()+.05>zag) lang1=Math.random()*zag*90-zag*45;
ang1-=lang1;
ct++;
if (Math.random()*10>9.9 && fsii>1) {fsii--; leg2();}
xpo+=Math.sin((deg1+(ang1+j*cur))/57.3)*(fsf*fsi/9)*.07;
ypo+=Math.abs(Math.cos((deg1+(ang1+j*cur))/57.3)*(fsf*fsi/9)*.07);
if (aura) { ol.********.layers["a"+j+"f"+fsi].moveTo(xpo-(fsf*1.3*fsi/9)*.125,ypo-(fsf*1.3*fsi/9)*.85); ct++;}
ol.********.layers["s"+j+"f"+fsi].moveTo(xpo-(fsf*fsi/9)*.125,ypo-(fsf*fsi/9)*.85);
if (ypo>shi || xpo<0 || xpo>swi) j=jlen;
}
}
if (ie4 || ns5) {
ret+="<DIV id='fork'>";
for (j=1;j<jlen;j++)
{
ang1=Math.random()*jag*90-jag*45;
if (Math.random()+.05>zag) lang1=Math.random()*zag*90-zag*45;
ang1-=lang1;
ct++;
if (Math.random()*10>9.9) {fsfii=fsfi*.6; fsfi*=.95; leg2();}
xpo+=Math.sin((deg1+(ang1+j*cur))/57.3)*fsfi*.07;
ypo+=Math.cos((deg1+(ang1+j*cur))/57.3)*fsfi*.07; fsbi=fsfi*1.3;
if (ypo>shi || xpo<0 || xpo>swi) j=jlen;
if (aura) { ret+="<DIV id='arg"+j+"' style='position:absolute; left:"+(xpo-fsbi*.125)+"; top:"+(ypo-fsbi*.85)+"; font-size:"+fsbi+"px; color:rgb(0,0,255); z-Index:0' >.</DIV>"; ct++;}
ret+="<DIV style='position:absolute; left:"+(xpo-fsfi*.125)+"; top:"+(ypo-fsfi*.85)+"; font-size:"+fsfi+"px; color:"+bcolor+"; z-Index:1' >.</DIV>";
}ret+="</DIV>";
}
}
function leg2() {
xp=xpo; yp=ypo;
lang1=zag*ion*(30+Math.random()*20-10);
//ion*=-1;
lang2=0;
deg2=deg1+ion*50+Math.random()*20-10;
klen=Math.random()*nbs/2+nbs/2; // //
if (ns4) {
for (k=nbs/2;k<klen;k++) {
ang2=Math.random()*jag*90-jag*45;
if (Math.random()+.05>zag) lang2=Math.random()*zag*90-zag*45;
ang2-=lang2;
ct++;
xp+=Math.sin((deg2+(ang2+k*cur))/57.3)*(fsf*fsii/9)*.07;
yp+=Math.cos((deg2+ang2)/57.3)*(fsf*fsii/9)*.07;
if (aura) { ol.********.layers["a"+k+"f"+fsii].moveTo(xp-(fsf*1.3*fsii/9)*.125,yp-(fsf*1.3*fsii/9)*.85); ct++;}
ol.********.layers["s"+k+"f"+fsii].moveTo(xp-(fsf*fsii/9)*.125,yp-(fsf*fsii/9)*.85);
if (yp>shi || xp<0 || xp>swi) k=klen;
}
}
if (ie4 || ns5) {
ret+="<DIV id='forki'>";
for (k=nbs/2;k<klen;k++)
{
ang2=Math.random()*jag*90-jag*45;
if (Math.random()+.05>zag) lang2=Math.random()*zag*90-zag*45;
ang2-=lang2;
ct++;
xp+=Math.sin((deg2+(ang2+k*cur))/57.3)*fsfii*.07;
yp+=Math.cos((deg2+(ang2+k*cur))/57.3)*fsfii*.07; fsbii=fsfii*1.3;
if (yp>shi || xp<0 || xp>swi) k=klen;
if (aura) { ret+="<DIV id='arg"+k+"' style='position:absolute; left:"+(xp-fsbii*.125)+"; top:"+(yp-fsbii*.85)+"; font-size:"+fsbii+"px; color:rgb(0,0,255); z-Index:0' >.</DIV>"; ct++;}
ret+="<DIV style='position:absolute; left:"+(xp-fsfii*.125)+"; top:"+(yp-fsfii*.85)+"; font-size:"+fsfii+"px; color:"+bcolor+"; z-Index:1' >.</DIV>";
}
ret+="</DIV>";
}
}
function light()
{ ol.moveTo(pageXOffset,pageYOffset);
ol.visibility = "show";
if (flash) ********.bgColor=skyFlash;
Time2=setTimeout("ning()",(Math.random()*1000+1000));
}
function lightie()
{ ark.style.left=********.body.scrollLeft;
ark.style.top=********.body.scrollTop;
ark.style.visibility = "visible";
if (flash) ********.bgColor=skyFlash;
Time2=setTimeout("ningie()",(Math.random()*500+100));
}
function ning()
{
if (flash) ********.bgColor=skyNorm;
ol.visibility = "hide";
if (Math.random()*3>2) Time2=setTimeout("light()",(Math.random()*500+100));
else {
for (fs=1;fs<10;fs++)
for (i=1;i<nbs;i++) {
if (aura) ol.********.layers["a"+i+"f"+fs].moveTo(-100,-100);
ol.********.layers["s"+i+"f"+fs].moveTo(-100,-100);
}
Time1=setTimeout("mainplot()",(Math.random()*500+100))
}
}
function ningie()
{ ark.style.visibility = "hidden";
if (flash) ********.bgColor=skyNorm;
if (Math.random()*3>2) Time2=setTimeout("lightie()",(Math.random()*500+100)); else Time1=setTimeout("mainplot()",(Math.random()*500+100));
}
function format(f){ f+="";
if (f.charAt(0)==".") f="0"+f;
if (f.length==1) f+=".00";
if (f.length==3) f+="0";
return f;
}
function halt() {
if (Time1) {clearTimeout(Time1); Time1=null;}
if (Time2) {clearTimeout(Time2); Time2=null;}
}
//-->
</SCRIPT>
2- عدل ضمن الوسم BODY ليصبح هكذا
كود PHP:
<body onload="window.focus();init();" onunload="halt();">
3- انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<SCRIPT language=Javascript>
<!--
swi=(ie4)? ********.body.offsetWidth-17:window.innerWidth;
shi=(ie4)? ********.body.offsetHeight-4:window.innerHeight;
cswi=swi/2;
cshi=shi/2;
ret="<DIV id='ark' style='position:absolute; left:0; top:0; width:"+swi+"; height:"+shi+"; visibility:visible; z-index=1; overflow:hidden; clip:rect(0,"+(swi)+","+(shi)+",0)'></DIV>";
********.write(ret);
//-->
</SCRIPT>
**********************************
كود الثلج ممتازززززززززززز
1- انسخ هذا الكود و ضعه في منطقة HEAD
كود PHP:
<STYLE>.drop {
FONT-SIZE: 40px; FILTER: flipV(), flipH(); WIDTH: 3px; COLOR: blue; POSITION: absolute
}
</STYLE>
<SCRIPT language=javascript>
// Rain/Snow effect- By Craig Blanchette Craiga.topcities.com
// Script featured on Dynamic Drive
// Visit our site at http://www.star28.com/ for more code
snow = true; // false-rain; true-snow
snowsym = " * " //These are the symbols for each
rainsym = " ' " //You can put images here.
howmany = 10 //How many drops/snowflakes?
/**************Do not need to change anything below***********/
if(snow){sym = snowsym; speed=1; angle=10; drops=howmany}
else{sym = rainsym; speed=50; drops=howmany; angle=6}
movex = -speed/angle; movey = speed; count = 0;
function moverain(){
for(move = 0; move < drops; move++){
xx[move]+=movex; yy[move]+=mv[move];
hmm = Math.round(Math.random()*1);
if(xx[move] < 0){xx[move] = maxx+10;}
if(yy[move] > maxy){yy[move] = 10;}
drop[move].left = xx[move]
drop[move].top = yy[move]+********.body.scrollTop;
}setTimeout('moverain()','1')}
</SCRIPT>
2- انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
<SCRIPT language=javascript>
if (********.all){
drop = new Array(); xx = new Array(); yy = new Array(); mv = new Array()
ly = "********.all[\'"; st = "\'].style"
for(make = 0; make < drops; make++){
********.write('<div id="drop'+make+'" class=drop>'+sym+'</div>');
drop[make] = eval(ly+'drop'+make+st);
maxx = ********.body.clientWidth-40
maxy = ********.body.clientHeight-40
xx[make] = Math.random()*maxx;
yy[make] = -100-Math.random()*maxy;
drop[make].left = xx[make]
drop[make].top = yy[make]
mv[make] = (Math.random()*5)+speed/4;
drop[make].fontSize = (Math.random()*10)+20;
if(snow){col = 'white'}else{col = 'blue'}
drop[make].color = col;
}
window.onload=moverain
}
</SCRIPT>
*************************
حماية صفحة بكلمة سر ************ حماية صفحة بكلمة سر
انسخ هذا الكود و ضعه في المكان الذي تريده في منطقة BODY
كود PHP:
**********
function passWord() {
var testV = 1;
var pass1 = prompt('يرجى ادخال الرقم السري',' ');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "ضع هنا كلمة السر") {
*****('تم قبول الرقم السري');
window.open('ضع هنا عنوان الصفحة المحمية');
break;
}
testV+=1;
var pass1 =
prompt('لا يمكن دخولك - الرقم السري خاطئ, يرجى إعادة المحاولة','ادخل هنا الرقم السري');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return " ";
}
</SCRIPT>
<CENTER>
<FORM target="_self">
<input type="button" value="اضغط هنا لدخول الصفحة المحمية" onClick="passWord()">
</FORM>
</CENTER>
************************************
رجل يظهر و يرحب بك عند فتح الصفحة
1- تأكد من وجود هذا السطر في رأس الصفحة قبل الهد
كود PHP:
<META http-equiv="*******-Type" *******="text/html; charset=windows-1256">
***********************************
مع تحياتي لكم بالنجاح والتوفيق والابداع في عمل الاندكسات ....
ملاحظة : لا ترهق صفحتك بالكثير من أكواد الجافا حتى تعمل بالشكل المطلووب ...
HaCkEr BY MATRX HAiL
hwku hv,,u hk];s ohw td; lu hvv,,u h;,h] [hth !!! lhjv;s phzg