randolph249 / iscroll-js

Automatically exported from code.google.com/p/iscroll-js
MIT License
0 stars 0 forks source link

Buttons within scroller, no feedback #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, first of all: A really good script!

Got one issue...If I place a button within the scroller div, there is no 
click-feedback. The form is beeing submited, but the user gets no visual 
"button press" feedback.

Tried it on Android 2.0 and iPhone/iPad.

Original issue reported on code.google.com by alcove.a...@googlemail.com on 21 Jun 2010 at 11:18

GoogleCodeExporter commented 9 years ago

Original comment by mat...@gmail.com on 21 Jun 2010 at 5:14

GoogleCodeExporter commented 9 years ago

Original comment by mat...@gmail.com on 22 Jun 2010 at 9:42

GoogleCodeExporter commented 9 years ago
i've got the same problem, but it works with links, then you can simulate 
button with <a href="#">ok</a> and a nice style like this :

a:link.grayBtn {
    height: 30px;
    background: -webkit-gradient(linear, left top, left bottom, from(#BCBCBC), to(#6C6C6C));
    padding: 5px 10px 6px;
    color: #ffffff;
    text-decoration: none;
    font-family: Helvetica;
    font-weight: bold;
    font-size:16px;
    border:solid 1px black;
    -webkit-border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px #565c56;
}

a:active.grayBtn {
        background: -webkit-gradient(linear, left top, left bottom, from(#5d5d5d), to(#1f1f1f));
}

but i've similar probleb with <select>

Original comment by ph.charriere on 28 Jun 2010 at 6:03

GoogleCodeExporter commented 9 years ago
It's ok now, thanks a lot

Original comment by ph.charriere on 9 Jul 2010 at 4:24

GoogleCodeExporter commented 9 years ago
I am facing following issue with buttons (not using any style property)
If button is within scroll, and page contents are less than div size, no issue 
all buttons are getting rendered properly.
But if div contents are more than div size buttons are losing 3D effect. Click 
still works but display is just like text.

Any solution?

Original comment by jayabi...@gmail.com on 5 Feb 2012 at 3:45