html - Customize a button in jquerymobile? -
thats jquerymobile button:
<p><a href="#test1" data-role="button" class="testbutton1">test 1</a></p>
and thats css spezification:
.testbutton1 { /* fallback web browsers don't support rgba */ background-color: rgb(0, 0, 0); /* rgba 0.6 opacity */ background-color: rgba(0, 0, 0, 0.6); /* ie 5.5 - 7*/ filter:progid:dximagetransform.microsoft.gradient(startcolorstr=#99000000, endcolorstr=#99000000); /* ie 8*/ -ms-filter: "progid:dximagetransform.microsoft.gradient(startcolorstr=#99000000, endcolorstr=#99000000)"; }
when load html side. nothing happens? whats mistake?
thx in advance
--1.update-- thx answer! ok supporting:
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
but nothing happens... lol
make sure have included:
- core jquery
- jquery mobile
- jquery mobile css
and should work - http://jsfiddle.net/jhvqh/
also don't think need support old ie-s on mobile devices.
Comments
Post a Comment