Closed Thread Icon

Preserved Topic: Doc Ozone's Image Swap JS generator (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=15881" title="Pages that link to Preserved Topic: Doc Ozone&amp;#039;s Image Swap JS generator (Page 1 of 1)" rel="nofollow" >Preserved Topic: Doc Ozone&#039;s Image Swap JS generator <span class="small">(Page 1 of 1)</span>\

 
Blitzkrieg
Bipolar (III) Inmate

From:
Insane since: Apr 2000

posted posted 03-20-2001 22:08

Hey Doc.. I had a little extra time so I made this script quickly:
http://www.designinghelp.com/utilities/imageswap.php

I didn't actually "finish" it... but with whats there it should work...

Anyway... just wanted to check if it's alright for me to post it on my site (I'll add a thing saying Script based on Doc Ozone's JS ImageSwap... www.ozones.com" or something.

-Blitzkrieg

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 03-20-2001 23:24

Whoa! That is *super* I just love the concept! I had some plan like this in my future, but it kept getting put off, and probably would for some time to come. I actually have a more streamlined version of this script, designed so that it will work with all browsers that can do this stuff and should be *much* easier for folks to go in and do some hand-coded changes. Drop me an email and I'll supply you with the most current neat-o rollover script I have and you can add it in, I'll even link to it from Hands-on, cool?

Your pal, -doc-

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 03-20-2001 23:34

Ah! OK, when you define the image array of names, you need to eliminate the last comma, it will cause an error.

Your pal, -doc-

Blitzkrieg
Bipolar (III) Inmate

From:
Insane since: Apr 2000

posted posted 03-20-2001 23:36

Haha, before I wrote the script I remembered thinking I need to do that (but forgot to)... hehe... Well, I'll do that in a few minutes

-blitzkrieg

Blitzkrieg
Bipolar (III) Inmate

From:
Insane since: Apr 2000

posted posted 03-21-2001 00:02

Ok, I fixed the problem... should work now ... still gotta do some testing of the script (not to mention clean it up.. the coding is messy)...

All fields are required except the "status". Also You cannot scip an image (say you select 3 images to generate but only filled out the 1st and 3rd one... then it won't work.. but if you do only the 1st and 2nd ones, nott the 3rd, it will work... if you do all, of course it will work)

-Blitzkrieg

bunchapixels
Neurotic (0) Inmate
Newly admitted
posted posted 03-21-2001 00:36

here's the easiest method i know, it just relies on a tidy naming convention...
function doMouseOver(picture){
document.images[picture].src = picture + '_over.gif'
}
function doMouseOut(picture){
document.images[picture].src = piture + '.gif'
}

and the picture is:
<img name = 'mypic' src='mypic.gif' border=0 onmouseover="doMouseOver('mypic')" onMouseOut="doMouseOut('mupic')">

so yeah.
workslikacharm!

Blitzkrieg
Bipolar (III) Inmate

From:
Insane since: Apr 2000

posted posted 03-21-2001 00:40

bunchapixels: 2 problems though..

1) people can't name the image whatever they want
2) doesn't preload the image

-Blitzkrieg

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 03-21-2001 01:06

That's pretty slick Blitz - nice work.

Would you guys consider letting this be used as part of the Gurus Network as well? It would fit into our 'Utilities' section of the tutorial area very well.

Blitzkrieg
Bipolar (III) Inmate

From:
Insane since: Apr 2000

posted posted 03-21-2001 01:18

DL-44 of course (if Doc allows it). Though wish I could become a member of the guruz (hehe.. I submitted that form a while back.. but never got any e-mail or anything.... though I am a moderator on the forum)

-Blitzkrieg

[This message has been edited by Blitzkrieg (edited 03-21-2001).]

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 03-21-2001 05:25

That would be a great addition to the Gurus Network!

Pat Richard
A pixel is worth a thousand words.
http://www.gurusnetwork.com
ICQ 23113317

mahjqa
Maniac (V) Mad Scientist

From: The Demented Side of the Fence
Insane since: Aug 2000

posted posted 03-21-2001 13:08

Nicely done, Blitzkrieg! *applauds*

Allewyn
Maniac (V) Mad Scientist

From: Solitary confinement
Insane since: Feb 2001

posted posted 03-23-2001 17:41

Blitzkrieg,
That's pretty sweet! Is it downloadable?

Blitzkrieg
Bipolar (III) Inmate

From:
Insane since: Apr 2000

posted posted 03-23-2001 20:37

No it's not downloadable (PHP is server side)... though eventually I might make it in C++, TCL, or something like that... then it would be downloadable (though right now, don't think it's that hard to goto a webpage to use it...)

-Blitzkrieg

Allewyn
Maniac (V) Mad Scientist

From: Solitary confinement
Insane since: Feb 2001

posted posted 03-23-2001 21:37

Not at all, just wondering...

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 03-24-2001 03:12

Very cool Blitz, It's a bookmark on my system.

Thanks

Blitzkrieg
Bipolar (III) Inmate

From:
Insane since: Apr 2000

posted posted 03-24-2001 03:54

"Bookmark on my system" 4 of the best words for a webdesigner to hear More cool shit to come.

-Blitzkrieg

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 03-24-2001 20:00

oohh.... me make page knowing nothing bout it now!

that really is rockin though!

« BackwardsOnwards »

Show Forum Drop Down Menu