Quantcast
Viewing all articles
Browse latest Browse all 17529

Timed redirect - by: tpartner

Try adding something like this to template.js. A timer will start when the stats view is detected.

$(document).ready(function() {
	if($('table.statisticssummary').length > 0) {
		setTimeout(function () {
			window.location.href = "http://example.com";
		}, 5000);
	}
});

Viewing all articles
Browse latest Browse all 17529

Trending Articles