Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Bradley Lancaster

Sizmek Biolerplate??

Recommended Posts

HI everyone, really happy to get a job animating HTML5 banners using GSAP. Making and animating the banners are not the problem, i am having a problem getting them loaded into sizmek. I followed some documentation and registered click events but the agency i have to send them to says they won't work. Does any one have a blank biolerplate i can load my project into with sizmek built into it. The static banner template from sizmek set they gave me keeps throwing errors it's just a simple one size banner that needs a to be fully clickable. 

 

Any help would be appreciated.

Link to post
Share on other sites

SIZMEK is no problem if you:

 

- Zip the ad's folder into a max 200k .zip.

- Make a fallback.jpg and include it in the zip

- Include GSAP from any secure CDN

- Load <script src="https://secure-ds.serving-sys.com/BurstingScript/EBLoader.js">

- Make a clickable area with <div id = "clickthrough-button" ></div>

- and Include this snippet in Your HTML:
 

/// SIZMEK SCRIPT
var adDiv;
function initEB()
{
    try
    {
        EB.isInitialized() ? startAd() : EB.addEventListener( EBG.EventName.EB_INITIALIZED, startAd );
    }
    catch ( a )
    {
        startAd();
    }
}
function startAd()
{
    adDiv = document.getElementById( "ad" );
    addEventListeners();
}
function addEventListeners()
{
    document.getElementById( "clickthrough-button" ).addEventListener( "click", clickthrough );
}
function clickthrough()
{
    EB.clickthrough();
}
window.addEventListener( "load", initEB );
/// END SIZMEK SCRIPT 


But the most important is to beg for/steal a sizmek login to test Your ads in their fantastic MediaMind/Eyeblaster/ACM web app. :) 

 

 

  • Like 2
Link to post
Share on other sites
On 9/20/2017 at 6:04 AM, Oliver16Years said:

SIZMEK is no problem if you:

 

- Zip the ad's folder into a max 200k .zip.

- Make a fallback.jpg and include it in the zip

- Include GSAP from any secure CDN

- Load <script src="https://secure-ds.serving-sys.com/BurstingScript/EBLoader.js">

- Make a clickable area with <div id = "clickthrough-button" ></div>

- and Include this snippet in Your HTML:
 


/// SIZMEK SCRIPT
var adDiv;
function initEB()
{
    try
    {
        EB.isInitialized() ? startAd() : EB.addEventListener( EBG.EventName.EB_INITIALIZED, startAd );
    }
    catch ( a )
    {
        startAd();
    }
}
function startAd()
{
    adDiv = document.getElementById( "ad" );
    addEventListeners();
}
function addEventListeners()
{
    document.getElementById( "clickthrough-button" ).addEventListener( "click", clickthrough );
}
function clickthrough()
{
    EB.clickthrough();
}
window.addEventListener( "load", initEB );
/// END SIZMEK SCRIPT 


But the most important is to beg for/steal a sizmek login to test Your ads in their fantastic MediaMind/Eyeblaster/ACM web app. :) 

 

 

 

Thanks so much this totally worked i add this to any HTML banner and it works no Sizmek template needed appreciate you providing this info!

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×