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

FedMedic replied to FedMedic's discussion Sliders anyone?
"Same here Diane, I'm not understanding why it is not working in 2.0."
53 minutes ago
FedMedic replied to FedMedic's discussion Sliders anyone?
"Well, not any of the suggestions worked. :( Thanks so much for your help!"
55 minutes ago
John Bizley replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"This sentiment about not paying has been brought up before but Mode do not care about their custome…"
1 hour ago
John Bizley replied to Anam's discussion Blogs Gone ~ Ning 3
"I agree Jen this is unacceptable, it's been nearly 17 hours since I sent a ticket in about it and g…"
1 hour ago
Anam replied to Anam's discussion Blogs Gone ~ Ning 3
"Agreed SP, it makes a site look very bare and silly. I reported  a ticket as soon as I posted here,…"
4 hours ago
SweetPotato replied to Anam's discussion Blogs Gone ~ Ning 3
"Yes, same issue across all Ning 3.0 sites that I work on. It's affecting blog module content not th…"
4 hours ago
Miche Marie replied to Lucia Steele - CTRNetwork's discussion Question: NING 2.0 vs. 3.0
"And looking around to see more things missing. . .haha. :P
Is there an advanced search feature like…"
5 hours ago
Miche Marie replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"Ok I got an answer from Ning and I did indeed (unfortunately ha ha) read into their statement corre…"
5 hours ago
Miche Marie replied to Lucia Steele - CTRNetwork's discussion Question: NING 2.0 vs. 3.0
"Aww thank you Lucia and Strumelia!! 
Strum~ I think they should have hired You to be Ning support!!…"
6 hours ago
Eugene replied to Anam's discussion Blogs Gone ~ Ning 3
"I agree.  I'm pretty concerned as this issue hasn't been resolved for over 10 hours now.  Our homep…"
7 hours ago
Manu luz replied to Anam's discussion Blogs Gone ~ Ning 3
"Hello family because not reported on this so we know they have to tell us we are the customers , wh…"
8 hours ago
Fire-Tech replied to Anam's discussion Blogs Gone ~ Ning 3
"Mine are up (including main blogs and group blogs), but not displaying on main page module."
8 hours ago
Kos replied to Anam's discussion Blogs Gone ~ Ning 3
"They confirmed it and are looking into it (per an email response I have)"
9 hours ago
Jen replied to Anam's discussion Blogs Gone ~ Ning 3
"This is happening on every site I check, and unacceptable that it has been this many hours. Ning ne…"
9 hours ago
Writer Chick {Diane} replied to FedMedic's discussion Sliders anyone?
"Well, I guess I'm too dumb to install this, then.  The only directions I see are for installing it…"
11 hours ago
Writer Chick {Diane} replied to FedMedic's discussion Sliders anyone?
"Thanks! "
12 hours ago
JFarrow replied to FedMedic's discussion Sliders anyone?
"yes it does.  I have successfully integrated at least one instance of every plugin on 2.0.  Hope th…"
12 hours ago
Writer Chick {Diane} replied to FedMedic's discussion Sliders anyone?
"Does this Powr slider even work on a 2.0?  I was just looking at the site and it seems that the dem…"
12 hours ago
Eugene replied to Anam's discussion Blogs Gone ~ Ning 3
"Yes, this is happening on our site too.  Must be a Ning 3 issue.  "
15 hours ago
Lucia Steele - CTRNetwork replied to Lucia Steele - CTRNetwork's discussion Question: NING 2.0 vs. 3.0
"Great to know... thanks for the heads up!"
15 hours ago
More…