> * Callbacks: onOpen, onLoad

Instead of callbacks, consider custom events. It easily allows for multiple
subscribers to the event, and you can chain the query to bind the events. It
also loosens the coupling between objects.

$("#mywin").makeWindow( ... ).bind("open", function(){ ... });


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to