Jump to content
Search Community

Sizmek Biolerplate??

Bradley Lancaster test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

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 comment
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 comment
Share on other sites

  • 1 month later...
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 comment
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.
×
×
  • Create New...