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

John Bizley replied to John Bizley's discussion My New Media Centre Including Music
"Thanks Zachary
The main page is just a custom page using the wide top and two columns beneath, all…"
3 hours ago
John Bizley replied to John Bizley's discussion Added My 'Facebook Style' Layout To My Demo Site For Photos
"Thanks Zachary
I will add all the code etc into my demo site once I finish a few tweaks here and th…"
4 hours ago
Zachary Moonshine replied to John Bizley's discussion Added My 'Facebook Style' Layout To My Demo Site For Photos
"now that is cool man puts the photos big and up top so you can see them and puts comments on the si…"
5 hours ago
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"I'm not having any problems either, in windows/firefox nor Mac/safari."
17 hours ago
Zachary Moonshine replied to John Bizley's discussion My New Media Centre Including Music
"this looks awesome man i love the layout for this very clean and everything is available "
18 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"yeA its weird its random it happens a whole lot just not every time"
22 hours ago
Kos replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"That's odd.  It never happens to little old me.  (good luck for a change)"
22 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"see that time i typed i b4  the editor loaded tyoed the rest and it didnt send
i said i have reinst…"
22 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"i"
22 hours ago
Kos replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"Check your browser or run a scan bro.  I've had no problems here at all (FF)"
23 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"site builder will be perfected by then if u read my tip on how i built the front page forum display…"
yesterday
Kos replied to Rob Nanya's discussion Any simple way to put the site offline?
"Ning had that in 2.0 but hasn't implemented it in 3.0.  At the rate things are going, I'll be in a…"
yesterday
Kos replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"Guess I'll have to make more time to re-visit JR.  Maybe after the holidays.  Just too crazy right…"
yesterday
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"im gonna sign up in there site so i can start talking to them and see what they can do for me as we…"
yesterday
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"yes exactly  its very good choice  the music is an add in n but they were orifginakly gesared towar…"
yesterday
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"jamroom may be a good spot to stick my radio in the future if ning does not work out after checking…"
yesterday
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"Each of the 3 has its strengths and non-strengths.  No one choice fits all."
yesterday
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"i want music as a plugin to the site but not its main focus i am more interested in having somethin…"
yesterday
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"bad pr
look at how frackings  screwing up the environment   like crazy but then exxon puts out an a…"
yesterday
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"why those when jamrooms built for music at its core"
yesterday
More…