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

For as long as I can remember, I have always wanted to use custom colored scroll bars on my Ning website. Until a few days ago, I could never get it to work.

After reading this blog post http://tympanus.net/codrops/2011/09/30/scrollbar-visibility-with-jscrollpane/ and the credit in that blog post to given to another developer, I was able to add custom colored scroll bars to the latest activity module on my Ning website. You can view the demo here. Scroll down until you see the "Latest Activity Module".

If you would like to add custom colored scroll bars to your Ning website "Latest Activity Module", follow my directions below.

First:

Add this code to your advanced CSS area...

/****Controls Latest Activity Module Scroll Height and Specifics****/
.scroll-pane {height: 493px;overflow : hidden;position:relative;}

/****Controls track color****/
.jspTrack {background: #ffffff; border-left: 1px solid #D0D0D0;}

/****Controls bar color****/
.jspDrag{ background: #74A1C1;}




Next, save all files below to your computer and then upload them to your Ning website through a text box. You do this by clicking on the edit button of the text box, clicking on the "Paper Clip" and then uploading the file. Copy the URL, click the cancel button.



Take the URL for each file and paste it in the appropriate spots below. You can tell which spot the specific file goes into, by looking between the words URL-FOR-"bla-bla"-GOES-HERE". After you have uploaded and pasted all files, copy all the code below and paste it in your custom code box.

<link type="text/css" href="URL-FOR-jquery.jscrollpane.css-GOES-HERE" rel="stylesheet" media="all" />


<script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>


<script type="text/javascript"src="URL-FOR-jquery.jscrollpane.min.js-GOES-HERE"></script>


<script type="text/javascript"src="URL-FOR-jquery.mousewheel.js-GOES-HERE"></script>


<script type="text/javascript">$(".xg_module_activity").addClass("scroll-pane");</script>


<script type="text/javascript">$(function(){ $('.scroll-pane').jScrollPane();});</script>



Report any bugs, by replying to this discussion.



-Flint

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

  • NC for Hire

    Nice... thanks for sharing it

  • Cool

     

  • not working i save all 3 files separately in ms word and then uploaded one by one text box and their url like this

    <link type="text/css" href="URL-FOR-https://storage.ning.com/topology/rest/1.0/file/get/3231185?profile=..." rel="stylesheet" media="all" />


    <script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>


    <script type="text/javascript"src="URL-FOR-https://api.ning.com/files/usuQUzkCb7Q30NB5yEsKQlCSzI*zW73cH*aMddrdy4wS-mrBGlDdh0npwoZFvVqq*OiMNXaNlj8lpROgszrKxUDsrsGAubrS/jScrollPane.dox-GOES-HERE"></script>


    <script type="text/javascript"src="URL-FOR-https://api.ning.com/files/QCbPCIv3aZ0alUS5pmZk588K*F-N4IJUNoXovUW3Kiy9XKL*ftUlZAMSY7hZU0-M40UOTQahwTUUlNlCNO3lrvX7yOVbx53k/Copyright.dox-GOES-HERE"></script>


    <script type="text/javascript">$(".xg_module_activity").addClass("scroll-pane");</script>


    <script type="text/javascript">$(function(){ $('.scroll-pane').jScrollPane();});</script>

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

Paul Corona posted a discussion
Been fighting migration issues since we moved to 3 months ago....we literally have hundred of links…
May 6
Paul Corona commented on Karen Hardy's blog post Terrified about 3.0 upgrade
"My personal thought.....had Ning 2 site (NavyDads) for quite a few years....the transition has NOT…"
May 5
Nextholidays updated their profile
May 2
Online Koranlehrer Deutschland updated their profile
Apr 27
Peter Bliss and ⚡JFarrow⌁ are now friends
NC for Hire
Apr 20
⚡JFarrow⌁ replied to Peter Bliss's discussion
Looking for Ning 3 Site Develop / Asst.
"I'll send you my contact info."
Apr 18
Graduslive updated their profile
Apr 13
Peter Bliss posted a discussion
Hello Ning Creators.  I have been on Ning for the last 12 years migrating from Ning 2 > 3 a few…
Apr 10
Peter Bliss updated their profile photo
Apr 10
Peter Bliss updated their profile
Apr 10
Kathleen (SunKat) updated their profile
Feb 20
Scott Bishop posted a discussion
OMG! AI does it all. Anything you want to light up your Ning site, just ask Google AI. That's what…
Feb 5
More…

Meanwhile, you can check our social media channels