Your future informatic and technology...

Your IP

IP

Gambar di Mouse

0

<script
language="JavaScript1.2">
<!--


var
trailLength = 8 // The length of trail (8 by default; put more for
longer "tail")
var path = "TN_psd0810.JPG" // URL of your
image

// do NOT modify anything beyond this
point
var isIE = false,isNav = false,range = "all.",style =
".style",i,d = 0
var topPix = ".pixelTop",leftPix =
".pixelLeft",images,storage
if (document.layers) { // browser
sniffer
    isNav = true,range =
"layers.",style = "",topPix = ".top",leftPix = ".left"
} else
if (document.all) {
    isIE =
true
}
function initTrail() { // prepares the
script
    images = new Array() //
prepare the image array
    for (i
= 0; i < parseInt(trailLength); i++)
{
   
    images[i] = new
Image()
   
    images[i].src =
path
   
}
    storage = new Array() //
prepare the storage for the
coordinates
    for (i = 0; i
< images.length*3; i++)
{
   
    storage[i] =
0
   
}
    for (i = 0; i <
images.length; i++) { // make divs for IE and layers for
Navigator
   
    (isIE) ? document.write('<div
id="obj' + i + '"
style="position: absolute; z-Index: 100; height: 0; width:
0"><img src="' + images[i].src +
'"></div>') :
document.write('<layer name="obj' + i + '" width="0" height="0"
z-index="100"><img src="' + images[i].src +
'"></layer>')
   
}
   
trail()
}
function trail() { // trailing
function
    for (i = 0; i <
images.length; i++) { // for every
div/layer
   
    eval("document." + range + "obj" + i +
style +
topPix + "=" + storage[d]) // the
Y-coordinate
   
    eval("document." + range + "obj" + i +
style +
leftPix + "=" + storage[d+1]) // the
X-coordinate
   
    d =
d+2
   
}
    for (i = storage.length; i
>= 2; i--) { // save the coordinate for the div/layer that's
behind
   
    storage[i] =
storage[i-2]
   
}
    d = 0 // reset for future
use
    var timer =
setTimeout("trail()",10) // call recursively

}
function processEvent(e) { // catches and
processes the mousemove event
   
if (isIE) { // for IE
   
    storage[0] =
window.event.y+document.body.scrollTop+10
   
    storage[1] =
window.event.x+document.body.scrollLeft+10
   
} else { // for Navigator
   
    storage[0] =
e.pageY+12
   
    storage[1] =
e.pageX+12
   
}
}
if (isNav)
{
   
document.captureEvents(Event.MOUSEMOVE) // Defines what events to
capture for Navigator
}
if (isIE || isNav) { //
initiates the script
   
initTrail()
   
document.onmousemove = processEvent // start
capturing
}
//-->
</script>
/>Sumber dari situs href="http://www.ilmuwebsite.com">Ilmu Website dalam
kategori href="http://www.ilmuwebsite.com/javascript/">javascript
dengan judul href="http://www.ilmuwebsite.com/detil_javascript/4/Gambar_di_Mouse/">Gambar
di Mouse

Tulisan Matrix

0
-------
Script ini hanya jalan di Internet
Explorer
-------

contoh buka:
http://www.ilmuwebsite.com/javascript/javascript-matrix.htm

<html>
<head>
</head>
<body
bgcolor="#000000">
<STYLE
type=text/css>#supertext
{
    LEFT: 0px; VISIBILITY:
hidden; POSITION: absolute; TOP:
0px
}
</STYLE>

<SCRIPT
language=JavaScript1.2>

//Configure the below
three variables

//1) Set message to display (HTML
accepted)
var thecontent='<h2><font
face="Courier New" font size="5" color="#00FF00">ilmuwebsite.com
- Webmaster
Resource</font></h2>'
//2) Set
delay after which message should be hidden, in miliseconds ('' makes it
incessantly visible on the screen)
var
hidetimer='';
//3) Set speed of animation (1-50), where larger
is faster
var BallSpeed =
20;



///NO NEED TO EDIT BELOW
THIS LINE///////////

