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 .
Tampa to WDW Construction?
My parents are picking up me and my daughter from Tampa Airport a week from today. I just saw there is some sort of construction on I-4. Anyone have any idea how much drive time that will add for them? We just want to be sure they leave early enough to get to us when we land.
Retired and living 2 miles from The Castle.
DIS Lifetime Sponsor
Did the drive to TPA in December and there is construction as you get into the city (but not on I-4 itself) that will slow you down probably 10-15 minutes.
If you're referring to some recent news stories about major construction on I-4 itself, that's happening in the down-town Orlando area and shouldn't affect the drive between WDW and TPA.