Show Colorbox or other Modal Window on page load I'm working on a module that shows a modal window of some sort (I've used Colorbox so far, but I'm not attached to it) upon page load. I've gotten to the point where I need to make it display on page load and am now a little bit stumped how I'd do that -- any ideas? Using D7, btw.

Thanks!
I figured it out, it's pretty easy. See below:

function popupmessage_init(){       
    $colorbox_js = 'jQuery(document).ready(function(){ jQuery.colorbox({html: "&lt;h1&gt;Your Message Here&lt;/h1&gt;"}); });';
    drupal_add_js($colorbox_js, 'inline');      
}