var contentWidth;
var
contentHeight;
var maxBallSpeed =
50;


var xMax;
var
yMax;
var xPos = 0;
var yPos = 0;
var xDir =
'right';
var yDir = 'down';
var superballRunning =
true;
var tempBallSpeed;
var
currentBallSrc;
var newXDir;
var
newYDir;

function initializeBall()
{
   if (document.all)
{
      xMax =
document.body.clientWidth
     
yMax =
document.body.clientHeight
     
document.all("supertext").style.visibility =
"visible";
     
contentWidth=supertext.offsetWidth
     
contentHeight=supertext.offsetHeight
     
}
   else if (document.layers)
{
      xMax =
window.innerWidth;
     
yMax =
window.innerHeight;
     
contentWidth=document.supertext.document.width
     
contentHeight=document.supertext.document.height
     
document.layers["supertext"].visibility =
"show";
     
}
  
setTimeout('moveBall()',400);
   if
(hidetimer!='')
  
setTimeout("hidetext()",hidetimer)
  
}

function moveBall()
{
   if (superballRunning == true)
{
     
calculatePosition();
     
if (document.all)
{
        
document.all("supertext").style.left = xPos +
document.body.scrollLeft;
        
document.all("supertext").style.top = yPos +
document.body.scrollTop;
        
}
      else if
(document.layers)
{
        
document.layers["supertext"].left = xPos +
pageXOffset;
        
document.layers["supertext"].top = yPos +
pageYOffset;
        
}
     
animatetext=setTimeout('moveBall()',20);
     
}
   }

function
calculatePosition() {
   if (xDir ==
"right") {
     
if (xPos > (xMax - contentWidth - BallSpeed)) {

        
xDir =
"left";
        
}
     
}
   else if (xDir == "left")
{
      if (xPos
< (0 + BallSpeed))
{
        
xDir =
"right";
        
}
     
}
   if (yDir == "down")
{
      if (yPos
> (yMax - contentHeight - BallSpeed))
{
        
yDir =
"up";
        
}
     
}
   else if (yDir == "up")
{
      if (yPos
< (0 + BallSpeed))
{
        
yDir =
"down";
        
}
     
}
   if (xDir == "right")
{
      xPos =
xPos +
BallSpeed;
     
}
   else if (xDir == "left")
{
      xPos =
xPos -
BallSpeed;
     
}
   else
{
      xPos =
xPos;
     
}
   if (yDir == "down")
{
      yPos =
yPos +
BallSpeed;
     
}
   else if (yDir == "up")
{
      yPos =
yPos -
BallSpeed;
     
}
   else
{
      yPos =
yPos;
     
}
   }

function
hidetext(){
if
(document.all)
supertext.style.visibility="hidden"
else
if
(document.layers)
document.supertext.visibility="hide"
clearTimeout(animatetext)
}

