babble-digest Friday, January 16 1998 Volume 01 : Number 139

In this issue:
Re: actual question.. duel...(hava-script)
Re: TECH: random images with JS
creative play
Re: TECH: random images with JS
RE: javascript rollover images across frames?

----------------------------------------------------------------------

Date: Thu, 15 Jan 1998 21:27:05 -0800
From: jEsTeR <jester@sweetillusions.org>
Subject: Re: actual question.. duel...(hava-script)

i wanted to post this to the list as a public thank you to porter the
javascripting pimp daddy.

you rock.

except for not doing it with the actual images, its *exactly* what i was
talking about.

i couldnt have made it better myself if i knew how.

... i knew it was complex.. thats what intrigued me, that something seeming
so simple was so difficult to achieve.

my respect is yours my friend... tooche (hehe)

my kind regards,

ps. all references to "pimps" "havascript" and baby selling are purely for
an injection of humor in an otherwise wonderful list, and should have no
reflection of moral corruptness on the sender (me) the reciever (you all)
and anyone in between. i appreciate your guys' thoughts, and the issues
discussed here.. other than "where to find a good/cheap/free counter for my
new webpage that i just made in frontpage!" hehe.. :D

 

 

At 08:44 PM 1/15/98 -0500, Porter Glendinning wrote:
>En Garde!
>
>I've posted a solution at:
> http://www.serve.com/apg/babble/statusBar/
>
>It doesn't exactly use the images themselves as the status bar, but it
>works. Let me know what you think.
>
>It's actually a more complex issue than you'd think, involving protecting
>resources and race conditions. D'oh! There goes my CompSci degree
>overwhelming my DramArts degree again. Let's just say it's not a trivial
>problem.
>
>I tried to comment the code well, but if it doesn't make sense, let me know.
>
>- Porter
>
>At 10:09 AM 1/15/98 -0800, jEsTeR wrote:
>>heya all..
>>
>>i have been thinking about something. consider it a duel.
>>
>>the whole issue of preloading images via the 1x1 pixel idea taken to
>>extreme would be to make a status bar out of the pictures loading
themselves.
>>
>>dr ozone had a page that did something like this.. but not using the images
>>i believe.
>>
>>we worked a lil on this at work... and couldnt get them to load them
>>sequencially in order...
>>
>>http://www.mcic.net/~allen/tr2/test.html
>>
>>take a look if you are interested.. and let me know if there is already
>>something like this laying around, or if you decide to bust it out real
>quick.
>>
>>i dunno about any kind of soul offering of child giving. but, i'll think
>>youre really cool, and you will get to see it in action on my page :D
>>
>>thanx again.
>>
>> -- jEsTeR
>>
>> www.sweetillusions.org
>> == ================================= === ==
>> jester@sweetillusions.org
>> == ================================= === ==
>> whatever is not nailed down is mine;
>> what i can pry loose, is not nailed down
>
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Porter Glendinning pglendinning@cen.com
> WWW Developer http://www.serve.com/apg/
>
>
>..H5 Babble Design List Info: http://www.highfive.com/h5/babble.html
>..To unsubscribe, send the following one line to majordomo@highfive.com:
>."unsubscribe (babble or babble-digest) (e-mail address)"
>
>

-- jEsTeR

www.sweetillusions.org
== ================================= === ==
jester@sweetillusions.org
== ================================= === ==
whatever is not nailed down is mine;
what i can pry loose, is not nailed down
..H5 Babble Design List Info: http://www.highfive.com/h5/babble.html
..To unsubscribe, send the following one line to majordomo@highfive.com:
.."unsubscribe (babble or babble-digest) (e-mail address)"

------------------------------

Date: Thu, 15 Jan 1998 22:22:47 -0800
From: Jason Harris <jason@meniscusdesign.com>
Subject: Re: TECH: random images with JS

Thanks a million Porter, it now works like a charm! I've added
pre-caching so that the random images pop up faster. If anyone else
would like to see the working version of this, point your browser to:
http://www.meniscusdesign.com/test/randomimage.html I think a lot of
fresh splash pages are to be had!

- -Jason
Meniscus Interactive
http://www.meniscusdesign.com

 

 

