monetizer expertmobi
Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

wordpress plugin

Discussion in 'General Affiliate Marketing Forum' started by skadnol, Jul 18, 2012.

Thread Status:
Not open for further replies.
  1. skadnol

    skadnol Affiliate affiliate

    28
    0
    0
    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!
     
  2. monetizer
  3. skadnol

    skadnol Affiliate affiliate

    28
    0
    0
    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.
     

Featured Resources (View All)

Thread Status:
Not open for further replies.
MI