We help IT Professionals succeed at work.
Get Started

Adding localScroll plugin stops the rest of my javascript plugh

soujohn
soujohn asked
on
373 Views
Last Modified: 2012-05-09
Greetings,

This is the first time I've posted anything to Experts Exchange. I hope my form of asking questions is too difficult or frustrating. The issue I'm having is that I would like to nest a series of panels that scroll using localScroll into a container that scrolls using CodaSlider. I have gotten the structure all correct, but once I try to call the localScroll function for the nested panels all of my scripts stop working. Have I called the plugin incorrectly? Or is this something that is not possible using these two scripts together. I really hope I can do this. It just seem that I'm calling something incorrectly. Here is a link to the page with the issue.
http://www.soujohn.com/clients/sil/test/index-work.html

If you remove this section of code from the header everything else works fine, but then the content inside of the Work section won't scroll.

                                                $('#section-work').localScroll({
                                                            target:'.section'
                                                            axis:'xy'
                                                            queue:true
                                                            hash:false
                                                });

Thanks for any help you can provide.
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE