Forum Replies Created

Viewing 15 posts - 1 through 15 (of 233 total)
  • Author
    Posts
  • #315478 Score: 5
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    The double-click trigger has been available until Lectora v11 (i don’t know if it existed in v12) for actions on buttons, images and shapes. It has only ever worked when publishing to formats using the Lectora Viewer (CD / EXE), not when publishing to be viewed in a browser (I thought browsers don’t support double-clicks).

    To create a double-click you can use Darrels code or Jennies approach by placing a transparent button over your hotspot. Add two actions to the button:

    1.

    On: Click
    Action: Hide
    Target: This object

    2.

    On: Hide
    Action: Show
    Target: This object
    Delay: 0.5 sec

    This way the real hotspot can only be clicked during the .5 seconds while the transparent button is hidden.

    Other triggers only exist for certain objects:

    Some triggers are only available for actions added to the page itself:

    On: Keystroke (It’s not possible to press [Enter] for an image only 😉
    On: Any key

    On: Device rotation
    On: Screen Swipe Left
    On: Screen Swipe Right
    Why not add “Up” and “Down”?

    On: Timed Interval

    Some triggers are only available for actions on certain objects:

    On: Done playing
    Only available for videos and audios, i.e. for “playable” objects.

    On: Select / Change
    Only available for form objects that can be selected, e.g. radio buttons, checkboxes, input field.

    Tim

     

    This post has received 5 votes up.
    • This reply was modified 3 years, 6 months ago by Profile photo of Tim K Tim K.
    #324574 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    Sorry, actually the correct code is:

    var username = AICC_Student_Name.getValue().split(",");
    Varlastname.set(username[0]);
    Varfirstname.set(username[1]);
    This post has received 3 votes up.
    #302630 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    1. Create a variable in Lectora, e.g. “allsectionsseen”

    2. Create an action group on Page 1 with one action

    Action: Show

    Target: Arrow_next

    Condition: Only if
    “allsectionsseen” contains “#accordion-1” AND
    “allsectionsseen” contains “#accordion-2” AND

    “allsectionsseen” contains “#accordion-3”

    3. Edit “Externe HTML-Objekte Code”

    Under the line “var currentAttrValue = jQuery(this).attr(‘href’);”

    add two lines of code:

    Varallsectionsseen.set(Varallsectionsseen.getValue()+currentAttrValue);
    runGroup_og99();

    Replace og99 with the html name of the action group created under 2.

    Tim

    This post has received 3 votes up.
    #303412 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    Happy new year!

    I don’t know a better way to achieve more overview than grouping those items that belong together. Usually there is no need to ungroup them again. You can edit each elements properties separately. You can move each item separately either by entering values into the position fields in the lower left corner or by holding [ALT] while moving it with the mouse.

    Tim

    This post has received 3 votes up.
    #434132 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    It can be done with one action per question:

    On: Show
    Action: Change Contents
    Target: Question 1
    Value: Set text
    Text: 1

    This post has received 3 votes up.
    #332066 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    Hi Joe,

    A way to do it should be to set the variable in the way I’ve described in that other topic. Mind the action must be attached to the button. Then use the variable myAltTag for all other puposes. I’m not familiar with xAPI but it should work with

    LectoraXAPIStmt(VarmyAltTag.getValue());

    to use the variable value in the command.

    If you’re using Lectoras “xAPI Statement” action, you can select the variable in the “Object” field from the dropdown or enter VAR(myAltTag)

    Tim

    This post has received 3 votes up.
    #359781 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    You only need variables if you want to move the button. But as you’re using invisible buttons you could just add a second button on the left for “Close Page 1” and make the buttons show / hide each other.

    If you want to move the same button, you’d need 1 variable per chapter. Give it an initial value of “0” for closed. Add an action to set the variable to “1” (if it’s 0) else set to 0. Make this the first action on the button and add conditions to all following actions depending on whether they’re are “Open” or “Close Page 1” actions.

    This post has received 3 votes up.
    #406142 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    Here’s your file. It now contains 2 ways to check whether the tasks have been done. The first uses the status indicator you’ve integrated. The second demonstrates what Jenny explained.

    It also removes the Play button from the video.

    This post has received 3 votes up.
    Attachments:
    1. test_video_2.pkg
    #309570 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    Add \r to the variable:

    Added on VAR(CurrentDate): VAR(Entry_0001)\r

    Tim

    This post has received 3 votes up.
    #317049 Score: 3
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    When publishing to scorm the “Persistant data” is saved in the scorm variable “cmi.suspend_data”. The size limit of this variable depends on the scorm version. Lectora adds all variables that are “retained between sessions” to that variable with their name and value. So variables you need to retain should have the shortest possible name and value.

    To reduce the amount of space needed, uncheck “retain between sessions” for all variables you don’t need to save. This can be done in the variable manager (for user-defined variables) or in the properties of the entry fields or other objects that use “Reserved variables”. Test scores are retained by default. The variables Lectora generates for a test are named as “Title_of_test_chapter_score”. It may be useful to give the test a very short name, e.g. “T1”, so the variable will be called “T1_score”, instead of a descriptive test name like “Final_Assessment_for_Chapter_1_–_Introduction_score”.

    Tim

    This post has received 3 votes up.
    #314611 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    From my experience the “Move to” action is working correctly on any device, but the target coordinates are not “scaled” along with the elements on the page.

    You can define a different “MoveTo” action for each device / rotation and use the variable “CurrentView” as a condition for the actions. The variable tells you whether the user uses a tablet or a phone and whether the page is viewed in portrait or landscape mode. It can have 5 different values: “Desktop”, “TabletLandscape”, “TabletPortrait”, “PhoneLandscape”, “PhonePortrait”.

    So you can Move To x:100, y:200 IF CurrentView equal to “Desktop” and
    another action MoveTo x:80, y:180 IF CurrentView equal to “TabletLandscape” etc.

    If you want actions to only be run on a phone you can use -> IF CurrentView contains “Phone”.

    IF CurrentView contains “Portrait” then actions will be run both on Phones and Tablets but only in Portrait view.

    Tim

    This post has received 2 votes up.
    #306324 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    I’ve tested with some french characters in the page name and I can uncheck “Convert page names…”. It’d probably be better to get rid of them anyway, because new issues may come up with a page / filename like “précautions.html” once it’s online.

    Lectora names the files in the way AssignableUnitName_ChapterName_SectionName_PageName.html. Whenever this results in two files having the same name the option to “Convert page names” can’t be unchecked. If you want to uncheck it you mustn’t have two pages with the same name, unless they are in different sections or chapters.

    Tim

    This post has received 2 votes up.
    #413759 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    Change the type of your title to “AICC and SCORM for LMS”, so that you can use the scorm variables.

    Identify the variable that is used to store the score: 29864_percent

    Find the place where the percent score is calculated: All relevant actions are attached to the image “textBox_Intro” and executed when the image is shown.

    Add another action under the calculations:

    On: Show
    Action: Modify variable
    Target: AICC_Score
    Type: Set equal to
    VAlue: VAR(29864_percent)

    This post has received 2 votes up.
    #310048 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk

    Lectoras’ “Go to”-action in javascript is:

    trivExitPage('page_4.html',true);

    You’d have to update the target filename.

    Tim

    This post has received 2 votes up.
    #405468 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    315 pts
    @timk
    • Allow disinheritance for grouped elements – Currently it’s not possible to disinherit elements that are part of a group. It’s only possible to disinherit the entire group.
    This post has received 2 votes up.
Viewing 15 posts - 1 through 15 (of 233 total)

Tim K

Profile picture of Tim K

@timk

active 3 days, 16 hours ago