Porter Glendinning wrote:
>
> Jason,
>
> The reason all you're getting is the file name is because that's all the
> document.write command is being told to write. You have this:
>
> document.write(image[rand(image.length)])
>
> Which takes the string stored in one of the image array slots, and writes
> it. What you want is to embed this string in an IMG tag so that the call to
> document.write() will write an image tag into the page, like this:
>
> document.write('<IMG SRC="' + image[rand(image.length)] + '">')
>
> This will result in a string, such as '<IMG SRC="../newphotos/4.jpg">'
> being inserted into your page code wherever the call to document.write() is
> placed.
>
> By the way, if anyone out there ever wants to see inline code like this
> that writes parts of the page, make sure you turn off JavaScript in your
> browser before visiting the page. Otherwise, all you see when you do a
> "View Source" is the text that the script printed, not the script itself.
>
> Hope this helps. :)
> - Porter
>
> At 02:42 PM 1/15/98 -0800, Jason Harris wrote:
> >Hopefully Porter, Joe, or one of our other resident JS experts can point
> >out a quick fix for this one: I am developing a test page at
> >http://www.meniscusdesign.com/test/randomimage.html to serve up a random
> >image from a JS array so that I can copy & paste this function into
> >pages that need it later. I've used Nick Heinle's random array script
> >from webcoder.com to accomplish the random parsing, but the only problem
> >is that it only works with TEXT objects, no matter how I've tinkered
> >with it it writes the url of the image not the image itself.
> >Is this because that's all the document.write function does? Or is there
> >something else at work here? Any help would be much appreciated.
> [snip]
>
> +--------------------------+--------------------------+
> | Porter Glendinning | Century Computing, Inc. |
> | WWW Developer | 8101 Sandy Spring Rd. |
> | | Laurel, MD 20707 |
> | http://www.cen.com | T: 301-953-3330 |
> | pglendinning@cen.com | F: 301-953-2368 |
> +--------------------------+--------------------------+
..H5 Babble Design List Info: http://www.highfive.com/h5/babble.html
..To unsubscribe, send the following one line to majordomo@highfive.com:
.."unsubscribe (babble or babble-digest) (e-mail address)"

------------------------------

Date: Fri, 16 Jan 1998 01:47:23 -0500 (EST)
From: Jeffrey Zeldman <jeffrey@zeldman.com>
Subject: creative play

jEsTeR wrote:
>the whole issue of preloading images via the 1x1 pixel idea taken to
>extreme would be to make a status bar out of the pictures loading themselves.
>
>http://www.mcic.net/~allen/tr2/test.html

 

i love this!

it uses the medium itself as the art -- instead of trying to shove
art into the medium. only someone immersed in the workings of the web would
come up with something this twisted -- and innovative. hope it sparks ideas
in other designers here. sure got me juiced.

i'll take one of these over a javascript debugging tip any day. not
that we don't need javascript debugging tips, and not that sharing useful
information isn't part of this list's mission.

it's just that we spend so much time in "client service" mode, we
can forget why we do this and what we love about it.

i want to thank jester for thinking outside the box, and reminding
us to do likewise. it takes courage to drop the "busy professional" mask
and just *play.*

______jeffrey zeldman presents__________________________

furbo filters for graphic and web designers:
http://www.furbo-filters.com

a list apart (one daily digest for people who make websites):
http://www.zeldman.com/advanced/

_________________________ http://www.zeldman.com _______

 

 

..H5 Babble Design List Info: http://www.highfive.com/h5/babble.html
..To unsubscribe, send the following one line to majordomo@highfive.com:
.."unsubscribe (babble or babble-digest) (e-mail address)"

------------------------------

Date: Fri, 16 Jan 1998 00:26:42 -0800
From: "Michael Liu" <mliu@compellingimages.com>
Subject: Re: TECH: random images with JS

> If anyone else would like to see the working version of this,
> point your browser to:
> http://www.meniscusdesign.com/test/randomimage.html
> I think a lot of fresh splash pages are to be had!

 

Nice photos Jason! Of course MSIE3.02 gives the following Jscript error on
page load/refresh:

Microsoft JScript runtime error
[Line: 65] 'Image' is undefined

Other than the error message, everything looks and works fine.

Regards,

Michael Liu
..H5 Babble Design List Info: http://www.highfive.com/h5/babble.html
..To unsubscribe, send the following one line to majordomo@highfive.com:
.."unsubscribe (babble or babble-digest) (e-mail address)"

------------------------------

Date: Fri, 16 Jan 1998 09:33:30 +0100
From: Raoul Cannemeijer <Raoul.Cannemeijer@fantastic.ch>
Subject: RE: javascript rollover images across frames?

Hi Matt,

I made a mouseover over a navigation that triggers images in different
frames.
Take a look at:

http://www.freestyle.ch/carhartt/

It's triggering images now, but that could also be style-parameters for
textual information.
Hope this can help you with your problem.

Cu

Raoul

The Fantastic CorporationTM
- - first in broadband multimedia -

Bahnhofstrasse 12
P.O. Box 1350
CH-6301 Zug, Switzerland
Tel. +41-41-728 88 83
Fax +41-41-728 88 12
Raoul.cannemeijer@fantastic.ch
www.fantastic.ch

Zug - New York - London - Singapore - Lugano

 

 

-----Original Message-----
From: Matthew Haughey [SMTP:haughey@ssc.ucla.edu]
Sent: Freitag, 16. Januar 1998 04:52
To: babble@highfive.com
Subject: javascript rollover images across frames?

I'm wondering if I could get "informative" images to pop up in
another
frame when user mouses over a toolbar link in another frame. I'm
not sure
if I have ever seen it before, so I'm sure how to attempt the
path syntax.
Can I put named windows in onmouseover arguements?

Matthew

..H5 Babble Design List Info:
http://www.highfive.com/h5/babble.html
..To unsubscribe, send the following one line to
majordomo@highfive.com:
."unsubscribe (babble or babble-digest) (e-mail address)"
..H5 Babble Design List Info: http://www.highfive.com/h5/babble.html
..To unsubscribe, send the following one line to majordomo@highfive.com:
.."unsubscribe (babble or babble-digest) (e-mail address)"

------------------------------

End of babble-digest V1 #139
****************************

Previous | ToC | Next

  1