Page 1 of 1

Only show up in mobil phone, not regular computers?

Posted: Mon May 31, 2021 8:53 pm
by manuelm
Is there a way then to have a popup, lightbox, or something similar so that it only shows up when the visitor is using a cell phone and not a computer?

Regards!

Manuel
Buenos Aires, Argentina

Re: Only show up in mobil phone, not regular computers?

Posted: Tue Jun 01, 2021 5:56 am
by Pablo
There is currently no standard option to only show a lightbox or dialog only on a cell phone.
All the 'popups' use JavaScript, and these scripts work across all breakpoints.

But you can create a dedicated page only for mobile devices only.

Re: Only show up in mobil phone, not regular computers?

Posted: Tue Jun 01, 2021 8:23 am
by alan_sh
Could you do it by using breakpoints where, if it's over a certain size, the popup is hidden?

Re: Only show up in mobil phone, not regular computers?

Posted: Tue Jun 01, 2021 9:19 am
by Pablo
Popups are controlled by JavaScript, these scripts do not take breakpoints (CSS) into account.

Re: Only show up in mobil phone, not regular computers?

Posted: Tue Jun 01, 2021 1:00 pm
by manuelm
How can I detect that the visitor is using a mobile phone and thus be able to send them to a different page? (no breakpoints)

Re: Only show up in mobil phone, not regular computers?

Posted: Tue Jun 01, 2021 1:16 pm
by Pablo

Re: Only show up in mobil phone, not regular computers?

Posted: Tue Jun 01, 2021 1:17 pm
by Bluesman
manuelm wrote: Tue Jun 01, 2021 1:00 pm How can I detect that the visitor is using a mobile phone and thus be able to send them to a different page? (no breakpoints)
In "Toolbox" / Miscellaneous / Ready-to-use-Java scripts / Mobile Redirect
you have the solution