Creating one has to be faster because none of the initialization
overhead occurs the other 19 times.  With that being said, dialog
creation is pretty fast.


On Mar 25, 7:02 pm, Stian Totland <[email protected]> wrote:
> Perhaps a stupid question, but bear with me please:
>
> Let´s say I have 20 links on a webpage that needs to trigger a Dialog,
> with different options and content. Is it quicker, JavaScript
> performance-wise in different browser, to make one object, close it,
> adjust the settings with setters and open it again, or initiate a new
> object with the correct settings and destroy it each time?
>
> Stian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to