Ning Developer Network

How to display ning page in iframe?

Share

Reply to This

Replies to This Discussion

It is impossible - the Ning page will pop out after giving you a javascript error.

Reply to This

doone's right.
Ning sites throw errors when served in an Iframe. Ning has added javascript to prevent you from putting the site in an iframe.

Reply to This

I want to know how to delete this javascript code so that I can putting the site in an iframe

Reply to This

Unfortunately you can't.
Ning has several files that are included in every page served, and the javascript is in one of those files.
You can't remove it and if you did, your site wouldn't function properly in an Iframe anyway.

Reply to This

thanks ,I have solved it.I remove the "" in a file called footer.php.
the page can display in iframe.

Reply to This

Interesting - so changing the footer.php file will allow you to put a created Ning page in an iframe?

Reply to This

yes ,remove the "body html" in the last

Reply to This

Reply to This

RSS

© 2009   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service