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

doone replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"The information about Phil and his role is heartening at least.   Thanks for sharing, Jen."
1 minute ago
Jen replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"Good move. All I have to see is that Phil is now the "Head of Product" for Ning. This gives me a lo…"
9 minutes ago
Strumelia replied to Allison Leahy's discussion What are you most excited about?
"Steve, I see your point of view.  Here is just one possible other view of many, and is only one pos…"
49 minutes ago
steve replied to Allison Leahy's discussion What are you most excited about?
"I do get it, but then its just a case that we are dealing with a very confusing situation.
Accordin…"
1 hour ago
Strumelia replied to Allison Leahy's discussion What are you most excited about?
"Goodness. Are you being humorous, I hope?  Maybe I'm misunderstanding? 
SP, I will certainly give y…"
2 hours ago
Garfield Creator replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"500k actually. That's a lot of people. What a shame and there are new twilight shorts planned."
2 hours ago
SweetPotato replied to Allison Leahy's discussion What are you most excited about?
"Well my plugin will cater for that too, not that I expect any thanks from you :-)"
2 hours ago
Writer Chick {Diane} replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"The TWilight saga one is still there.  They've changed their domain name to thetwilightsagacommunit…"
3 hours ago
Tim Atkinson replied to Tim Atkinson's discussion My letter to Bernard Desarnauts, SVP & GM, Ning
"I have also cc'd in Phil McCluskey, late of this parish...."
4 hours ago
Scott Bishop replied to Allison Leahy's discussion What are you most excited about?
"Could not have said that any better Strumelia. It's sad that N3'ers just don't get it. "
4 hours ago
Edie2k2 replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Hilarious. Strumelia you are wrong for making me laugh so hard. So wrong...smh *laughing* Right no…"
6 hours ago
Strumelia replied to Gary Cobb's discussion WHAT'S UP WITH NING 3.0
"My 4000 very active members are passionate about my 5 year old Network.
I persevere for their sake:…"
6 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"A new lonely response to some poor soul, from Ning on their FB page today:




Foxx B Crea
Yesterda…"
6 hours ago
Gary Cobb replied to Gary Cobb's discussion WHAT'S UP WITH NING 3.0
"Love your humour Strumelia.. and your passion and perseverance on Creators. "
6 hours ago
Strumelia replied to Gary Cobb's discussion WHAT'S UP WITH NING 3.0
"Gary, it's not just a UK thing-  you are not the first person to post here about that.  Yes it does…"
6 hours ago
Strumelia replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"Yep, pretty much dead as a doornail.
Check out the main page- too funny!-  their site banner reads…"
6 hours ago
Strumelia replied to Allison Leahy's discussion What are you most excited about?
""Ning 2 will not run along side Ning 3. Ning 2 is going to stop, dead, no more, the end."
Steve,  2…"
6 hours ago
Strumelia replied to Allison Leahy's discussion What are you most excited about?
"I would need a video feature like I have in my 2.0-  where it's my thousands of members who add the…"
7 hours ago
Strumelia replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"Elson i did get some awesome support a few weeks ago on my 2.0 to solve an archiving problem.  The…"
7 hours ago
Strumelia replied to John McDonald's discussion INTRODUCING NING 3.0: THE RE-IMAGINING OF OUR PRODUCT
"Curtis don't be afraid to tell us how you really feel.    =8-o    lol... "
7 hours ago
More…