[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-16 Thread Eric Martin
The problem is that you are including the basic.js file from my site, which is causing a conflict. Remove that script and use the following code: $(document).ready(function() { $('#basic-modal input.basic, #basic-modal a.basic').click(function (e) { e.preventDefault();

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-11 Thread folder123
The behavior i'm seeing is the onShow only seems to run once. On subsequent modal window opens the contents in onShow don't seem to execute. -k On Sep 11, 7:31 pm, folder123 wrote: > I'm still having issues with the code below, the slider now doesn't > even show up on a 2nd window open. > > Any

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-11 Thread folder123
I'm still having issues with the code below, the slider now doesn't even show up on a 2nd window open. Any thoughts greatly appreciated, I'm sure i'm missing something simple. -k On Sep 11, 2:52 pm, Eric Martin wrote: > Use the onShow callback in SimpleModal to call the slider init code: >

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-11 Thread folder123
Excellent, thanks for the reply and your hard work on SimpleModal, it's greatly appeciated. -k On Sep 11, 2:52 pm, Eric Martin wrote: > Use the onShow callback in SimpleModal to call the slider init code: > > $('#basic-modal-content').modal({onShow: function (dialog) { >     $("#slider-vertical

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-11 Thread Eric Martin
Use the onShow callback in SimpleModal to call the slider init code: $('#basic-modal-content').modal({onShow: function (dialog) { $("#slider-vertical", dialog.container[0]).slider({ orientation: "vertical", range: "min", min: 50, max: 300, value: 100,