Hello drup's,

I'm new here and just using drupal. I had a little course but seams like not enough to make this work.

So I want to implement a page to popup with an image in (season's greeting)
I installed the popup module, activated it.
Made a block with the picture in and ask unther popup settings to display it like default on every page in each language.
But nothings happens...
Does anyone has any ideas?
Txs.

Comments

I just installed lightbox2

I just installed lightbox2 module and to popup an image before my frontpage and implemented the following javascript but nothing happens...

What this script should do is open an image in a lightbox and place a cookie. If that cookie is present it doen't have to show the lightbox image.

But nothing happens...

As anyone any ideas? Ciao, T.

$(document).ready(function () {
$('#lightboxAutoModal').triggerHandler("click");
$("#skip").click(function() {
Lightbox.end('forceClose');
});
});

<?php
if (!isset($_COOKIE["welcomead"])) {
?>

Only local images are allowed.<?php
echo $base_url;
?>
/sites/all/themes/sabam/images/sabam_wish_en.jpg">

Only local images are allowed.<?php
echo $base_url;
?>
/sites/all/themes/sabam/images/sabam_wish_en.jpg">

<?php

    setcookie
("welcomead","Ad Viewed", time()+36000000, '/', 'sabam.be');
}
?>

Have you debugged the page

Have you debugged the page using Chrome's Inspector and watch the console for errors and warnings after page reloading?

nobody click here