aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes jScrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "jScrollPane" Watch "jScrollPane" New topic
Author

jScrollPane

Eduardo Ramirez
Greenhorn

Joined: Jan 20, 2013
Posts: 4
Hello, I am new at this stuff, I am using JScrollPane on a website and I was using how to change the rectangle thingy that moves in the scrollbar into an image instead of just a plain color. here is the code on the css sheet:
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

Eduardo Ramirez wrote:I am using JScrollPane on a website...


Well, if you're doing that with an applet, then CSS has nothing to do with it. Or are you somehow doing it in some other way?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

I assume it's the jQuery plugin that he using. Moved to the HTML forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eduardo Ramirez
Greenhorn

Joined: Jan 20, 2013
Posts: 4
well, i also have the actual javascript here:

[Edit: removed the pages and pages of code for the jQuery plugin. Anyone who want to see the code can download it from the plugin's web site.]
Eduardo Ramirez
Greenhorn

Joined: Jan 20, 2013
Posts: 4
I thought maybe on the css all I had to do was change the :

background: url() thing instead of background: #color
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

If the plugin makes allowances for such it will be documented on the plugin's web site. (It really was not necessary to post the hundreds of lines of code for the plugin.)

Otherwise you might be able to do it with CSS, but you'd need to make sure it's being applied to the correct element. Looking at the DOM in the browser's debugger will help with this.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4167
    
    3

Eduardo Ramirez, please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/javaserver-pages-jsp-jstl/67888-jscrollpane.html


luck, db
There are no new questions, but there may be new answers.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32708
    
    4
Welcome to the Ranch
Please always use the code button; I have applied it to your code and you can see how much better it looks. I have also applied the disable smilies option, so when you write :‍o it doesn’t appear as
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: jScrollPane
 
Similar Threads
Absolute Position in IE
DIV shrinks to fit its content
CSS issue in Grails app, but question is on CSS
Problem hiding div within div
Need help editing some css if possible (SOLVED)