I use the UI tabs to pull in the tabs through Ajax. 
I need to be able to have links take advantage of the popupwindow jquery
plugin (
http://github.com/rip747/popupwindow/blob/1ac14c0fb9fbd492205ea4a428689db0762b82fa/jquery.popupwindow.js
PopUpWindow on GitHub ).

Previously I added this code using the livequery plugin and it worked.
$(".popupwindow") 
    .livequery("click", function() {
                        var name = settings.createnew ? "PopUpWindow" + index : 
"PopUpWindow";
                        window.open(this.href, name, parameters).focus();
                        return false;}); 
$(".popupwindow") 
    .livequery("click", function()
{$(".popupwindow").popupwindow(profiles);});

But since being on the latest version of jQuery and the UI, I'd like to be
able to use the .live function instead of relying on another plugin.

I just changed the code to the following but it's still not working:
$(".popupwindow") 
    .live("click", function() {
                        var name = settings.createnew ? "PopUpWindow" + index : 
"PopUpWindow";
                        window.open(this.href, name, parameters).focus();
                        return false;}); 
$(".popupwindow") 
    .live("click", function() {$(".popupwindow").popupwindow(profiles);});

Anyone have an idea? Thanks
-- 
View this message in context: 
http://www.nabble.com/Ajax-UI-Tabs-%2B-PopUpWindow-%2B-Live-tp22608428s27240p22608428.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.


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