cynde
06-05-2014, 05:48 PM
1) Script Title:
Slick Custom Scrollbar
2) http://www.dynamicdrive.com/dynamicindex11/scrollc.htm
3) Describe problem:
How do I make this scrolling content work on touch screen?
I'm new to js, jquery.
Here is the site I need to fix:
jeffballardpr.com
If I have to, i could set the textbox to where it just stays completely open on tablet and smartphone, without the scroll.
I've been unable to make that work with this css:
@media screen and (min-width: 321px)
and (max-width: 768px) {
.scrollcontent1-bar {
width: 5px;
padding: 0px;
background-image:url(../image/ScrollerRail.jpg);
background-repeat:repeat-y;
background: #fff;
border-radius: 0px;
box-shadow: inset 0px 0px 1px;
overflow:auto; /*This is what causes the problem on touchscreen devices*/
}
div[rel='scrollcontent1'] {
width: 420px;
height: 1200px;
padding: 0 20px;
margin: 60px 260px 20px 0;
overflow:auto; /*This is what causes the problem on touchscreen devices*/
}
}
Thanks for your help.
Slick Custom Scrollbar
2) http://www.dynamicdrive.com/dynamicindex11/scrollc.htm
3) Describe problem:
How do I make this scrolling content work on touch screen?
I'm new to js, jquery.
Here is the site I need to fix:
jeffballardpr.com
If I have to, i could set the textbox to where it just stays completely open on tablet and smartphone, without the scroll.
I've been unable to make that work with this css:
@media screen and (min-width: 321px)
and (max-width: 768px) {
.scrollcontent1-bar {
width: 5px;
padding: 0px;
background-image:url(../image/ScrollerRail.jpg);
background-repeat:repeat-y;
background: #fff;
border-radius: 0px;
box-shadow: inset 0px 0px 1px;
overflow:auto; /*This is what causes the problem on touchscreen devices*/
}
div[rel='scrollcontent1'] {
width: 420px;
height: 1200px;
padding: 0 20px;
margin: 60px 260px 20px 0;
overflow:auto; /*This is what causes the problem on touchscreen devices*/
}
}
Thanks for your help.