Reputation: 29484
There are thousands of lightbox components and the likes.
I've looked at about 10 of them, but couldn't find what I need.
Just wondering if anyone know a lightbox like component that:
Popup('myDiv');
on page load without the user clicking anythingThanks in advance
Upvotes: 2
Views: 1355
Reputation: 27596
BlockUI is a very nice jQuery plugin for making modal popups.
Popup an inline hidden div (I do this all the time with it):
$.blockUI({ message: $('#divID') });
Can be modal: it won't close the popup until you call $.unblockUI()
Dynamic: Just call $.blockUI() where ever you wish, including page load
Documentation: LOTS of examples on their site
Upvotes: 3
Reputation: 4906
I think Facebox will give you everything except preventing the user from "closing" it.
Otherwise there's always jQuery UI's Dialog widget, which does have that feature.
Upvotes: 0