;-))
GC

On Jun 26, 3:48 pm, Rey Bango <[EMAIL PROTECTED]> wrote:
> Very nice work my man! Special thanks to Mike Tuupola for hooking
> GianCarlo up with that article.
>
> Rey
>
>
>
> GianCarlo Mingati wrote:
> > Fixed!
> > Now the preloader works correctly even in Opera 9. Before only IE7 and
> > FF were calculating the width correctly.
>
> > On that page:
> >http://www.quirksmode.org/css/displayimg.html
> > i discovered (we really never end learning) that when image has
> > display: none or is inside an element with display: none (my exact
> > case, the UL was set to display: none; and then to "block" when images
> > were fully downloaded), the browser may opt not to download the image
> > until the display is set to another value (eg: block).
>
> > And infact Opera 9 does not download an image if that image is inside
> > a container "not showed". And that caused the rendering problem, since
> > the galleries rely on image width() to size correctly their 'mask'
> > contanier.
> > So for my preload i just moved the list with images with a temporary
> > class to -999em to the left, and then, when document IS ready (images
> > downloaded) i remove that temporary class and apply the correct CSS
> > class wich of course is set to left: 0;
>
> > And it does the trick!
> > GC
>
> > On Jun 26, 2:32 pm, GianCarlo Mingati <[EMAIL PROTECTED]>
> > wrote:
> >> HI,
> >> thanks for the link.
> >> GC
>
> >> On Jun 26, 1:22 pm, Mika Tuupola <[EMAIL PROTECTED]> wrote:
>
> >>> On Jun 26, 2007, at 1:04 PM, GianCarlo Mingati wrote:
> >>>> i wasn't able to find a solution for my "plugin":  preload an unknown
> >>>> number of images in a page without writing their path in an array, or
> >>>> using load vs onload functions or any other (inspiring but too
> >>>> complicated for my level) snippet of code found right here in the
> >>>> list.
> >>> Looks good! Did you ever check this:
> >>>http://www.appelsiini.net/~tuupola/823/sequentially-preloading-images
> >>> or was that what you ment with "load vs onload functions"?
> >>> --
> >>> Mika Tuupola                      http://www.appelsiini.net/~tuupola/
>
> --
> BrightLight Development, LLC.
> 954-775-1111 (o)
> 954-600-2726 (c)
> [EMAIL PROTECTED]://www.iambright.com

Reply via email to