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
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
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;