Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

Custom iFrame Headers bug ?

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.

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Search the Creators Network

Latest Activity

Scott Bishop replied to George H. Compton IV's discussion (TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Hey George, really awesome job! Works perfect as I squeeze down my window but it's not doing it whe…"
35 minutes ago
George H. Compton IV replied to George H. Compton IV's discussion (tip N3) photo page Fullscreen Zoom controls + Rotate v3.2
"Update 9-18-14 v3.2 In this update I just removed the xg.addOnRequire(function from the JavaScript."
3 hours ago
Jamie Baker (Vision) replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Nice post :) you'd fit in here"
21 hours ago
Sapphire LiLi replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Well everyone.  As much as I'm not really liking the 3.0 set up I have decided that I'm not ready j…"
23 hours ago
Sapphire LiLi replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Well everyone.  As much as I'm not really liking the 3.0 set up I have decided that I'm not ready j…"
23 hours ago
Jennifer Catalano and Pib Kanrisha joined Ning Creators Network
yesterday
Dixie Redmond replied to Dixie Redmond's discussion Ning 3 - Saving photos?
"Ha ha ha!

The transition was fairly smooth so that was good. I do really love the flexibility I…"
Tuesday
soaringeagle replied to Dixie Redmond's discussion Ning 3 - Saving photos?
"no..its not but it will be fixed eventualy
3.0 is awesome  and will be a game changer when its comp…"
Tuesday
Dixie Redmond replied to Dixie Redmond's discussion Ning 3 - Saving photos?
"Ah, thanks. This is NOT an improvement. I do like other things about 3.0, though."
Tuesday
soaringeagle replied to Dixie Redmond's discussion Ning 3 - Saving photos?
"no its not  intentional to prevent photos from being ssaved the issueistyhey aare not beiung displa…"
Tuesday
soaringeagle replied to Dixie Redmond's discussion Ning 3 - Saving photos?
"the issue is photos are displayed as an element background yiu can ruight click save basckground bu…"
Tuesday
Donna Mac replied to PeruCool's discussion Alternatives to Ning social network
"I sent a friend request so you can receive a message...:)"
Tuesday
Jeffrey Haskins replied to PeruCool's discussion Alternatives to Ning social network
"Would like that"
Tuesday
Donna Mac replied to PeruCool's discussion Alternatives to Ning social network
"Jeffrey:  My site is ladiesofthehat.org.  It is a private site and membership is by approval, and i…"
Tuesday
Jeffrey Haskins replied to PeruCool's discussion Alternatives to Ning social network
"Do you have a link to your site.  Want to see what SE looks like"
Tuesday
Donna Mac replied to PeruCool's discussion Alternatives to Ning social network
"Tim:  I am running a site on SE PHP.  It is a learning curve but you do truly OWN every bit of it.  "
Monday
Dixie Redmond replied to Dixie Redmond's discussion Ning 3 - Saving photos?
"We share content about antique folk art with the purpose of being able to save images easily."
Monday
Dixie Redmond replied to Dixie Redmond's discussion Ning 3 - Saving photos?
"Thank you, JFarrow. I thought this might be the case. I will check out Foxy Spider."
Monday
JFarrow replied to JFarrow's discussion Global Project: A Social Network ON a Sailboat, For Education
"many many new updates to the network and the Journey Has Begun!"
Monday
Strumelia replied to PeruCool's discussion Alternatives to Ning social network
"Tim, best of luck with your new project- and if you can manage to, please do keep us posted here on…"
Monday
More…