Hey guys, just a quick question, I have made a ning network site and attached an iframe as a header and a footer via javascript in the custom code section.

However what I've noticed is that the facebook like buttons that come with ning are clashing with the iframes. If i remove the iframes the facebook like buttons start to work again :(.

Here is the code which attaches the iframes:

x$("#xg_head").before("<div id='custom_header'></div>");
var ad_html = '<iframe frameborder="0" scrolling="no" allowtransparency="true" marginheight="0" marginwidth="0" src="http://blurgroup.com/Global/new-dotnet/newglobalheaderdesigns.php" width="100%" height="99px"></iframe>';
x$("#custom_header").html(ad_html);

x$("#xg_foot").after("<div id='custom_ads'></div>");
var ad_html = '<iframe frameborder="0" scrolling="no" allowtransparency="true" marginheight="0" marginwidth="0" src="http://blurgroup.com/Global/new-dotnet/globalfooternet.php" width="100%" height="500px" style="background-color:#202020;"></iframe>';
x$("#custom_ads").html(ad_html);

Does anybody else have any thing similar to this ? and is there any solution ? rather than inserting all the html via javascript which i'd rather not do.

Views: 69

Reply to This

Latest Activity

Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Same thing here. All of the same issues...in FF and Chrome, but not as bad in Chrome."
31 minutes ago
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/20/13)' in the group The Sandbox
"Edited to add a menu layer suggestion [used the Galaxy SIII]"
39 minutes ago
Allison Leahy replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Sure does. Thanks for capturing this."
1 hour ago
Profile IconAndre Lacerda, solo and 2 other members joined Allison Leahy's group
Thumbnail

The Sandbox

Join The Sandbox to experiment with Ning 3.0 now!The Ning Team will be triaging bug reports and…See More
1 hour ago
Yaron replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
"Some embedded videos from members on our Ning 2.0 site can be seen in full screen, but most cannot.…"
1 hour ago
Kos replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Allison I was just on IE 10 and here was the screen I got.  Look a little empty?  LOL…"
2 hours ago
Fabio replied to Bosco Carvalho's discussion 'Futuro das Redes Ning' in the group Criadores Brasileiros - Brazilian Creators
"Tenho que dizer que concordo com o Thiago, tenho o meu NING 2.0 www.radarhiv.com com 12 mil membros…"
2 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Thanks, I'm using FireFox 20.0.1. I wonder if it's a problem with FireFox and Ning?"
2 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service