Something like that can be done with any lightbox type script. The exact coding varies, and that script can do it in other ways. That said, taking the code given there, all you would need to do is to lengthen the timeout to 30 seconds:
Code:
<script type="text/javascript">
var started;
function showLightBox()
{
if (started) return;
started = setTimeout(function(){
Lightbox.start(document.getElementById('firstImage'));
started;
}, 30 * 1000);
}
</script>
I would skip the body onload bit and use this version:
Code:
<script type="text/javascript">
(function($){
var started;
function showLightBox(){
if (started) return;
started = setTimeout(function(){
Lightbox.start(document.getElementById('firstImage'));
started = true;
}, 30 * 1000);
}
$(window).load(showLightBox);
})(jQuery);
</script>
Bookmarks