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 Jackson updated their profile
Aug 28
eric1612 updated their profile
Aug 20
Tony A updated their profile
Aug 13
Tyler Masonry updated their profile
Aug 9
⚡JFarrow⌁ posted a discussion
I am trying to find just one working example of an app or utility that runs with the Ning API. No…
Aug 7
Eva updated their profile
Aug 2
Eva liked Steve C's discussion Ning's staff is in Kyiv. Keep them in your hearts.
Aug 2
Eva liked ⚡JFarrow⌁'s discussion What is going on with Ning? What Do We have to Look Forward To?
Aug 2
Chris Egg updated their profile
Jul 30
Eva liked Ning Support's discussion New feature added into Group Permissions
Jul 29
Arissa Seah updated their profile
Jul 27
APOSTLE TEYSHANA WILEY liked Ning Support's discussion New feature added into Group Permissions
Jul 25
More…

Meanwhile, you can check our social media channels