I did it like this: (manually change viewport)
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function (){
$(window).resize(function()
{
var show_width = $(window).width();
document.getElementById("svp").value=show_width.toString();
});
});
</script>
<style>
#svp{color:#fff; position:fixed; right:4px; top:0; border:0; background:#000; width:40px; text-align:center;}
@media (max-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.3) {
#svp{display:none;}
}
</style>
<input type="input" id="svp" value="" name="width" />
[ed. note: fourroses666 last edited this post 12 years, 5 months ago.]
Evolution user, I like the back-end speed and simplicity
