Hi!
I need to have two different Callback functions for two overlay events. Long story short, I need to start a timer on load and to stop it on closing the overlay.
So I did this:
But it destroys the entire overlay (the overlay doesn't open). Where am I wrong? Thanks!
I need to have two different Callback functions for two overlay events. Long story short, I need to start a timer on load and to stop it on closing the overlay.
So I did this:
$("img[rel]").overlay({
onLoad: function(event) {
$(".achievementoverlay").overlay().load();
startTimer();
}
onClose: function(event) {
stopTimer();
}
But it destroys the entire overlay (the overlay doesn't open). Where am I wrong? Thanks!
