GTAForums does NOT endorse or allow any kind of GTA Online modding, mod menus, tools or account selling/hacking. Do NOT post them here or advertise them, as per the forum rules.
*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.
} else {
var advertScriptBlock = document.scripts[document.scripts.length - 1]; // A reference to the currently running script
var wrapperDiv = document.createElement('div');
wrapperDiv.style.textAlign = 'center';
wrapperDiv.style.margin = '0 0 10px 0';
wrapperDiv.style.height = '90px';
advertScriptBlock.parentElement.insertBefore(wrapperDiv, advertScriptBlock);
document.addEventListener('DOMContentLoaded', function () {
var placement = document.createElement('div');
placement.style.display = 'inline-block';
placement.setAttribute('class', 'vm-placement');
/* if(wrapperDiv.clientWidth >= 970) {
// 728x90, 970x250, 970x90 dynamic
placement.setAttribute('data-id', '{$tagId970}');
} else */
if(wrapperDiv.clientWidth >= 728) {
// 728x90 static
placement.setAttribute("data-id", "5fb3a271bbcfff12fe0118ee");
placement.setAttribute("data-display-type", "hybrid-banner");
} else {
// 300x250 static
wrapperDiv.style.height = '250px';
placement.setAttribute("data-id", "5fb3a25056b767375fc68390");
}
wrapperDiv.appendChild(placement);
window.top.__vm_add.push(placement);
});
}
})();
Whats new in GTAO E&E?
-
1 User Currently Viewing0 members, 0 Anonymous, 1 Guest
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now