Ok, so I finally figured it out.

Solution:
$(function() {

        var options = {
                autoOpen: false,
                show: 'blind',
                hide: 'fold',
                width: 800,
                modal: true
        };

        var n = 1;
        $("tbody tr td a.links-players").each(function(i) {

                var dlg = $('#dialog-player-' + n).dialog(options);
                $('#link-player-' + n).click(function() {
                        dlg.dialog("open");
                        return false;
                });
                n++;
        });
});
--~--~---------~--~----~------------~-------~--~----~
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