Current status of the Ning Platform is always available on the Ning Status Blog.

This tip is compatible with IE8+, FF7+, Chrome, Safari and Opera10+. See the Live Demo. Scroll to see my menu.

This little plugin is was orignaly created by Nick La as a "Scroll to top" button. I made some very minor modifations to it, a little CSS tweaking to #xg_navigation and it gave me just what I wanted for my hidden website navigation menu.

To use it is very simple.

Add the code below to your custom code box.

<script>
$(document).ready(function(){

// hide targeted element first
$("#xg_navigation").hide();

// fade back in targeted element
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 50) {
$('#xg_navigation').fadeIn();
} else {
$('#xg_navigation').fadeOut();
}
});
});

});
</script>



Now add the code below to your advanced CSS box.

/*Onscroll-Menu*/

.xg_theme #xg_navigation {
margin-top: -173px;
margin-top: -212px \0/; /* IE8+9 */
position: fixed;
z-index: 10;
}
/*Bug-Fix-For-Mozilla-Browsers*/
@-moz-document url-prefix() {
.xg_theme #xg_navigation {
margin-top: -212px
}
}



You will most likely will have to make some adjustments to the margin-top propeties to get it just right when viewing it in all browsers.

As Always:

If this does not go off without a hitch, please don't get upset. I may have left something out. Reply below if you need help.

Don't forget to share with us all how you used this tip and any modifications you may have made to make it work on your Ning powered website.

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • nice

    • Thank you

  • @anthony..nice find...but having problems with it in differtent browser,have to play with code a lil bit.

    • Yes, there are margin issues in Firefox and IE. I have included a work around for FF and IE in the CSS. Is this not working for you or are you saying my display is off?

      If it is your site where you are having issues, can you share your URL and I will see what I can do. Which browser and version are you having issues with?

  • This reply was deleted.
    • Thank you

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

APOSTLE TEYSHANA WILEY liked Ning Support's discussion New feature added into Group Permissions
yesterday
Lady updated their profile photo
Thursday
bryant tutas posted a discussion
Cant figure out how to add playlists. All my loaded songs are in the same list and I don't see an …
Tuesday
Angie Breidenbach updated their profile
Monday
Ning Support posted a discussion
 
We’ve expanded Group Admin capabilities with a new permission: Delete Comments
Where to find it…
Jul 20
kostasgr liked Alex - Rosas † Negras's discussion I managed to add group video calling, if anyone is interested I will post the codes
Jul 8
Steve C replied to ⚡JFarrow⌁'s discussion
What is going on with Ning? What Do We have to Look Forward To?
"Ning is based in California but operations are in Kyiv, Ukraine. Due to the war, operations may…"
Jul 6
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"⚡JFarrow⌁  
I'm working on the stories and I don't have time to work on the video call you just…"
Jun 28
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"if you want I'll give you the codes privately and we'll see if the two of us can make it perfect"
Jun 27
Eva and ⚡JFarrow⌁ are now friends
NC for Hire
Jun 25
⚡JFarrow⌁ replied to Eva's discussion
For three days now, my networks, Ning 2.0 and Ning 3.0, are incorrectly visible
"Ug... thats not right..  ill send you my phone number in messages and we'll talk it over."
Jun 24
Eva replied to Eva's discussion
Help Help Help
" I just started a test network on Ning. I'm having the same problems there too! No photos, in…"
Jun 21
More…

Meanwhile, you can check our social media channels