You can now directly download PopupWindow from the box.net widget —>

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.

UPDATE: For some reason the old file was still being linked. I refixed the bug and uploaded the new file.

UPDATE: Fixed a bug where a syntax error was causing the plugin to crash in IE. Please redownload the new file.

UPDATE: Popupwindow now supports profiles. Please read more information on this here.

UPDATE: Fixed a bug reported by Bruce where “resize” wasn’t a proper parameter. The correct parameter “resizable” can be overloaded using both “resize” or “resizable” to preserve backwards compatibility. The new version breaks this.

UPDATE: version 2.0 is now available.

30 Responses to “The return of PopupWindow jQuery plugin”

  1. My JQuery Plugin: PopUpWindow « Rip’s Domain Says:

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

  2. Zeshan Says:

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

  3. rip747 Says:

    @Zeshan

    what do you mean?

  4. Bruce Says:

    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. PopUpWindow is popular! « Rip’s Domain Says:

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

  6. Popupwindow updated! Support profiles now. « Rip’s Domain Says:

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

  7. PopupWindow: Critcal bugfix now available « Rip’s Domain Says:

    [...] 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 Says:

    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 Says:

    @hannul

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

  10. Patrick Wright Says:

    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 Says:

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

  12. rip747 Says:

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

  13. PopUpWindow: v05142007 now available « Rip’s Domain Says:

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

  14. brandon Says:

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

  15. rip747 Says:

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

  16. great plugin....but Says:

    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 Says:

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

  18. blue0x Says:

    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. WTF: I’m blacklisted! « Rip’s Domain Says:

    [...] 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 Says:

    @blue0x

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

  21. Freddy Says:

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

  22. rip747 Says:

    @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 Says:

    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 Says:

    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 Says:

    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 Says:

    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 Says:

    [...] 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 Says:

    Nice plugin, just what I needed. Thanks!

  29. Crischan Says:

    Hi,

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

  30. rip747 Says:

    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.

Leave a Reply