Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
Tags:
The attachments are coming up blank.
For some reason, l can not see nothing when l click on the files.
Nice Script. I was messing around with this one from Ning http://help.ning.com/cgi-bin/ning.cfg/php/enduser/std_adp.php?p_faq...
I have one problem. Even though this working, how do I get this to only load on the main page & not the other pages.
Which code are you using John? It's been a long time since I wrote this tip, and not sure without seeing the exact code.
Best,
Jen
John,
Give this a try:
<script language="JavaScript">
var insertionPoint = document.getElementById('xg_head');
x$(document).ready(function() {
if (x$("div.xg_widget_main_index_index").length > 0) {
var bannerAdHtml = '<div style=" float: center; color: #FF0000; border: 1px; background-color: #DADADA; text-align: center;"><IMG SRC="yourimage"></div>';
insertionPoint.innerHTML += bannerAdHtml;
}
});
</script>
Best,
Jen
Welcome to
JenSocial: Social Web Directory and Ning Tips
Posted by JenSocial on May 7, 2018 at 8:35pm 9 Comments 1 Favorite
Posted by JenSocial on January 6, 2017 at 4:00pm 10 Comments 1 Favorite
Posted by JenSocial on October 22, 2016 at 1:05am 0 Comments 0 Favorites
Posted by JenSocial on September 17, 2016 at 12:00am 26 Comments 1 Favorite
Posted by JenSocial on August 31, 2016 at 3:30pm 13 Comments 0 Favorites
Ning 3.0 Tip - Add Buttons/Links Below Status Update (Quick Links to Add Photos, Posts, Discussions)
Started by Themes - Rosas Negras Mar 20, 2021. 0 Replies 0 Favorites
Started by JenSocial. Last reply by Kos Dec 6, 2016. 64 Replies 4 Favorites
Started by JenSocial. Last reply by JenSocial Jul 26, 2016. 41 Replies 1 Favorite
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.