NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 06, 2017, 12:58:23 PM

Title: How to change the mobile banner and its buttons color?
Post by: Alberto on March 06, 2017, 12:58:23 PM
How to change the mobile banner and its buttons color?
Please see image
Thanks
Title: Re: How to change the mobile banner and its buttons color?
Post by: Bruce on March 09, 2017, 05:32:43 AM
It's done with the mobile stylesheet.

But I strongly recommend not using mobile mode at all. It's on the way out.
Rather force it into desktop mode (WebHandler / Actions) and then construct the site so it's responsive to small screens.
We talked about that some in the user group webinars, and we can chat more there if you have questions.

Cheers
Bruce

Title: Re: How to change the mobile banner and its buttons color?
Post by: Alberto on March 13, 2017, 12:45:05 PM
OK, I force it into desktop mode (WebHandler / Actions)
but
p_web.IsMobile() is allways 0
then how can I know its  mobile device??
Title: Re: How to change the mobile banner and its buttons color?
Post by: Robert Iliuta on March 13, 2017, 11:58:27 PM
>>then how can I know its  mobile device??
I got that from Agent.

Robert
Title: Re: How to change the mobile banner and its buttons color?
Post by: Bruce on March 16, 2017, 12:24:46 AM
Hi Alberto,

>> then how can I know it's a mobile device??

why would you want to know this?

cheers
Bruce
Title: Re: How to change the mobile banner and its buttons color?
Post by: Alberto on March 16, 2017, 05:46:02 AM
Because you said:...

Rather force it into desktop mode (WebHandler / Actions) and then construct the site so it's responsive to small screens.
Title: Re: How to change the mobile banner and its buttons color?
Post by: Bruce on March 21, 2017, 03:08:27 AM
there's no way to know the "size" of the screen.
All you get is the screen resolution.
You can get the current screen size using
p_web.GSV('_screenwidth_')
and
p_web.GSV('_screenheight_')

cheers
Bruce
Title: Re: How to change the mobile banner and its buttons color?
Post by: osquiabro on April 07, 2017, 04:30:09 AM
But I strongly recommend not using mobile mode at all. It's on the way out.
Rather force it into desktop mode (WebHandler / Actions) and then construct the site so it's responsive to small screens.

We talked about that some in the user group webinars, and we can chat more there if you have questions.


What's the plan? and when? i have same problems with mobile themes is very difficult work with this css
Title: Re: How to change the mobile banner and its buttons color?
Post by: Bruce on April 09, 2017, 11:25:00 PM
>> What's the plan? and when?

well, you can start using "Desktop" mode on mobile devices already.

I'm not sure I'll actively "remove" the code for jQuery Mobile, but that's probably not an area I'm gonna spend any time on moving forward.

cheers
Bruce
Title: Re: How to change the mobile banner and its buttons color?
Post by: osquiabro on April 10, 2017, 03:27:28 AM
Last NT version is responsive? what about a tabs?, somebody have a good responsive css with NT?
thanks..
Title: Re: How to change the mobile banner and its buttons color?
Post by: Bruce on April 10, 2017, 10:27:22 PM
Hi Osa,

Perhaps this is a topic we can discuss at the webinar. Join us there on Thursday and we can work through it.

cheers
Bruce
Title: Re: How to change the mobile banner and its buttons color?
Post by: osquiabro on April 12, 2017, 05:03:28 AM
I will not be able to stay but include the topic in the webminar..

thanks..