Forum Replies Created

Viewing 15 posts - 1 through 15 (of 263 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
    354 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 4 years, 2 months ago by Profile photo of Tim K Tim K.
    #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
    354 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
    354 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
    354 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
    354 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.
    #446888 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
    354 pts
    @timk

    Hi Martin,

    welcome to the community.

    You should check your publishing settings. “Scale content to fill mobile device view” might have this effect when the content is scaled to match the height of the screen.

    “Fit content to width” may be better.

    This post has received 3 votes up.
    • This reply was modified 1 month, 2 weeks 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
    354 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
    354 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
    354 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.
    #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
    354 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.
    #306884 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
    354 pts
    @timk

    There is no “Empty Alt tag” checkbox for form elements. The tooltip comes from the “title” of the object. You can use javascript to set the title to empty.

    Tim

    This post has received 2 votes up.
    #332130 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
    354 pts
    @timk

    Hi,

    it’s difficult to solve, without seeing the title. You couldn’t remove all sensitive content and share it?

    There are some things I can think of:

    1. Do you have any quotes or special characters or non-breaking spaces in the question text or the correct answers of any of the questions? These may result in that question being scored as “incorrect” even with the correct answer. Change your results page to display incorrectly answered questions to see, whether one of them is not “correct”, although the correct answer has been selected.
    2. Do you have “Use Javascript Title Manager” and “Include Title Manager Frame” checked in the Publishing options?
    3. You write you have the first test section not-randomized and the second randomized. Maybe that confuses Lectora. Try to randomize the first section as well, you can set it to “5 pages”. Then the test will still contain all questions from the section, only in randomized sequence.

    Tim

    This post has received 2 votes up.
    #313440 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
    354 pts
    @timk

    This problem isn’t related to the theme but to the Lectora version:

    https://community.trivantis.com/forums/topic/lectora-6-1-buttons/

    Tim

    This post has received 2 votes up.
    #425192 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
    354 pts
    @timk

    It’s basically the same. The question variable will contain the users selection, e.g. “Computer,instruction”. To save the value to the LMS you should check “Retain value between sessions”.

    In the previous example we used a condition “If all questions are correct”. Now it should only be “If Question_1647 is correct”. We used “passed” and “failed” to mark users as “fully equipped” or not but you can also use “completed” and “incomplete”.

    This post has received 2 votes up.
    #320852 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
    354 pts
    @timk

    Hi Darrel,

    as far as I could find out, the processing of a question consists of two functions:

    1. ProcessQuestion()

    This function (I think) counts attempts, sets the question to “hasbeenprocessed = true” and runs the second function.

    This function is directly written to the source code of the page, it doesn’t occur in any of the published JS-files or at least I couldn’t find it. So if you don’t have the “Process question” action on your page, it doesn’t exist and can’t be called from javascript.

    The question has two parameters: index = the index of this question in all questions on the page, so the first question in the page has the index = 0.

    2. checkQuestions()

    This function does the built-in feedback and attempts logic for all questions. It is written to the source code as well,  as it contains very question specific commands. It exists even if there is no Process Question action on the page.

    I have tested successfully to copy the “ProcessQuestion()” function to an external html object. The code is:

    function ProcessQuestion(index, quest) {
    if(!quest.hasBeenProcessed) {
    if( index >= 0 )
    currFeedbackIdx = index;
    checkQuestions( true, true, true );
    quest.hasBeenProcessed = true;
    }
    }

    It can be called from javascript with the index and the html name of the question. The feedback (On: Process question) was displayed correctly for both questions on my sample page.

    Of course now you must not have a “Process Question” action on the page 😉

    Tim

    This post has received 2 votes up.
Viewing 15 posts - 1 through 15 (of 263 total)

Tim K

Profile picture of Tim K

@timk

active 3 weeks, 1 day ago