[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Javascript Scroll

Posted on 2012-04-09
1
Medium Priority
?
328 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

650 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