jpopup Takes a link and will create a popup window

  1. Requirements
  2. Usage
  3. Change log
  4. Resources

This widget encapsulates the popupWindow JQuery Plugin.
Takes a link (or other HTML element) and will create a popup window


Yii 1.1.6 or above...


  • extract the file under .../protected/extensions
  • put in a view a code blocks like the following...
<h1>popup window</h1>
Open in a popup window (800x500) positioned 50 pixels from the
top and left side of the screen.
    <?php $this->widget('ext.popup.JPopupWindow', array(
        'content'=>'open popup',
    )); ?><!-- popup -->
Open contact form of a Yii skeleton app
    <?php $this->widget('ext.popup.JPopupWindow', array(
        'content'=>'open contact form',
    )); ?><!-- popup -->

Change log

Version 1.0
  • initial release
Version 1.1
  • more documentation and bugfix
Version 1.2
  • unnecessary javascript files deleted
Version 1.2.1
  • published demo application
Version 1.3
  • little bugfix


6 2
6 656 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Tags: popup, widget
Developed by: volkmar
Created on: Apr 1, 2011
Last updated: 8 years ago


show all

Related Extensions