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 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Francis SusaimichaelRank #466 · 5.4K reputationPosted Dec 7, 2015, 5:04 PM EST
Ramesh SRank #5,681 · 290 reputationPosted Dec 10, 2015, 6:10 PM EST