Hey there,
yes I'm using jQuery latest...
Cutting down further is the way, but that's the code after 5 hours of
debugging at 3AM (=
I had another question though, I need to pass back information (such as the
link/button that was pressed) to the caller (in the OnClose callback). Any
ideas on how to do that ?
On 2/20/07, Brice Burgess <[EMAIL PROTECTED]> wrote:
Abdallah,
Nice work. I am not certain why the index was not being passed
properly before ... are you using jQuery 1.1.1? REGARDLESS ... I think
that your design may be better (providing a copy of the hash isn't made
when it's attached to the submit -- which has the potential to slow
things down on low memory machines). I believe you can cut down the code
further by changing;
close:function(mh){var h=mh; h['active'] = false;
to
close:function(h){h['active'] = false;
(&& doing the same thing in open function)
If this proves to be efficient I'll adopt this method in the next rewrite.
~ Brice
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Abdallah Deeb
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/