Page 1 of 1

Syntax for Mobile Users

Posted: Wed Mar 29, 2017 9:44 pm
by tubeman
Hi,
I want to display different banners and popunders for mobile users and desktop users.Whats the correct syntax to do this in SCJ? Thanks.

Re: Syntax for Mobile Users

Posted: Thu Mar 30, 2017 10:35 am
by admin
if ($GLOBALS['SCJ_VISITOR']['mobile']) {
banner for mobile
} else {
other banner
}