forked from redlioncanada/banner-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Completed example template. Now supports es6. Added readme.
Overview now hides player navigation if TimelineLite is not present. Added agency property in config.json.
- Loading branch information
Showing
41 changed files
with
2,002 additions
and
2,642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Banner Template | ||
|
||
This project is a fully featured banner development suite focused on automation and ease-of-use. | ||
|
||
## Getting started | ||
|
||
`npm install` | ||
`gulp` | ||
|
||
## Commands | ||
|
||
`gulp` compiles banners into /build | ||
|
||
`gulp package` validates banners against DoubleClick specifications, zips them and put them into /build/package | ||
|
||
`gulp version` increases version number in config.json by 1 | ||
|
||
`gulp version --reset` resets version number in config.json to 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
{ | ||
"name": "ChickpeaSalad", | ||
"brand": "Nandos", | ||
"agency": "Ad Agency", | ||
"name": "ExampleCreative", | ||
"brand": "Brand", | ||
"month": "June", | ||
"version": { | ||
"en": "1" | ||
"en": "1", | ||
"fr": "1" | ||
}, | ||
"filesize": { | ||
"static": 40, | ||
"rich": 100 | ||
}, | ||
"revisions": [], | ||
"sizes": ["300x250"], | ||
"clicktags": ["doubleclick"], | ||
"sizes": ["300x250", "728x90"], | ||
"clicktags": ["doubleclick", "adgear"], | ||
"text": { | ||
"en": {} | ||
"en": {}, | ||
"fr": {} | ||
}, | ||
"exclude": [] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
html, body { | ||
width: {width}px; | ||
height: {height}px; | ||
} | ||
|
||
.{namespace} { | ||
#ad { | ||
width: {width}px; | ||
height: {height}px; | ||
|
||
#border { | ||
width: {width}-2px; | ||
height: {height}-2px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<script type="text/javascript" src="https://h5.adgear.com/v2/js/html5.min.js"></script> | ||
<script> | ||
$('document').ready(function () { | ||
document.getElementById('clickThrough').addEventListener('click', ADGEAR.html5.clickThrough.bind("clickTAG"), false); | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<script type="text/javascript"> | ||
var clickTag = "http://google.ca"; //needs to be here to validate, but we don't actually want it to be set to anything | ||
document.getElementById('clickThrough').addEventListener('click', enablerExit, false); | ||
function enablerExit() { | ||
window.open(window.clickTag); | ||
} | ||
$('document').ready(function () { | ||
document.getElementById('clickThrough').addEventListener('click', enablerExit, false); | ||
}) | ||
var clickTag = "http://google.ca"; //needs to be here to validate, but we don't actually want it to be set to anything | ||
|
||
function enablerExit() { | ||
window.open(window.clickTag); | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('this js is in every 300x250 en creative'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('this js is in every 300x250 fr creative'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('this js is in every 728x90 en creative'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('this js is in every doubleclick creative'); |
Oops, something went wrong.