[jquery-ui] Re: Multiple instances of modal dialog box

2009-04-03 Thread css
Hi There Richard, I'm very new to jquery and jquery ui and am having trouble adapting your example to multiple links on a single page. I've just modified the default code from the jquery ui example page. Here's my HTML: Link text or image here YouTube video embed code. Here's the script

[jquery-ui] Re: Multiple instances of modal dialog box

2009-04-03 Thread css
Hi There Richard, I'm very new to jquery and jquery ui and am having trouble adapting your example to multiple links on a single page (maybe it shouldn't be adapted I don't know). I'm using the default code from the jquery ui example page. Here's my HTML: Link text or image here YouTube vid

[jquery-ui] Re: Multiple instances of modal dialog box

2009-02-25 Thread Richard D. Worth
At the very least, you can throw your options in a variable and then call .dialog(options) 3 times. If you want to take it a few steps further: $(function() { var options = { autoOpen: false, width: 600, modal: true }; $([1, 2, 3]).each(function() { var num = this;