Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-16-2012, 05:39 PM   PM User | #1
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 941
Thanks: 7
Thanked 95 Times in 95 Posts
WolfShade is an unknown quantity at this point
nanoScroller - more than one per page?

Hello, everyone.

Has anyone successfully managed to get more than one instance of nanoScroller working on a page? I either get errors, or the native scrollbar appears.
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Old 11-16-2012, 07:35 PM   PM User | #2
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 941
Thanks: 7
Thanked 95 Times in 95 Posts
WolfShade is an unknown quantity at this point
I should probably give some details, although the original question was really just to see if anyone else successfully accomplished it.

I have a page (jobs.cfm) that, upon initial load, lists job requests on the left side (this is using nanoscroller, no problem); when one is clicked, the details appear on the right side (which is blank when the page first loads) by making an AJaX call to another .cfm page, grabbing the data, and using jQuery to populate the area.

The jobs.cfm page has a defined area of width and height for displaying the data, which leaves a 60px border on top, and dynamic-sized borders on left, right, and bottom. Towards the bottom of jobs.cfm is the command to initialize nanoscroller: $('#about').nanoScroller();

I've tried initializing the second instance of nanoscroller after the new data loads (there has to be SOMEthing there, otherwise there is no height, so nanoscroller won't work.) Most of the time, I get an error message (a style in the jquery.min.js doesn't exist), but sometimes the first scroller will appear as a native scrollbar, while the second one still doesn't start.

Anyone else experience this issue?

Thank you,
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Old 11-20-2012, 01:35 PM   PM User | #3
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 941
Thanks: 7
Thanked 95 Times in 95 Posts
WolfShade is an unknown quantity at this point
Anyone?
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:35 PM.


Advertisement
Log in to turn off these ads.