Here is my situation - I'm working on a web-site using only JQM
controls and doesn't matter, if the site is accessed from desktop or mobile device the site is using JQM
controls.
I'm using ASP.NET
so inside the code a typical controls look like this:
<asp:Button runat="server" data-theme="b" data-icon="check" data-mini="true" SkinID="btnSelectMiniB"/>
<asp:Button runat="server" data-theme="b" data-icon="arrow-r" data-iconpos="right" data-mini="true" SkinID="btnViewMiniB"/>
<asp:DropDownList runat="server" data-theme="b" SkinID="ddlThemeB"></asp:DropDownList>
I need a technique that will allow me to incorporate new styling for non-mobile devices, without creating new website. Can I turn off JQM
scripts and CSS
somehow, if my web-site is accessed via mobile browser? Are these data
tags going to be a problem, if I turn off the JQM
(somehow). Are there any other underwater stones that could appear? How can I then handle the situation, when the site is accessed via mobile devices and I need to override the desktop styling?
Any starting tips with code snippets will be highly appreciated.