Any Countdown OTO Script That Works With Butterfly Marketing Site - That Is EASY To Use?

by BJ Min
5 replies
is there a countdown OTO (or limited time offer) script that
works with butterfly marketing sites - that is VERY easy to install?

thanks
#butterfly #countdown #easy #marketing #oto #script #site #works
  • Profile picture of the author Dan Liptak
    Give this a try.

    Code:
    <script>
    var sec = 30;   // set the seconds
    var min = 02;   // set the minutes
    
    function countDown() {
      sec--;
      if (sec == -01) {
        sec = 59;
        min = min - 1;
      } else {
       min = min;
      }
    if (sec<=9) { sec = "0" + sec; }
      time = (min<=9 ? "0" + min : min) + " : " + sec;
    if (document.getElementById) { theTime.innerHTML = time; }
      SD=window.setTimeout("countDown();", 1000);
    if (min == '00' && sec == '00') { sec = "00"; window.clearTimeout(SD); }
    }
    
    function addLoadEvent(func) {
      var oldonload = window.onload;
      if (typeof window.onload != 'function') {
        window.onload = func;
      } else {
        window.onload = function() {
          if (oldonload) {
            oldonload();
          }
          func();
        }
      }
    }
    
    addLoadEvent(function() {
      countDown();
    });
    
    </script>
    
    <table width="100%">
     <tr><td width="100%" align="center"><span id="theTime" style="font-family:arial,verdana,helvetica,sans-serif; font-weight:normal; font-size:16pt;"></span></td></tr>
    </table>
    Just copy and paste it into your oto1.html template where you want it to show up. Set the var for min and sec. You can also edit the style attribute on the span tag to change the font for the time.

    Later,
    Dan
    {{ DiscussionBoard.errors[764855].message }}
    • Profile picture of the author williamk
      Banned
      Originally Posted by Dan Liptak View Post

      Give this a try.

      Code:
      <script>
      var sec = 30;   // set the seconds
      var min = 02;   // set the minutes
      
      function countDown() {
        sec--;
        if (sec == -01) {
          sec = 59;
          min = min - 1;
        } else {
         min = min;
        }
      if (sec<=9) { sec = "0" + sec; }
        time = (min<=9 ? "0" + min : min) + " : " + sec;
      if (document.getElementById) { theTime.innerHTML = time; }
        SD=window.setTimeout("countDown();", 1000);
      if (min == '00' && sec == '00') { sec = "00"; window.clearTimeout(SD); }
      }
      
      function addLoadEvent(func) {
        var oldonload = window.onload;
        if (typeof window.onload != 'function') {
          window.onload = func;
        } else {
          window.onload = function() {
            if (oldonload) {
              oldonload();
            }
            func();
          }
        }
      }
      
      addLoadEvent(function() {
        countDown();
      });
      
      </script>
      
      <table width="100%">
       <tr><td width="100%" align="center"><span id="theTime" style="font-family:arial,verdana,helvetica,sans-serif; font-weight:normal; font-size:16pt;"></span></td></tr>
      </table>
      Just copy and paste it into your oto1.html template where you want it to show up. Set the var for min and sec. You can also edit the style attribute on the span tag to change the font for the time.

      Later,
      Dan
      You are the Man. Thanks a ton for this script. I am going to use it on a test page now.
      {{ DiscussionBoard.errors[6558093].message }}
  • {{ DiscussionBoard.errors[764913].message }}
  • Profile picture of the author getmethere
    Thanks for this - brilliant.
    I have been looking for this.

    Regards Sparks
    Signature

    Glenn Pearson is a Business Trainer and Business owner. "Think Big, Start Small & Act FAST".
    Spark Blogger.
    How To Build a PPP (Profit Pulling Platform) - Pre Register Now - Early Bird Special Offer(Surprise)- Register Here

    {{ DiscussionBoard.errors[6552266].message }}

Trending Topics