Show jQModal window on page load
Posted
by Machi
on Stack Overflow
See other posts from Stack Overflow
or by Machi
Published on 2010-05-21T17:29:06Z
Indexed on
2010/05/21
17:30 UTC
Read the original article
Hit count: 574
Hi there, I'm playing with jQModal plugin and trying to display its window right after the page is loaded. I used this code in $(document).ready(function():
$('#letak').jqm({
overlay: 70,
autofire: true
});
autofire setting should do the trick but unfortunately it doesn't work. Works perfectly fine when I click at trigger link.
Example: http://bz.machi.cz/
Am I doing something wrong? Thanks a lot, Jakub
© Stack Overflow or respective owner