I am developing custom module in D7. And created one custom block. And how can show the conent in the block as pop up box?sample block code is `
$block['content'] = t('Test message');
I want show 'Test message' as in pop up..
There is the Popup message module which provides you the same functionality as you need.
From the module's project page:
Display popup message for users once per browser session.