Forum Replies Created

Viewing 15 posts - 16 through 30 (of 229 total)
  • Author
    Posts
  • #322259 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
    307 pts
    @timk

    Seems like you can’t adjust a menu object for the different views. If you don’t want to build your own menu from scratch, you’d need 3 different menus, 1 for Desktop and Tablet Landscape, 1 for Phone Landscape and Tablet Portrait and 1 for Phone Portrait. That’ll make just 2 objects outside the stage 😉

    Tim

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

    You can do a lot with Lectora without any knowledge of Html, CSS, or Javascript. But Html extensions are purely about this. The “only” function this object has, is adding a self-written snippet of code to the published pages. Explaining the possibilities of this feature to full extent would (more or less) mean explaining html, css and javascript (and many other languages) completely, i.e. fill 1000s of pages. The basic functions (what the Trivantis developers think are the basic functions) are already integrated in Lectora as “Actions” (usually javascript) or “Properties” (often CSS), at least when publishing to a html-based format. For your task (which is not too advanced, but still not basic) there a many possible solutions:

    1. Use only Lectora

    Make the page and the textfield you want to print as long / high as it needs to display the whole text. Open that page in a popup, not with a “Display page in popup”-action but with “Go to” “Target Page”, Set “Open in:” to “New window”. Open the “New window properties” via the icon on the right of the “Open in:” field. Uncheck “Use default size” and enter the appropriate size of the window. If it’s smaller than the page size the browser will provide you with a scrollbar. Use the normal “Print current page” action and all the text on that page will be printed.

    It’s only the textfield with a “Vertical Scroll” that’s preventing the text from being printed. If you don’t want to remove the scrollbar from the textfield, you can:

    2. Use CSS

    In that other thread Sergey published some code, that can change the style of the page or elements on the page but only for the printer. Add a “Html extension” to the page you want to print. Set the type to “Meta tags”. Click edit and paste:

    <style>
    @media print
    {
    div[id*=”text”] {
    overflow:visible !important;
    }
    }
    </style>

    This style will make the text, that is hidden until you scroll, visible for the printer. You won’t see any difference on the screen, but all of the text will be printed when using the normal “Print current page” action. If you prefer to learn about javascript instead of CSS you can

    3. Use javascript / jQuery

    … and follow Darrels guidance which is usually excellent and comes with a working example. Remember that learning about jQuery will open a whole world of possibilities to you (maybe even in a new window).

    Tim

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

    There are several way to make the text appear pale. In my example I’m using a white shape with reduced opacity. A variable checks whether one of the two textfields that lay over the main text on the left is visible and hides the shape only if both textfields are invisible.

    Tim

    This post has received 2 votes up.
    Attachments:
    1. PaleText.zip
    #348515 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
    307 pts
    @timk

    The trick is to put the reset action into a group on title level. It will be available on all pages and as long as you don’t Run the group nothing should be reset.

    This post has received 2 votes up.
    #410018 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
    307 pts
    @timk
    • Keep position and formatting of question elements when changing the type – Whenever I change the type from “Multiple Choice” to “Multiple Response” or vice versa, the “new” question is created from scratch and I have to reposition and restyle everything.
    This post has received 2 votes up.
    #424286 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
    307 pts
    @timk

    It should be pretty easy to identify the software that has been used. I don’t have something created with Captivate but both Lectora and Storyline write something like “Generated by: Lectora Inspire 17.0.6” or “Created with Storyline 360” into the source code of every file. Or just ask the vendor which one was used. But indeed a timeline feature is not directly pointing to Lectora.

    If you wanted to create a timeline in Lectora you could use a (silent) audio file and animate your page through events. If you pause the audio the page will pause as well. The audio player comes with an inbuilt “progress bar” that can be customized.

     

    This post has received 2 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
    307 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
    307 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
    307 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
    307 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
    307 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.
    #417286 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
    307 pts
    @timk

    It’s always the same principle: Find the difference!

    Find a difference between the scorm and the html output and use it. A difference is the existence of scorm variables. You can build two versions of your page (on the same page) and show only those elements that you want a scorm / html user to see. Then create two action groups one to show the scorm version and one for the html version.

    Add an action to the page:

    On: Show
    Action: Run action group
    Target: Show scorm version

    Condition:

    If AICC_Student_Name Contains “,”

    ELSE

    Action: Run action group
    Target: Show HTML version

    AICC_Student_Name is a variable Lectora uses for scorm courses to fill in the users name as “Name, Firstname”. Only if the course is run from an LMS the variable will contain a comma, otherwise it will be empty or undefined or something but it won’t contain a comma.

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

    A test will usually set the Scorm variables automatically but only if it’s scored, i.e. graded. Open the “Results” tab of your tests and make sure “Grade the test” is checked. You’ll have to define a “Lowest passing score”. Lectora will then set “AICC_Score” to the tests score and set “AICC_Lesson_Status” to “completed” if the test was passed.

    If that’s not working or if you don’t want the test to be scored, i.e. to be a prerequisite for completing the AU you can use actions to define the score and the completion status yourself. A very basic way to do that, would be to add two actions to the last page of the AU:

    On: Show
    Action: Modify variableTarget: AICC_Lesson_Status
    Value: completed (the value your LMS requires to mark the AU as “done”)

    On: Show
    Action: Modify variable
    Target: AICC_Score
    Value: 100

    When a user reaches this page the AU will be completed with a score of 100 (%).

    Tim

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

    The code from the blog article should work (as long as you’ve deactivated Seamless Play). If you copied the code directly from the blog to Lectora, you should be aware that you have to replace all the fancy quotes (which aren’t quotes) with real quotes:

    $("input").click(check_and_limit);
    
    function check_and_limit() {
    if ($("input:checked").length == 3) {
    $("input:not(:checked)").attr("disabled", true)
    } else {
    $("input").attr("disabled", false)
    }
    }
    This post has received 2 votes up.
    #417394 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
    307 pts
    @timk

    I don’t know Workday, but it’s rather a Scorm thing that only one score is accepted: the score for the whole module. In Lectora this is AICC_Score. By default this “overall score” is made by calculating the average of all test scores in the course. But you can modify this logic.

    Make a copy of your test chapter and unselected “Include test score in overall score” on the Results tab of the test properties. Through this you’ll still have the score for the pretest but it won’t be calculated into the score for the course.

    This post has received 2 votes up.
Viewing 15 posts - 16 through 30 (of 229 total)

Tim K

Profile picture of Tim K

@timk

active 3 weeks, 3 days ago