MediaWiki:Common.js: Difference between revisions

From Bhikitia Pro, An open encyclopedia
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
   `;
   `;
   $('#footer').prepend(footerAd);
   $('#footer').prepend(footerAd);
});
document.addEventListener("DOMContentLoaded", function () {
    const adBox = document.getElementById("ad-container");
    if (adBox) {
        adBox.style.background = "#222";
        adBox.style.color = "white";
        adBox.style.padding = "10px";
        adBox.innerHTML += "<p>Loaded from JS</p>";
    }
});
});

Latest revision as of 16:03, 28 May 2026

$(document).ready(function () {
var footerAd = `
<div style="border: 2px solid #004466; background-color: #e6f4fa; padding: 8px 12px; margin: 10px auto; text-align: center; font-family: Arial, sans-serif; font-size: 1em; border-radius: 6px;">
<strong style="color: #004466;"><a href="https://VextraWeb.com/"> VextraWeb</a></strong>
<span style="color: #006699;">#1 Knowledge Panel Provider – Trusted for verified results worldwide.</span>
</div>
  `;
  $('#footer').prepend(footerAd);
});