Dan,
I'm not exactly sure how to do that ... it may be possible w/ some
iframe trickery , but not sure.
image.complete only returns true/false
Will
> Ah right.
>
> Would a % counter be better, perhaps, or is that harder to do, since you
> have to check the loaded size on the currently loading image?
>
> Will Jessup wrote:
>
>> Dan,
>>
>> Its not loading a %, though. Just a loop counter for each 10ms check.
>>
>> Will
>>
>>> A tiny suggestion:
>>> $("#tweenLoad").html('Loading ' +k+'%');
>>>
>>> Instead of the other one:
>>> $("#tweenLoad").html('loading' +k );
>>>
>>> I really like it. The 'bounce' effect looks cool too! Like a jello
>>> window!
>>> :)
>>>
>>> This just seperates it and shows that it's percentage
>>>
>>> Will Jessup wrote:
>>>
>>>
>>>> http://www.willjessup.com/sandbox/jquery/tweenbox/tweenbox.htm
>>>>
>>>> bottom link is Image Gallery.
>>>>
>>>> Takes a URL (gallery.php?params...) and returns the result in JSON for
>>>> evaluation. Then you can view the images returned within a tweenBox that
>>>> resizes to each picture. It waits for the image to complete downloading,
>>>> and also checks to see if the picture is bigger than the screen. the
>>>> JSON object allows for alot of extra's like captions easily.
>>>>
>>>> There are some issues w/ the image.complete as-is and I need to figure
>>>> out how to turn off my browsers caching so i can debug it. (anyone have
>>>> suggestions here?)
>>>>
>>>> Also using rev 159 of jQuery... so there are a few IE bugs and animation
>>>> bugs to be worked out.
>>>>
>>>>
>>>> --
>>>> |||||||||||||||||||||||||||||||||||
>>>> Will Jessup
>>>> c. 760 807 0850
>>>>
>>>>
>>>> _______________________________________________
>>>> jQuery mailing list
>>>> [email protected]
>>>> http://jquery.com/discuss/
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>>
>>
>>
>
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/