Monday, April 21, 2014
Add a link to show Desktop View for responsive site
<span class="destop-versite">View Desktop Version</span>
var targetWidth = 1280;
jQuery('.destop-versite').bind('click', function(){
jQuery('meta[name="viewport"]').attr('content', 'width=' + targetWidth);
});
var targetWidth = 1280;
jQuery('.destop-versite').bind('click', function(){
jQuery('meta[name="viewport"]').attr('content', 'width=' + targetWidth);
});
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
[フレーム]