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
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
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 .
Should we rent a car? First time WDW visit
I just purchased the Birbaum WDW Travel Book. In it states that the WDW Transportation System is good but count it taking a long time getting around. It said 45 plus minutes and can be 90 minutes during the busy season (Holidays, when school is out, etc.) Think about it when you have dinner reservations or other special plans. My husband insists on a rental car wherever we go. I really considered not getting one our next trip, April 2014, but the more I think about it, the more I think we should get one.