Explore the community Forums Lectora Lectora Questions & Answers Var: Show if Platform is equal to iPad/ to iOS?

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #283345 Score: 0
    Profile photo of Jenny James
    Jenny James
    Member
    2 pts
    @Jenny.James

    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?

    #287021 Score: 0
    Profile photo of kellykungfu
    kellykungfu
    Member
    @kellykungfu

    @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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.