[jQuery] Re: simplemodal next/back functionality

2010-01-02 Thread nevgenevich
I had time to play around with it more and narrowed it down to the onClose function... this works: onClose: function (dialog) { jQuery.modal.close(); } this doesn't: onClose: function (dialog) { dialog.data.fadeOut(300); dialog.container.fadeOut(100);

[jQuery] Re: simplemodal next/back functionality

2010-01-02 Thread nevgenevich
in case others have the same issue, i guessed the problem in the last post... adding a setTimeout(function() { before the call to modal, set for more than the time of closing the previous modal, makes it work. interestingly enough, setting a timeout value less than total closing time but greater

Re: [jQuery] Re: simplemodal next/back functionality

2009-12-31 Thread brian
On Thu, Dec 31, 2009 at 2:13 AM, nevgenevich nevgenev...@gmail.com wrote: it generates the link properly, when clicking on it: it closes the modal but does nothing else. i can verify with a console.log that it gets to after the call to open the previous modal, but it doesnt open anything.

[jQuery] Re: simplemodal next/back functionality

2009-12-31 Thread nevgenevich
I played around with it, taking it step by step closer to my code until i hit an issue, and narrowed it down to modal effects... below is my change to full effects that i'm using for my project, ignore the jQuery vs $, its my way of avoiding certain conflicts when i remove all these effects from

[jQuery] Re: simplemodal next/back functionality

2009-12-30 Thread nevgenevich
Thanks a lot for a full example so quickly! styling isnt a problem at all, that i can hack together somehow... however, your code doesnt fully work (i've only tried the previous link part thus far, but...) it generates the link properly, when clicking on it: it closes the modal but does nothing