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

Game for what i believe will be my 100th post :)




Receive up to $1,000 in Onboard Credit and a Gift Basket!
That’s right — when you book your Disney Cruise with Dreams Unlimited Travel, you’ll receive incredible shipboard credits to spend during your vacation!
CLICK HERE








DIS Facebook DIS youtube DIS Instagram DIS Pinterest DIS Tiktok DIS Twitter

Back
Top Bottom