Explore the community Forums Lectora Online Lectora Online Questions & Answers Exclude an action for a device

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #411291 Score: 0
    Profile photo of Benjamin Montag
    Benjamin Montag
    Member
    beginner
    intermediate
    curious george
    @bmontag3740

    I want to use an action to move an object on the desktop but do not want that item to move on any devices. Is there a way to exclude the action on devices?

    #411323 Score: 0
    Profile photo of Joe Wieloch
    Joe Wieloch
    Moderator
    beginner
    intermediate
    friend finder
    contributor
    LUC16 Attendee
    verified member
    wise owl
    LUC17 Attendee
    advanced
    picture perfect
    38 pts
    @wheels

    From the help: (I know… hard to find things in there!)
    https://www.trivantis.com/help/Lectora_Online/4.2/en/HelpHTMLs/index.html#91.html?Highlight=currentview

    Actions can be made conditional to allow you to invoke different behaviors on alternative device views. Use the reserved variable CurrentView to compare against. The stored values are:

    Desktop
    TabletLandscape
    TabletPortrait
    PhoneLandscape
    PhonePortrait

    For example, you can compare that CurrentView “Is Equal to” TabletLandscape or “Contains” Phone or “Does Not Contain” Desktop. (You can also shortcut, for example, “Contains” “T” since only the Tablet choices contain a capital T, or “Contains” “L” since only the Landscape choices contain a capital L.)

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

You must be logged in to reply to this topic.