DIS Disney Discussion Forums - DISboards.com
Setup
Add-ons
Content
Forums
Media
Moderator Panel
Resources
Communication
Users
Groups & permissions
Appearance
Widgets
Styles & templates
Styles
Style properties
Templates
Search templates
Outdated templates
Template modifications
Languages & phrases
Languages
Phrases
Search phrases
Outdated phrases
Tools
Logs
AppearanceStylesParent Style - Templates
Edit template: ab_script
View custom changes
Revert
Style: Parent Style
Type:
Public
Email
Template name Must be unique
ab_script
30
// Define size mappings
31
const sizeMappings = {
32
mappingsidedesk: googletag.sizeMapping()
33
.addSize([768, 0], [[300, 600], [300, 250], [160,600]])
34
.addSize([320, 0], [1, 1])
35
.addSize([0, 0], [1, 1])
36
.build(),
37
mappingsidemob: googletag.sizeMapping()
38
.addSize([768, 0], [[300, 250]])
39
.addSize([320, 0], [[300, 250], [320, 50], [320, 100]])
40
.addSize([0, 0], [[300, 250], [320, 50], [320, 100]])
41
.build(),
42
mappingbottom: googletag.sizeMapping()
43
.addSize([768, 0], [[300, 250], [336, 280]])
44
.addSize([320, 0], [[300, 250], [320, 50], [320, 100]])
45
.addSize([0, 0], [[300, 250], [320, 50], [320, 100]])
46
.build(),
47
mappinghead2: googletag.sizeMapping()
48
.addSize([992, 0], [[970, 250], [970, 90], [728, 90], [468, 60]])
49
.addSize([768, 0], [[728, 90], [468, 60]])
50
.addSize([320, 0], [[320, 50], [320, 100]])
51
.addSize([0, 0], [[320, 50], [300,50], [320, 100]])
52
.build(),
53
mappingbody: googletag.sizeMapping()
54
.addSize([992, 0], [[728, 90], [468, 60], [300, 250], [336, 280]])
55
.addSize([768, 0], [[468, 60], [300, 250], [336, 280]])
56
.addSize([320, 0], [[300, 250], [320, 50], [320, 100]])
57
.addSize([0, 0], [[300, 250], [320, 50], [320, 100]])
58
.build(),
59
mappingsticky: googletag.sizeMapping()
60
.addSize([992, 0], [[728, 90], [468, 60]])
61
.addSize([768, 0], [[728, 90], [468, 60]])
62
.addSize([320, 0], [[320, 50], [320, 100]])
63
.addSize([0, 0], [[320, 50], [320, 100]])
64
.build()
65
};
66
67
// Create ad slots with size mappings
68
adSlots.forEach(slot => {
69
let adSlot = googletag.defineSlot(slot.name, slot.sizes, slot.id).addService(googletag.pubads());
70
if (slot.mapping) adSlot.defineSizeMapping(sizeMappings[slot.mapping]);
71
});
72
You may use XenForo template syntax here.
Old New Edit date
Current version
Dec 14, 2025
View pre-edit version
Dec 14, 2025
View pre-edit version
Dec 14, 2025
View pre-edit version
Dec 13, 2025
View pre-edit version
Nov 3, 2025
View pre-edit version
Compare
Save
Save and exit
View history
Log outCommunity platform by XenForo® v2.3.7
Template history
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
Disney Video Clips - For your enjoyment
<font color=green>Look up while you're in line<br>
great!
always in the mood for some videos!
<font color=teal>Moderator<br><font color=red>Hono
How neat! Now I'm homesick

What's that SeaWorld clip doing in there? We'll have none of that here.
Steve
Thanks for posting them. Great little reminders of where we'd all like to be.