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..
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
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.