javascript
$(document).ready(function () {
alert(detectmob());
});
function detectmob() {
if (window.innerWidth <= 800 && window.innerHeight <= 600) {
return false;
} else {
$(".blackbutton").addClass("ismobileblockbutton");
$('.ismobileblockbutton').removeAttr("href")
}
}
media query
@media screen and (min-width:600px) and (max-width: 800px) {
.tbms {
height: 60px !important;
}
}
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Francis SusaimichaelPosted Dec 7, 2015, 10:04 PM
Ramesh SPosted Dec 10, 2015, 11:10 PM