public
Description: a jquery plugin for creating a javascript popupwindows
Homepage:
Clone URL: git://github.com/rip747/popupwindow.git
name age message
file CHANGELOG Fri Jan 30 13:06:19 -0800 2009 first commit [rip747]
file README.md Mon Feb 02 07:41:31 -0800 2009 finished read me file [rip747]
file jquery.popupwindow.js Fri Jan 30 13:06:19 -0800 2009 first commit [rip747]
README.md

PopUpWindow plugin for jQuery

Takes a link and will create a popupwindow based on the href of the link. You can over ride the default settings by passing your own settings or profile name in the REL attribute of the link.

Installation

To use just include the plugin in the HEAD section of the page AFTER calling jQuery. After that, use jQuery to find the links you want and pass any parameters you want.

<html>
<head>
    <script type="text/javascript"src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript" src="jquery.popupwindow.js"></script>
    <script type="text/javascript">
    $(function()
    {
        $(".popupwindow").popupwindow();
    });
    </script>
</head>
<body>
    <a href="http://www.jquery.com" title="jQuery homepage" class="popupwindow"/>
</body>
</html>

Demos

For more detailed examples of using PopUpWindow plus how to use the profiles feature, view the demo page.