Ning Developer Docs

Is there a hack for the footer of your site just like the one for adding a banner under your tabs? I thought I saw a footer hack on here somewhere, but now I can't find it.

Thanks!

Views: 5

Replies to This Discussion

Paste this into your Analytics box:

// Insert Message in top part of footer
var insertionPoint = document.getElementById('xg_foot');
//if the exceptin ID exists we abort
var exceptionElement = document.getElementById('signin_email');
if((exceptionElement == null) && insertionPoint) {
var bannerAdHtml = 'YOUR AD HTML';
insertionPoint.innerHTML = bannerAdHtml + insertionPoint.innerHTML;
}


It will show up inside the footer, above the Ning copyright and the links. Put your ad's HTML where it says YOUR AD HTML. Edit the style of the ad by wrapping it in a div.
Thanks, James. I really appreciate your help!
You're welcome, always glad to help!
thanks man

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service