I followed a great tip for a custom nav bar, (http://creators.ning.com/forum/topics/by-request-im-sharing-my?xg_s...

however the Nav Bar appears on every page of my client's site, including terms of service. It even blocks certain fields as someone is signing up. (see attachment) Does anyone know how to remove it on certain pages? Any help would be appreciated. The site I am referring to is http://www.s-men.org

Views: 265

Attachments:

Reply to This

Replies to This Discussion

okay , there's a way to prevent that.

first,

add an ID to the navigation bar.

<div id="custom-nav" style="xg-p:absolute; left:50%; margin-left:-505px; width:955px; top:200px;">

</div>

okay now the script that prevents it to show up in sign up and sign in(use this in custom code)

<script type="text/javascript">

if(x$('.xg_widget_main_authorization').length){

   x$('#custom-nav').css('display','none');

}

else{
}

</script>

That's it , it should hide it from sign up and sign in.

RSS

Latest Activity

CocteauBoy replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"@John, I looked at this yesterday (I thought) and I guess I didn't do a side-by-side, but…"
18 minutes ago
Franco Mercalli replied to Franco Mercalli's discussion 'How to securely access external resources when Ning Apps will be gone?'
"Thanks Phil! So, the general idea is that I should append to the iframe's scr attribute (that…"
19 minutes ago
CocteauBoy replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"@Dustin, thank you!! This is the first time I'm seeing potential. Beautiful! That's…"
21 minutes ago
CocteauBoy replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"@Writer, I don't mean to criticize anyone's personal taste or network. I'm only…"
24 minutes ago
Phil McCluskey replied to Franco Mercalli's discussion 'How to securely access external resources when Ning Apps will be gone?'
"Hi Franco, We currently have a javascript object on each page that contains information relating to…"
56 minutes ago
Phil McCluskey replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Hi Elshara, Interesting idea! We don't have plans to implement a more granular permissions…"
1 hour ago
Paul Corona replied to Suzie Nielsen's discussion 'Watching Cultivating videos- have questions!'
"I send a welcome message to everyone and personalize it:   Welcome to NavyDads.com <...>…"
2 hours ago
DAvid Cordina replied to kid k's discussion 'Poster ici vos adresses de reseaux NING !' in the group Ning French Networks
"Les réseaux apprenants créés par les Alliances Françaises en…"
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service