3D CUBE DOCUMENTATION

Adsolutions / Documentation  / 3D CUBE DOCUMENTATION

3D CUBE DOCUMENTATION

The Cube template is a little more involved than most. But there’s an alternative available:

Send four images or three images (600x500px) and a video to support@adsolutions.com and we’ll build it for you.

The template consists of the following assets:

  • index.html
  • main.js
  • main.css

index.html
The head of the html contains the ad size and links to the core library and other two template assets.

The body contains the four sides. (face front,face left, face right, face back) Each contains either an image or a video. If you add your own sources in each of the faces you’re done.

main.js

The main.js together with the main.css takes care of the logic and rotation. If you want to animate your faces you can do so by adding your own divs and style in the html.

The main.js file is also the spot where the click is implemented. (line 260 to 270) You can change the URL in this file. Or designate it to a different element or add multiple clickable elements.

The click is syntax is like so: ADTECH.click(‘Click Name‘, ‘your CLICK URL‘);

Click Name is used in the reports to distinguish which click through button was clicked on. You don’t have to enter the URL if you don’t know it yet. We can handle it for you if you send the URL or redirect later on.

SUPPORT
During the design phase we can provide you with a preview URL so you can see the work in action and make changes to your design accordingly. Send us the source files and fonts to support@adsolutions.com (WeTransfer preferred)

Final creative or requests for a preview can be send to traffic@adsolutions.com

Also read the GENERAL DOCUMENTATION fur further reference on building HTML5 ads.