nwhite,

Thanks for the reply.  Yes, the image paths are crazy, I need to talk to my
mother-in-law about that whom I'm doing this for.  The idea was to use the
filename also as a description for the image so I wouldn't have to use a
database.  But that's another topic.

So there are many images for each category and I want to tile them out and
hide them.  When the user selects that category, the old category fades out
and the new one fades in.  I've gotten this to work reasonable well at
http://www.kasyaccents.com/test/linda2.php.  At least in Firefox but not in
IE.  No idea why.  I think you're right though that I should wait to
download the images upon a request to see those specific images.  Is the
'out of memory' problem just a remnant of vast number of images or an aspect
of my code?  I initially thought it was too many images but it seems to work
now which makes me think it was more to do with using absolute positioning.
Oh well, I may never know.

Thanks again for your help.
Ted

On Mon, Jan 5, 2009 at 8:30 PM, nwhite (via Nabble) <
[email protected]<ml-user%[email protected]>
> wrote:

> I counted 529 images that your trying to load at once. I'm running on a
> machine with 4GB of ram with a 20mbit/sec connection and the page just hangs
> as I'm waiting for everything to load in the background.  Not only would I
> leave before the page is ready, you could end up with some very high
> bandwidth usage.
>
> First off your images paths are pretty crazy.
>
> /images/Heirloom French Sewn Decor/W-Detail  Heirloom Accents Yellow Cotton
> Batiste French sewn Pillow with Monogram, French laces and silk ribbons.JPG
>
> Are you wanting to display only one image for each category? or are you
> wanting a slideshow of all the images in each section?
>
> In any event your current approach won't work. Maybe use the assets only
> when a link is click would be a place to start. If you are planning on
> loading in all the images in each section. Maybe load the first 3-4, then if
> the user moves load 5 etc... This way your script is loading only a few
> images in advance and its dependent on the user interaction.
>
>
>
>
>
> On Mon, Jan 5, 2009 at 10:46 PM, griztown 
> <grizt...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2116269&i=0>
> > wrote:
>
>>
>>
>> Hi,
>>
>> I'm trying to create a website where I load a pile of images in different
>> sections, hide all of them except one, then, upon selection in a drop down
>> menu, I fade the current one out and the new one in.  I'm using
>> Fx.Elements
>> to do this but I keep getting "out of memory" problems in Firefox using
>> Firebug.  there are a lot of pictures so it's possible I'm trying to do
>> too
>> much here but I can't figure out what the problem is.  It did work at one
>> point but now it doesn't and I can't figure out why it's crashing.
>>
>> In IE I'm told first I have an invalid argument in Selectors.js for the
>> Element.implement match function.  I'm also told "Object doesn't support
>> this property or method" for in Domready.js under (function() -
>> window.fireEvent('domready')).
>>
>> The code can be found at http://www.kasyaccents.com/test/linda1.php.  Any
>> help in trying to figure out what is causing my problem would be much
>> appreciated.
>>
>> Thanks!
>> --
>> View this message in context:
>> http://n2.nabble.com/Out-of-Memory-tp2116190p2116190.html
>> Sent from the MooTools Users mailing list archive at Nabble.com.
>>
>>
>
>
> ------------------------------
>  This email is a reply to your post @
> http://n2.nabble.com/Out-of-Memory-tp2116190p2116269.html
> You can reply by email or by visting the link above.
>
>


-- 
Tёd Brёnnёr

-- 
View this message in context: 
http://n2.nabble.com/Out-of-Memory-tp2116190p2116311.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to