Frank Martin Frank Martin - 2 years ago 100
jQuery Question

How to open lightbox image on body load

I am using lightbox by Warren Krewenki

Is there a way to open an image on page load? Like if there is some jQuery trigger which I can call on page load which will emulate like user clicking on image and then it will open lightbox?

Or if this is not possible then any other plugin that will allow me to open and HTML page in lightbox? I remember I saw one here but forgot the link.

Answer Source

Trigger a click on one of the links to which lightbox is attached:

$(function () {
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download