Event driven page loading (mobile or desktop) |
12/31/2019 11:04:40 AM |
PHPRunner General questions | |
M
Mark Kramer author
In a table called " Calls" in the "List page:Before process" event I am trying to get the program to determine if it is mobile or not. If it s mobile then go to list page 1 (list1) if it is desktop go to list page (list). |
|
S
|
Steve Seymour 12/31/2019 |
but should the calls be.... |
M
|
Mark Kramer author 1/7/2020 |
but should the calls be.... if(isMobile()) { header("Location: http://mypage.com/calls/calls_list.php?page=list1"); } else { header("Location: http://mypage.com/calls/calls_list.php?page=list"); } https://xlinesoft.com/phprunner/docs/redirect_to_another_page.htm however, when I call a page I use .... var page = "the page I want to jump to"; Location.href = page;
|
W
|
wpl 1/8/2020 |
Mark, |