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

Birthday Gift Network updated their profile
yesterday
Birthday Gift Network updated their profile photo
yesterday
Paul Corona replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"NING support is useless anymore...I have respnded three times asking questins to a message they…"
Jan 15
Alex - Rosas † Negras posted a discussion
due to personal problems I have not been online anymore, I apologize so much and I am happy to be…
Jan 14
Alex - Rosas † Negras replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"IL PROBLEMA È SEMPRE LO STESSO, NING GLI OPERATORI... DEVONO ELIMINARE I COOKIE SUL VOSTRO SITO"
Jan 14
Vlada replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"I'm no IT expert by any means, but out of curiosity have you tried entering the chat room from the…"
Jan 8
Vlada replied to Eva Libre's discussion
Update, Merry Christmas
"Then add the recent price hike email that Ning has notified to be taking effect soon, I'm not…"
Jan 8
Kos posted a discussion
In November we began to notice Chat "freezing up" and when we would refresh the page, it would…
Dec 27, 2024
Eva Libre posted a discussion
UpdateMerry ChristmasToday I woke up totally frustrated and determined to do something.At the end…
Dec 26, 2024
Eva Libre liked Eva Libre's discussion Ning 3.0 is antisocial!
Dec 25, 2024
Eva Libre updated their profile
Dec 25, 2024
Eva Libre replied to Eva Libre's discussion
Ning 3.0 is antisocial!
"Update
Merry Christmas
Today I woke up totally frustrated and determined to do something.
At the…"
Dec 25, 2024
More…

Meanwhile, you can check our social media channels