Var: Show if Platform is equal to iPad/ to iOS?

jenny-james
jenny-james Community Member Posts: 8
Lectora has a reserved variable "Platform." We want to show an Exit button if Platform is equal to..... do we specify 'iPad' "iOS" - what wil lthis reserved variable take?

Comments

  • kellykungfu
    kellykungfu Community Member Posts: 83
    @Jenny.James 61620 wrote:
    Lectora has a reserved variable "Platform." We want to show an Exit button if Platform is equal to..... do we specify 'iPad' "iOS" - what wil lthis reserved variable take?


    Hi Jenny,



    This is interesting, there are two Lectora Reserved Variables, BrowserType and Platform. Personally, both of them gave me the same results so the Platform doesn't work.



    For example, on an iPad, both of them returned "Netscape" when using Safari. On a PC, with Internet Explorer it'll say "Microsoft Internet Explorer". On a PC using Chrome, it'll say "Netscape". On a PC using FireFox it'll say "Netscape".



    I think your better off using JavaScript to determine the platform/OS.



    -kelly