3 comments found.
This script is pretty damn good, lots of configurable options for all your needs. Love the fact you can put in a callback script on the ok button itself on alert_msg.
My only grumble would be the documentation, while rich in content is not that easy to understand. Took me a while to figure out how it get it working properly. But now I have, I’m rolling!
Sorry for trouble, I will try to update documentation
and thank you for purchase it, If you like it then you can rate it as per its quality 
How do I get the event to load on page load?
Thanks!
$(document).ready(function() { $(’.alert_warning’).TnControl(‘alert_msg’, { ‘event_name’ : ‘click’ });
$(’.alert_warning’).trigger(‘click’); });
use trigger function
I dont really understand what you’re telling me to do?
$(document).ready(function() {
$(’.alert_warning’).TnControl(‘alert_msg’, {
‘event_name’ : ‘click’
});
});
by use of this code you can get alert box on click event.
now replace this code with below code then you get alert box on page load.
$(document).ready(function() {
$(’.alert_warning’).TnControl(‘alert_msg’, {
‘event_name’ : ‘click’
});
$(’.alert_warning’).trigger(‘click’);
});