Because I am using a responsive website that would rely on Javascript (Foundation top-bar), if the javascript is disabled, then it is impossible for the user to navigate throughout the site. So, is there a way to make the website non-responsive, ie making the website think that it's on a desktop, inside the <noscript>
tag?
I have researched and could not find anything related to this matter.
You will have add some other css in that case
<noscript>
<style link="link_to_file.css"/>
</noscript>
The easiest way to solve this is to assign different layouts for different screen sizes. For example, ZURB Foundation has the capability of hiding or showing contents on a specific screen size using the tag .show-for-small-only
and so on, so combining it with the <noscript>
tag, a non-responsive layout can be displayed only in a small screen, no JavaScript device.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.