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 .
For Jane Austen Pride and Prejudice Fans
I just blogged my heart out for my favorite author with favorite clips from her movies, Jane Austen. I would love it if you could take a look and give me your thoughts. These films have really positively impacted my life and given me hours upon hours of joy in watching them and I wanted to share them with you all.
http://ninascd.blogspot.com/2009/08/finding-joy-with-jane-austen.html
Thanks
Have you seen the ridiculous book Pride and Predjudice and Zombies?
Have you seen the Sense & Sensibility from the BBC in 2008? As much as I love Alan Rickman, I think this version was more enjoyable. Great movie.
You should rent North & South, a BBC adaptation of Gaskell's novel. It's a little similiar to Jane, but not completely. A great movie to watch!
Have you seen the ridiculous book Pride and Predjudice and Zombies?
My 18yodd bought me that.