NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on August 16, 2017, 06:11:05 AM

Title: Mobile Controls Not Aligned
Post by: rupertvz on August 16, 2017, 06:11:05 AM
Hi Guys,

Is there an easy way to organise controls (input fields) in a mobile site as these are completely not aligned.



Title: Re: Mobile Controls Not Aligned
Post by: Bruce on August 17, 2017, 01:59:48 AM
Hi Rupert,

The trite answer is that it's managed by CSS.

The longer answer is that I'm moving away from the jQuery Mobile framework (it's officially deprecated in NT10)  for small screens, and instead adapting the desktop framework for small screens.

So the first thing to do I think is set the app to always be in Desktop mode (WebHandler procedure) and then work forward from there...

cheers
Bruce
Title: Re: Mobile Controls Not Aligned
Post by: rupertvz on August 17, 2017, 02:27:27 AM
Hi Bruce,

Thanks for this information.
I was just about to adjust a rather complex application for mobile framework.

Thus, if I understand correctly,
Needing a procedure to show differently in Mobile, (Let's say fewer columns in NWB)
= I have to make a copy of the desktop procedure and adjust that for Mobile?  Thus desktop & mobile procedures separately?
Title: Re: Mobile Controls Not Aligned
Post by: Bruce on August 18, 2017, 08:31:46 AM
>>  I have to make a copy of the desktop procedure and adjust that for Mobile?  Thus desktop & mobile procedures separately?

absolutely not.

Perhaps we can chat about this at the next user group webinar?

cheers
Bruce