Demo Install Open Lightbox on page load

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

<script>

$(document).ready(function(){

setTimeout(function() {

 window.parent.$("#wplightbox_bkgrnd").trigger('click');

},4000);

});

</script>

Auto Close

In the last page that will appear in the lightbox, paste the following to page head. The timer is presently set to 4 seconds (4000), change to suit. If you are  already using jquery on this page you can leave out the line of red text below.


window.parent.$("#wplightbox_bkgrnd").trigger('click');

ButtonClose

Right click button>Actions>Add>Custom. The Event is Click, and paste the following line in the Custom script box.


<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>


<script>

$(document).ready(function() {

setTimeout(function() {         

 $("#btn_7").trigger('click');     

},100);

});

</script>

Open lightbox on page load

In the page with the link to the lightbox, paste the following to page head. Change btn_7 to the id of the image or button or text that will trigger the lightbox. The timer is presently set to 0.1 seconds (100), change to suit. If you are  already using jquery on this page you can leave out the line of red text below.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

<script>

$(document).ready(function(){

setTimeout(function() {

 parent.$("#wplightbox_bkgrnd").trigger('click');

},4000);

 setTimeout(function() {

  parent.window.location.href = 'install.html';

},3900);

});

</script>

Auto Close and Redirect

In the last page that will appear in the lightbox, paste the following to page head. The timer is presently set to 4 seconds (4000), change to suit. Ensure the timer on the redirect is set slightly lower than the close timer. Change the redirect page were indicated in red.If you are  already using jquery on this page you can leave out the line of red text below.