if
(document.all||document.layers){
document.write('<span
id="supertext"><nobr>'+thecontent+'</nobr></span>')
window.onload
= initializeBall;
window.onresize = new
Function("window.location.reload()");
}

</SCRIPT>

<SCRIPT
language=JavaScript>

if
(document.all){

Cols=22;

Cl=18;
//Peþpeþe geliþ mesafeleri!

Cs=110; //Sayfaya enine
yayýlýþ mesafeleri!

Ts=12; //Rakamlarýn
büyüklükleri!

Tc='#00FF00';//Renk

Tc1='#00FF00';//Renk1


MnS=22; //Akýþ hýzlarý!

MxS=50;
//Akýþ hýzlarý!

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,7,9,3,2);

document.write("<div
id='Container'
style='position:absolute;top:0;left:-"+Cs+"'>");

document.write("<div
style='position:relative'>");

for(i=0; i
< Cols;
i++){

S[i]=I+=Cs;

document.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>");

}

document.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.document.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.document.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>
</body>
</html>
/>Sumber dari situs href="http://www.ilmuwebsite.com">Ilmu Website dalam
kategori href="http://www.ilmuwebsite.com/javascript/">javascript
dengan judul href="http://www.ilmuwebsite.com/detil_javascript/12/Tulisan_Matrix/">Tulisan
Matrix

Klik Kanan Gempa

0
-------
Script ini hanya jalan di Internet
Explorer

Jika anda klik kanan maka browser akan
bergetar !!
-------

contoh buka:
http://www.ilmuwebsite.com/javascript/klik-gempa.htm

<html>
<head>
</head>
<body
bgcolor="#000000">

<SCRIPT
language=JavaScript>
<!--inizio-----mess per
copiare

document.onmousedown=click
function
click() {
times2=0
if ((event.button==2) ||
(event.button==3))
{
alert("Jangan klik kanan
!!");
shake(20)
}
}
function
shake(n) {
if (parent.moveBy) {
for (i = 20; i
> 0; i--) {
for (j = n; j > 0; j--)
{
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
        
}
     
}
   }
}
//fine
copia-->
</SCRIPT>

</body>

</html>
/>Sumber dari situs href="http://www.ilmuwebsite.com">Ilmu Website dalam
kategori href="http://www.ilmuwebsite.com/javascript/">javascript
dengan judul href="http://www.ilmuwebsite.com/detil_javascript/10/Klik_kanan_Gempa/">Klik
kanan Gempa

Gambar Bergerak

0

<html>
<head>
</head>

<body
bgcolor="#000000">
<SCRIPT
LANGUAGE="JavaScript">

document.write(screen.width
+ " x " + screen.height)
<!-- ONE STEP TO INSTALL
BOUNCING IMAGE:

  1.  Copy the
coding into the BODY of your HTML document 
-->

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


<div
id="img" style="position:absolute;">
<img
src="TN_psd0810.JPG" onMouseDown="pauseResume();" width="171"
height="158">
</div>

<SCRIPT
LANGUAGE="JavaScript">
<!-- Original: 
Justin Arruda (JArruda@mindspring.com)
-->

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

<!-- Begin
var step =
1;
var delay = 30;
var height = 0;
var
Hoffset = 0;
var Woffset = 0;
var yon =
0;
var xon = 0;
var pause = true;
var
interval;
var name = navigator.appName;
if(name ==
"Microsoft Internet Explorer") name = true;
else name =
false;
var xPos = 20;
if(name) var yPos =
document.body.clientHeight;
else var yPos =
window.innerHeight;
function changePos() {
if(name)
{
width = document.body.clientWidth;
height =
document.body.clientHeight;
Hoffset =
img.offsetHeight;
Woffset =
img.offsetWidth;
img.style.left = xPos +
document.body.scrollLeft;
img.style.top = yPos +
document.body.scrollTop;
}
else {
height =
window.innerHeight;
width =
window.innerWidth;
Hoffset =
document.img.clip.height;
Woffset =
document.img.clip.width;
document.img.pageY = yPos +
window.pageYOffset;
document.img.pageX = xPos +
window.pageXOffset;
}
if (yon) {
yPos = yPos
+ step;
}
else {
yPos = yPos -
step;
}
if (yPos < 0) {
yon =
1;
yPos = 0;
}
if (yPos >= (height -
Hoffset)) {
yon = 0;
yPos = (height -
Hoffset);
}
if (xon) {
xPos = xPos +
step;
}
else {
xPos = xPos -
step;
}
if (xPos < 0) {
xon =
1;
xPos = 0;
}
if (xPos >= (width -
Woffset)) {
xon = 0;
xPos = (width -
Woffset);
   }
}
function
start() {
if(name) img.visibility = "visible";
else
document.img.visibility = "visible";
interval =
setInterval('changePos()',delay);
}
function
pauseResume() {
if(pause)
{
clearInterval(interval);
pause =
false;
}
else {
interval =
setInterval('changePos()',delay);
pause =
true;
  
}
}
start();
//  End
-->
</script></body>

</html>
/>Sumber dari situs href="http://www.ilmuwebsite.com">Ilmu Website dalam
kategori href="http://www.ilmuwebsite.com/javascript/">javascript
dengan judul href="http://www.ilmuwebsite.com/detil_javascript/6/Gambar_Bergerak/">Gambar
Bergerak