?
Solved

Javascript Scroll

Posted on 2012-04-09
1
Medium Priority
?
320 Views
Last Modified: 2012-04-23
Is the following written properly to work in all browsers?  I am replacing the regular scroll bar with a customized one and it does not seem to work in IE.  Please look at the following and let me know if it is correct.  Thanks in Advance!

<script>
$(document).ready(function()
{
	$('.scroll-pane').jScrollPane(
		{
			showArrows: true,
			horizontalGutter: 0,
			verticalGutter: 0
		}
	);
});
</script>

Open in new window

0
Comment
Question by:rgranlund
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
HagayMandel earned 2000 total points
ID: 37825612
Maybe this will help (from jScrollPane's site):

FAQs

jScrollPane doesn't work in Internet Explorer on my site

There are two common reasons for jScrollPane failing in IE:

You have a trailing comma in your settings initialiser. Trailing commas in array or object literals break in IE.
You are manually adding the jScrollPaneContainer in your markup. This container is added by jScrollPane - you should not add it yourself. View source of the examples (e.g. not the GENERATED source in firebug) to get the correct syntax.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article discusses how to implement server side field validation and display customized error messages to the client.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question