Preserved Topic: Image caching for mouseover |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 04-13-2000 17:01
Greetings!<P>I am attempting to make heads or tails out of mouseovers, and I think I have it figured out. But I am getting erratic behavior with the ONMOUSEOVER images. When I view the test page at http://www.runningwolf.com/runningwolf4.com/index4.htm (an orb interface I borrowed for learning) from my work machine, it works fine, and it doesn't appear to be grabbing the images from the server each time I mouseover. But from my home machine, it does, and causes a noticeable lag. I'm not doing any array caching (only cuz I don't understand how to do it, especially with tying it into my mouseover). Can someone point to a good tute on how to do it easily (I'm java challenged)? I'm sure some of the lunatics and madmen out here will point me in the right direction....... :-) <P>Pat Richard |
Maniac (V) Inmate From: under the bed |
posted 04-13-2000 19:03
very conveniently located at http://www.ozones.com/handson/HTML/javascript.html |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 04-14-2000 02:14
Well, this is a little more complex than I was looking for. Can I separate the caching from the mouseover and just call the cached images from my existing script?<P>Doc's tute is cool, but it's doing more with the three images than I need, and it seems like a lot of code just to cache them. My mouseover code already works well.<P>No complaints, just, if there's anything a little more basic, that would be great.<P>Pat Richard |
Maniac (V) Inmate From: under the bed |
posted 04-14-2000 06:30
Realistically, with cross-browser concerns and the rapidly changing nature of things, it doesn't get much more basic than that. Not if you want to make sure that it works correctly. Of course, someone more experienced with Javascript than i am may be able to offer something a little slimmer. Anyone? |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 04-17-2000 19:01
Okay, I pretty much figured things out with some help from Bitdamaged. I setup a test page at http://www.runningwolf.com/runningwolf4.com that uses the caching and calls them from the javascript for mouseover. Next thing I gotta figure out is how to call the ORIGINAL image from the cache. Seems everyone caches all the images involved in the mouseover events, but the originally displayed image is still called from the server.<P>ahhhhh.....always something to figure out. After that it'll be a mouseover sound. <IMG SRC="http://www.ozones.com/forum/smile.gif"><P>Pat Richard |