--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
> > to do invokeEvent("resize")
> But what about layers that don't use anchors ?
> What's wrong with 
> invokeEvent("resize") in setSize ? Performance ?
> I've never seen it a 
> problem in my usage.

See previous email.
 
> ...The loadlayer uses a single queue to load, and
I've
> added the ability 
> to pass a queue object. That serialize the loads if
> multiple layers are 
> sent setURL, exxept if you pass a custom queue. I'm
> not sure that's a 
> benefit or not ?
> However, that code check the conclusion of the load
> in a cleaner way, 
> using events provided by the browsers, and I think
> that's missing from  
> the current loadpanel.

It look good, but could we consolidate our efforts to
create a very good loadpanel/loadlayer widget? The
IOElement allows for client-server communications. It
too can be used for loading html pages, but with
loadpanel/layer around I think I'll make it only
support invisible threads. Juho, Dan and Benoit have
come up with variants of the loadpanel. Could we
combine our findinds and make one load widget that
works well?

--
Raymond Irving
 
> Here it is.
> 

> ATTACHMENT part 2 application/octet-stream
x-mac-hide-extension=yes; x-unix-mode=0644;
name=loadlayer.js
> 
> I removed the js extension as it caused the mail to
> be bounced back.
> 
> Please have a look. Sorry, there's a lot of
> commented code, it's a 
> working copy.
> 
> 
> Benoit
> 
> > --
> > Raymond Irving
> >
> > --- Doug Melvin <[EMAIL PROTECTED]>
> wrote:
> >> I've been thinking. (I know.. very dangerous)
> >>
> >> These events don't seem to be in the api:
> >> onresize
> >> onload
> >>
> >> I have been trying to add an onload event but I
> >> don't actually know where to even start.
> >> It really has been too long since I've done any
> >> hard-code JS coding..
> >> Kinda depressing actually.
> >>
> >> In NS 4 the layer object has a load event which
> is
> >> fired when the content is changed (including when
> >> the layer is first rendered.)
> >>
> >> IN IE we should be able to use the
> readystatechange
> >> event to detect content changes in a div
> >> when this event is called you can then check the
> >> property: readyState which can have the following
> >> values:
> >> (you would check the numeric values)
> >>
> >>
> >> -LOADING (1) The load is in progress-reading
> >> persisted properties, but not yet parsing data.
> For
> >> readyState definitions, data should be considered
> >> equivalent to binary large object (BLOB)
> properties.
> >>
> >> -LOADED (2) Reading of the persisted properties
> >> completed-reading and parsing data, but the
> object
> >> model is not yet available.
> >>
> >> -INTERACTIVE (3) Some data has been read and
> parsed,
> >> and the object model is now available on the
> >> partially retrieved data set. Although the object
> >> model is available during this state, it is
> >> read-only.
> >>
> >> -COMPLETED (4) The document has been completely
> >> loaded, successfully or unsuccessfully.
> >>
> >>
> >> I have not yet figured out how to do a resize
> event
> >> without putting and invokeEvent in setSize();
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> > http://platinum.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> >
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
> >
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to