Can someone check my Javascript? GWD preview is not working.

70 views
Skip to first unread message

Michele

unread,
Sep 9, 2015, 1:13:29 PM9/9/15
to Google Web Designer beta
I'm using the following in an 990x475 floating ad (not expandable). I have a manual close, auto-close after 15 seconds and an exit to the specified URL. In GWD when I choose to preview in my browser, none of these are working:

<script type="text/javascript" gwd-events="handlers">
    gwd.closeAd = function(event) {
      Enabler.reportManualClose();
      Enbler.close();
    };
    gwd.autoClose = function(event) {
      setTimeout(autoClose, 15000);

      function autoClose(); 
      Enabler.close();
    };
    gwd.auto_Gwd_taparea_1Action = function(event) {
      // GWD Predefined Function
      gwd.actions.gwdDoubleclick.exit('gwd-ad', 'exit', 'http://www.orlandostories.com/bp', true, true);
    };
  </script>
Reply all
Reply to author
Forward
0 new messages