December 16, 201213 yr I have a design, and as with practically all of my work right now it uses a responsive approach (read: media queries) to make it usable on all screen sizes. At mobile-sized resolutions though, whilst I've succeeded in managing the layout and content to work well, there are UI issues. I've never really used jQuery Mobile before, but after having a brief play with it, it seems like it would solve a fair few of the usability issues I'm having. The problem is, as soon as I import the source file and accompanying CSS file, the whole site take on a 'mobile' look and feel no matter what the resolution. That's no big surprise I guess, as presumably the idea is that the library is used to develop a stand-alone mobile site. So, on to the question: Is it possible to use jQuery Mobile on a non-standalone mobile site. I just want one website/design that adapts to the user's resolution. Ideally, jQuery Mobile would just load below a certain resolution. Is that possible? Lastly, on a semi-related point... When I actually import jQuery Mobile, I get the following console error and an empty DOM except for skeleton HTML/HEAD/BODY elements and a single e-mail address... Just to save the potentially hours of debugging, can anyone give any pointers as to what might cause it? Uncaught TypeError: Cannot read property 'parentNode' of undefined Many thanks, Tom Edited December 16, 201213 yr by tomsel
Create an account or sign in to comment