Rip's Domain

The return of PopupWindow jQuery plugin

Posted in Jquery, PopWindow by rip747 on March 2, 2007

This project has now been moved to Github.

DONATE: If you find this plugin useful, consider donating to the jQuery project directly. I personally do not accept donations, I do it all for the community.

45 Responses

Subscribe to comments with RSS.

  1. […] 26th, 2006 This post is outdated. The new plugin can be found here. Please updated any bookmarks. Posted by rip747 Filed in […]

  2. Zeshan said, on March 18, 2007 at 10:41 pm

    umm.. this doesnt work. Might be me but i doubt it. I tried everything. Doesnt look like your in jquery.js

  3. rip747 said, on March 20, 2007 at 3:12 pm

    @Zeshan

    what do you mean?

  4. Bruce said, on March 24, 2007 at 12:14 pm

    I didn’t have any trouble getting it to work. I wasn’t able to make a resizable window, though — until I changed the parameter in your code from ” resize=” to “resizable=” 😉

    Thanks — this will come in handy and likely would have taken me a long time to write myself.

    –bruce

  5. […] 27th, 2007 PopUpWindow seems to hitting around 70 page views and around 30 downloads a day. Not bad for a plugin I whipped […]

  6. […] 4th, 2007 Popupwindow has been updated yet […]

  7. […] 10th, 2007 I just fixed a major bug in PopWindow that was causing IE to bottom out. If you’re using the plugin, you need to download the new […]

  8. hannul said, on April 30, 2007 at 7:00 am

    There is syntax error in ie, dont allow comma after class property list:

    settings = {
    height:600, // sets the height in pixels of the window.
    width:600, // sets the width in pixels of the window.
    toolbar:0, // determines whether a toolbar (includes the forward and back buttons) is displayed {1 (YES) or 0 (NO)}.
    scrollbars:0, // determines whether scrollbars appear on the window {1 (YES) or 0 (NO)}.
    status:0, // whether a status line appears at the bottom of the window {1 (YES) or 0 (NO)}.
    resizable:1, // whether the window can be resized {1 (YES) or 0 (NO)}. Can also be overloaded using resizable.
    left:0, // left position when the window appears.
    top:0,

  9. rip747 said, on April 30, 2007 at 10:29 pm

    @hannul

    that bug was fix on 04/10/2007. Try downloading the file again since I’ve updated it.

  10. Patrick Wright said, on May 2, 2007 at 2:05 am

    For some reason, in your example, IE 6 & 7 are showing an error at line 27: $(“.popupwindow”).popupwindow(profiles);

    Showing an error code of “object doesn’t support this property or method.”

  11. brandon said, on May 14, 2007 at 3:57 pm

    I’m getting the same error in ie6 and ie7. Any ideas how to fix it?

  12. rip747 said, on May 14, 2007 at 9:37 pm

    I’ve refixed the file and reuploaded it. Redownload and tell me if you are still experiencing the problem with IE.

  13. […] Go download popupwindow Posted by rip747 Filed in Uncategorized […]

  14. brandon said, on May 15, 2007 at 3:36 pm

    hey thanks man, that did it! Very cool plugin.

  15. rip747 said, on May 15, 2007 at 3:54 pm

    Your welcome 🙂 Sorry it took me so long to post the fix. Won’t let it happen again.

  16. great plugin....but said, on June 29, 2007 at 8:19 am

    How do you activate the plugin with a function rather then with a class as a class=”popupwindow” won’t work with ajax loaded content.

  17. rip747 said, on June 29, 2007 at 8:46 am

    not sure I understand your question. Do you have a page with sample code that you can point me to?

  18. blue0x said, on June 30, 2007 at 9:24 am

    I dig the plugin, however may I suggest a center option. ie:

    settings = {

    center:0 // should we center the window? {1 (YES) or 0 (NO)}. overrides top and left
    }

    then you can overload settings.top and settings.left like so:

    if (settings.center == 1) {
    settings.top = (screen.height-(settings.height+110))/2;
    settings.left = (screen.width-settings.width)/2;
    }

    tada … a centered popup.

  19. […] with CSS and Javascript. I thought that I would leave a comment telling her about jQuery and my PopupWindow plugin. Why reinvent the wheel if you don’t have to and maybe she would become a jQuery convert […]

  20. rip747 said, on June 30, 2007 at 11:17 am

    @blue0x

    Thanks very much for the suggestion and I will definitely look into implementing this real soon.

  21. Freddy said, on July 26, 2007 at 9:34 am

    How about an online demo… none ere and none on te referred site.

  22. rip747 said, on July 26, 2007 at 5:40 pm

    @Freddy

    If you download the plugin there is an index.html file that has the demo in it. I don’t have a website to post it to, so that’s the best I can do for now.

  23. Shinobu said, on August 20, 2007 at 11:42 pm

    Hi, thanks for this nice script.

    I think I have found a bug that only the first popup link does not work when placed within the popup window.

    been fixed already?

  24. Matthew Moore said, on September 4, 2007 at 1:10 pm

    Hi,

    I’ve downloaded your script and modified the default settings to include the other Window Attributes: location, directories, menubar, and copyhistory. See the code at: http://pastie.caboo.se/93847

  25. David said, on September 24, 2007 at 4:49 pm

    I second the request for a demo…. You may be pleased with your page hit rate, but that doesnt tell you which (hits/readers) go beyond reading about your plugin and then moving on (because there is no demo).

    There are a great many plugins for interested surfers to evaluate… and its very time consuming testing each one for suitability when there is no online demo.

  26. rip747 said, on September 25, 2007 at 9:15 am

    Please people, for the love of John; I don’t have a website where I can put up an online demo. When I get a website, I will put one up.

    In the mean time though, you can download the plugin and there is a local demo within the plugin that you can run. I can’t tell you how many times I’ve mentioned this.

  27. I feel honored. « Rip’s Domain said, on November 1, 2007 at 9:34 am

    […] why do I feel so honored? Well there is actually a custom tag that was created out of my PopWindow Plugin! Posted by rip747 Filed in ColdFusion, Jquery, […]

  28. Moominpapa said, on November 12, 2007 at 6:53 am

    Nice plugin, just what I needed. Thanks!

  29. Crischan said, on March 23, 2008 at 3:52 pm

    Hi,

    I can’t seem to find a license anywhere? Is it GPL?

  30. rip747 said, on March 23, 2008 at 6:22 pm

    all of the software that I write is open source. Forget licenses, you can do with it what you want. Download, modify, call it your own, etc.
    Have fun.

  31. Stika Jaroslav said, on May 20, 2008 at 9:06 am

    Hi,

    can you tell me, please, where can I find and download your code PopupWindow v2.0.0???

    Thx.

  32. […] a fading news ticker. Password Strength Meter Indicator to show the strength of a users password. PopupWindow Creates an preview popup of destination link. Query String Object Useful for sending URL […]

  33. […] jQuery plugins to the rescue (again): PopupWindow. It basically opens a window with target to _blank and the style (in the “rel” […]

  34. Matthew Fedak said, on April 27, 2009 at 3:41 pm

    just what I needed. Cheers. Why clients still ask for pop ups in this day and age I really don’t know. Now need to figure out how to submit a form in the pop up to a new window since target=”_blank” is not working!

  35. dee said, on May 9, 2009 at 11:08 am

    Thank you for the nice plugin – works like charm 🙂

  36. Ralph said, on July 4, 2009 at 7:20 am

    How do you make this popup to open as full screen or kiosk format?

  37. […] PopupWindow Creates an preview popup of destination link. […]

  38. […] PopupWindow Creates an preview popup of destination link. […]

  39. […] PopupWindow Creates an preview popup of destination link. […]

  40. […] PopupWindow Creates an preview popup of destination link. […]

  41. edson said, on March 31, 2010 at 5:39 pm

    i think the menubar is having a problem with google chrome

  42. […] PopupWindow Creates an preview popup of destination link. […]

  43. Shuiqing said, on August 5, 2011 at 3:16 am

    Guys, where is the documentation of this popup window plugin?

  44. Amjadkhan said, on October 12, 2011 at 9:27 pm

    Hi when I close the popup its not execute $(window).unload( function () { alert(“Form Saved”); } );

    Please help me on that ASAP

    Regards,
    Amjad

  45. tomomai said, on December 28, 2011 at 10:56 pm

    Nice plugin!
    Does anyone know how, or have any ideas, to use this with input tag?

    > Amjad
    Have you tried those code from example page?
    I guess it works.

    function unloadcallback(){
    alert(“unloaded”);
    };


Leave a comment