Closed Thread Icon

Topic awaiting preservation: Swap Images Again.... Pages that link to <a href="https://ozoneasylum.com/backlink?for=7849" title="Pages that link to Topic awaiting preservation: Swap Images Again...." rel="nofollow" >Topic awaiting preservation: Swap Images Again....\

 
Author Thread
Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 09-18-2001 23:26

Hello, i'm using Doc's swap script, and i could make one image change in any mouse over, now i want to make "BOTH" images to change when the mous is over any of the BOTH images:

I got this:
<SCRIPT LANGUAGE="JavaScript">
<!--DocOzone's Javascript code, copyright 1998
// Feel free to borrow and modify this code,
// but be sure leave this credit in the source!
// Your pal, -Dr. Thaddeus Ozone-
// .http://www.ozones.com/

window.onerror=null;
// that was to turn off error reporting...

if (document.images) {
names = new Array( "zero" , "one" , "two" , "three" , "four" , "five" , "six" );
buttons = new Array(14);
for (m=0; m<=13; m++) {
buttons[m] = new Image(); }
buttons[0].src = "images/logo_03.gif";
buttons[1].src = "images/logo_05.gif";
buttons[2].src = "images/logo_07.gif";
buttons[3].src = "images/logo_13.gif";
buttons[4].src = "images/logo_16.gif";
buttons[5].src = "images/logo_19.gif";
buttons[6].src = "images/logo_22.gif";
buttons[7].src = "images/logo2_03.gif";
buttons[8].src = "images/logo2_05.gif";
buttons[9].src = "images/logo2_07.gif";
buttons[10].src = "images/logo2_13.gif";
buttons[11].src = "images/logo2_16.gif";
buttons[12].src = "images/logo2_19.gif";
buttons[13].src = "images/logo2_22.gif";
}
function swap(des,num) {
if (document.images) {
document.images[names[des]].src = buttons[num].src; }}

// close the comment tag, this hides the script from really old browsers! -->
</SCRIPT>

And the Body:

<A HREF="#" onMouseover="swap(0,7)"
onMouseout="swap(0,0)">
<IMG SRC="images/services.gif" WIDTH="57" HEIGHT="9" BORDER="0" NAME="global" ></A><br>
<A HREF="#" onMouseover="swap(0,7)"
onMouseout="swap(0,0)"><IMG NAME="zero" SRC="images/Logo_03.gif" WIDTH=33 HEIGHT=33 BORDER="0"></A></TD>

This change 1 image when mouse is over any of the images, i want both to change, i have tried any combination, but i dunno where's the problem....

Thanks


.-rotate script by Mr.Max

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-18-2001 23:53

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 09-19-2001 00:12

Hey!! i thought adding two swaps, but never did it

Thank you very Much Ini!!!!

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 09-19-2001 00:34

Ok, now we need to corect one stuff Ini:
The mouse out: make it swap(0,0); Swap(7,7) so the images get restored...

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-19-2001 00:41

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 09-19-2001 00:48

You see? I'm Learning!!!

Thanks!

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-19-2001 01:01

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 09-19-2001 01:46

Oh yeah, that's one of my favorites! The really coolest part of that one was not the code, which is getting to be pretty much "old hat" by now, but the images - blurring and saving the in-between images at lowest quality makes it tiny and even slicker looking, woo! (See http://www.ozones.com/telcentral/anime-howto.html for more on this.) Another really basic version of the multi-rollover is always at http://www.ozones.com/flourish.html - it's painfully simple and works in nearly every browser out there, 3.x up to 6.x, gotta love that!

Your pal, -doc-



[This message has been edited by DocOzone (edited 09-19-2001).]

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 09-19-2001 02:01

Yeah!! I have seen those and the first one is really crazy!! like it!
I'm learning those little stuff, I was practicing with Flourish, and step by step we are on the way!!

Thank you guys!

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 09-19-2001 02:32

LOL! Wakkos, I just saw the [This message has been edited by...] sig, that was great, you really had me going for a minute! Thanks for the chuckle.

Your pal, -doc-

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 09-19-2001 02:53

Yeah!! i'll be adding more people soon, or rotating to avoid a slow loading, Glad you liked it!

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 09-19-2001 08:12

He he... That's a very cool sig, Wakkos!

« BackwardsOnwards »

Show Forum Drop Down Menu