How to open pop up window in javascript in drupal 6? I have made a custom module in Drupal 6 and want to implement the following: When I click on my link it should open in a pop up window in javascript. But I don't know it how to implement pop up window in Drupal.

Please help me.

This is my link code.

l('open pop up','admin/state_user/stateadmin/state/user/disable/'
  . $result -&gt; uid, array('attributes' =&gt; array('title' =&gt; t('open pop up'))),TRUE);
Use the Colorbox module.


  Colorbox is a light-weight customizable lightbox plugin for jQuery. This module allows for integration of Colorbox into Drupal.
  
  Images, iframed or inline content etc. can be displayed in a overlay
  above the current page.


You need to activate the iframe method and add the custom iframe class to your link.