Rip's Domain

PopupWindow v2.0.0 now available

Posted in Jquery, PopWindow by rip747 on January 22, 2008

This project has now been moved to Github.

14 Responses

Subscribe to comments with RSS.

  1. […] PopupWindow v2.0.0 now available […]

  2. Matthew said, on February 13, 2008 at 4:13 pm

    Still need to add in location:0 and menubar:0 because some people like to be able to copy the url (location) and use the menu to print (menubar).

    Here I’ve done it for you…

    settings = {
    location:0, // determines whether the address bar is displayed {1 (YES) or 0 (NO)}.
    menubar:0, // determines whether the menu bar is displayed {1 (YES) or 0 (NO)}.
    […your current code here…]
    }

    and

    parameters = “location=” + settings.location + “menubar=” + settings.menubar + “,height=” + settings.height + “,width=” + settings.width + “,toolbar=” + settings.toolbar + “,scrollbars=” + settings.scrollbars + “,status=” + settings.status + “,resizable=” + settings.resizable + “,left=” + settings.left + “,screenX=” + settings.left + “,top=” + settings.top + “,screenY=” + settings.top;

  3. Daniele said, on February 15, 2008 at 2:09 pm

    I don’t know if it’s a bug or it’s just me but I can’t control the “height” parameter. The popup take the whole height of the page in all browsers mac and pc i tested😦

  4. daweb said, on February 20, 2008 at 6:59 am

    I don’t know if it’s a bug or it’s just me but I can’t control the “height” parameter. The popup take the whole height of the page in all browsers mac and pc i tested

    The same to me…

  5. daweb said, on February 20, 2008 at 7:03 am

    Ok, I think it’s very simple (I think!! I’m not a good programmer… :-()

    I believe you have forgotten two commas in this line:

    parameters = “location=” + settings.location + “menubar=” + settings.menubar + “height=” + settings.height + “,width=” + settings.width + “,toolbar=” + settings.toolbar + “,scrollbars=” + settings.scrollbars + “,status=” + settings.status + “,resizable=” + settings.resizable + “,left=” + settings.left + “,screenX=” + settings.left + “,top=” + settings.top + “,screenY=” + settings.top;

  6. daweb said, on February 20, 2008 at 7:04 am

    Change with:
    parameters = “location=” + settings.location + “,menubar=” + settings.menubar + “,height=” + settings.height + “,width=” + settings.width + “,toolbar=” + settings.toolbar + “,scrollbars=” + settings.scrollbars + “,status=” + settings.status + “,resizable=” + settings.resizable + “,left=” + settings.left + “,screenX=” + settings.left + “,top=” + settings.top + “,screenY=” + settings.top;

  7. rip747 said, on February 20, 2008 at 10:46 am

    thanks for the heads up everyone. the bug has been fixed. you can download the new version from the box.net widget

  8. StefanL said, on April 1, 2008 at 1:13 pm

    Nice plugin. Exactly what I needed.

    Question:
    How can I activate the popupwindow with a class other than “.popupwindow” ? Simply changing the name doesn’t work as this causes an Error in IE ($ is not defined).

  9. rip747 said, on April 2, 2008 at 7:29 pm

    @stefanL

    I think you’re getting the plugin and the selector confused. to apply popupwindow, you need to append it to a selector like so

    $(‘.mywindows’).popupwindow();

    or

    $(‘#newwindow’).popupwindow();

  10. query window said, on July 27, 2008 at 9:24 am

    […] features. PopupWindow lets you create javascript popup windows for static links on your web site.https://rip747.wordpress.com/2008/01/22/popupwindow-v200-now-available/MRQE – Movie Review Query Engine – REAR WINDOWWeb’s largest online directory of movie […]

  11. Jonathan said, on August 29, 2008 at 9:44 am

    I’m trying to get popupwindow to work inside of tabs I call with ajax using the jquery ui tabs script. I’ve been told to use the livequery plugin and that will rebind the popupwindow jquery onto any content loaded with ajax. This is what I’ve come up with but it doesn’t work.

    $(“.popupwindow”)
    .livequery(“click”, function() {
    var name = settings.createnew ? “PopUpWindow” + index : “PopUpWindow”;
    window.open(this.href, name, parameters).focus();
    return false;});

  12. Jonathan said, on August 29, 2008 at 10:07 pm

    Thanks for the e-mail you sent, it worked. However, it wasn’t working for links with profiles. The following works for both profile links and links using the default settings. Thanks again.

    $(“.popupwindow”).livequery(function(){
    $(this).popupwindow(profiles);
    });

  13. Richard said, on November 21, 2008 at 5:26 am

    What is the license on this code?

  14. rip747 said, on November 21, 2008 at 10:26 pm

    All the code that I produce is open sourced. Do with it what you want.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: