The Most Active and Friendliest
Affiliate Marketing Community Online!

“Propeller”/  MyBid

wordpress plugin

Status
Not open for further replies.

skadnol

New Member
affiliate
I am sorry if this is not the right topic, but I did not find better one.

I am looking for a wordpress plugin or some code, that would show to visitor when he comes on the site something like this:

Only 9 product remaining.

(when he will be on the site for lets say 10 seconds it will count down and show something like this):

Only 8 product remaining.

And so on...

Anybody knows how to do that? Thank you very much!
 
Here it is, jquery:

function diminish() {
var text = $("span").text();
if (text == 1) {
clearInterval($("span").data('interval'));
}
else {
$("span").text(parseInt(text - 1));
}
}

var intv = setInterval(diminish, 1000);
$("span").data('interval', intv);



The admin can close the topic.
 
Status
Not open for further replies.
banners
Back