PDA

View Full Version : Facescroll -- vertical scrollbar not appearing



DDmUSA
04-07-2014, 11:15 AM
1) Script Title: Facescroll Custom Scrollbar

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/facescroll/index.htm

3) Describe problem:

I have a page located at:
http://workreleaseband.com/sample1/home.html

I have a DIV with a height of 2000 pixels named container-2. I wanted this section to have vertical scroll bars and to not have the default scroll bars that are showing on the page now.

What am I missing?

vwphillips
04-07-2014, 01:17 PM
i had problems with the DD example using IE and added a class rule to the CSS to fix it



.styled-v-bar{ /* sample CSS class for a different vertical scrollbar look */
background: url(custom-scroll-bar.png) center top no-repeat;background-Color:red;
width: 10px;
margin-right: 0;
margin-bottom: 4px;
}

.styled-v-bar ins{ /* Style for the "ins" inner element, or bottom of the scrollbar */
display: block;
background: url(custom-scroll-bar.png) center bottom no-repeat;
width: 10px;
height: 4px;
position: absolute;
top: 100%;
}

.alt-scroll-holder {
overflow:hidden;
}


how ever the scroll height must exceed the parent DIV height for the scroll bar to show

DDmUSA
04-07-2014, 07:01 PM
I am still not seeing the vertical scroll bars and the default scroll bar still appears on the page as well.

DDmUSA
04-07-2014, 08:12 PM
Is it possible to have the facescroll bars replace the default vertical scroll bars for an entire page? The only scroll bar I would like to see is the facescroll.