I'd like to know if there is code I can add to the My Network>Tools>Custom Code section of my site so that the header, right column, and tabs navigation are removed or hidden for a specific page. The page opens in a new window and loads an iframe, but I don't want any other navigation within that page to show. Thanks anyone.

Views: 22

Replies to This Discussion

I'm not sure if this is everything you want to remove, but I believe it's a start and will get you going in the right direction. I'm using the same code that is used in the tip to remove right column from specific pages, except that I've added an extra line to remove the entire navigation bar. Be sure to change the page name to your specific page name.
And for the base instructions go here:
http://jensocial.com/group/ningnetworktips/forum/topics/how-to-remo...

<script type="text/javascript" language="javascript">
if (window.location.href.split('page/')[1] == 'your_page_name') {
x$('.xg_widget_page .xg_last').css('display','none');
x$('.xg_widget_page .xg_3col').css('width','955px');
x$('.xg_widget_page .xg_span-16').css('width','945px');
x$('#xg_navigation').css('display','none');}
</script>

Best Regards,
Jen
Once again Jen, you're pure genius. ;-) Now, if only I could get the page to just load in a separate window instead of a browser window. Otherwise, it works fine.

RSS

Members

Latest Ning Tip

© 2026   Created by JenSocial.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Home
VIP Ning Tips