NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 06, 2017, 12:58:23 PM
-
How to change the mobile banner and its buttons color?
Please see image
Thanks
-
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
-
OK, I force it into desktop mode (WebHandler / Actions)
but
p_web.IsMobile() is allways 0
then how can I know its mobile device??
-
>>then how can I know its mobile device??
I got that from Agent.
Robert
-
Hi Alberto,
>> then how can I know it's a mobile device??
why would you want to know this?
cheers
Bruce
-
Because you said:...
Rather force it into desktop mode (WebHandler / Actions) and then construct the site so it's responsive to small screens.
-
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
-
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
-
>> 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
-
Last NT version is responsive? what about a tabs?, somebody have a good responsive css with NT?
thanks..
-
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
-
I will not be able to stay but include the topic in the webminar..
thanks..