Topic: Ani Script (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=13838" title="Pages that link to Topic: Ani Script (Page 1 of 1)" rel="nofollow" >Topic: Ani Script <span class="small">(Page 1 of 1)</span>\

 
Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 09-09-2002 20:11
code:
<HTML>
<HEAD>
<TITLE>DBob's Swinging Sign</TITLE>
<SCRIPT language="Javascript">


photoS = new Array(3);
for(i=0; i<=3; i++){
photoS[i] = new Image();
}
photoS[0].src = "images/pho1.gif";
photoS[1].src = "images/pho2.gif";
photoS[2].src = "images/pho3.gif";

window.status = "Preloading complete.";
var timer = false;
st2=0;

function aniup(set, start){
if (timer) clearTimeout(timer);
document.images['photo'].src = photoS[start].src;
st2 = start + 1;
window.status = set + st2;
if (photoS[st2].src){
timer = setTimeout("aniup('photo',st2)",100);
} else {
anidn('photo',start);
}
}

function anidn(set, start){
if (timer) clearTimeout(timer);
document.images['photo'].src = photoS[start].src;
st2 = start - 1;
window.status = set + st2;
if (st2 >= 0){
timer = setTimeout("anidn('photo',st2)",100);
}
}

</SCRIPT>
</HEAD>
<BODY bgcolor="#999999">
By the way, the pics we want to use are: "pho1.gif", "pho2.gif", "pho3.gif"...<BR>
<IMG SRC="images/pho1.gif"><IMG SRC="images/pho2.gif"><IMG SRC="images/pho3.gif">
<BR> [url=http://www.ozoneasylum.com/Forum2/HTML/001717.html]http://www.ozoneasylum.com/Forum2/HTML/001717.html[/url] [url=http://www.ozoneasylum.com/Forum2/HTML/001665.html]http://www.ozoneasylum.com/Forum2/HTML/001665.html[/url] [url=http://www.ozoneasylum.com/Forum2/HTML/001720.html]http://www.ozoneasylum.com/Forum2/HTML/001720.html[/url]
<BR><BR>

<A HREF="#" ONMOUSEOVER="aniup('photo',0);"><IMG ID="photo" SRC="images/pho1.gif" border=0></A>

</BODY>
</HTML>




Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 09-21-2002 14:36

why the hell do you post code in here?

it has absolutely nothing to do with this forum.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu