Explore the community Forums Lectora Lectora Questions & Answers cant find the variable presets

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #376872 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hi all,

    where can i find the presets in lectora 17.

    for scorm building i need the AICC_Lesson_Status variable. i cant find this variable.

     

    #376876 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    221 pts
    @timk

    You’re title needs to be of the type “AICC/SCORM/xAPI for LMS/LRS” that can be set in the title options.

    Attachments:
    #376881 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hey Tim, thx! That was it πŸ™‚

    #376944 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    hey Tim,

    i found a nice project here from Justin Ball. He made an advents calender. Is it really possible to define, that the calender begins with 1st Dez, so that the pupil can only open one calender-door per day?

    that would be very nice.

    greetings marcel

    #376978 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    221 pts
    @timk

    Hi Marcel,

    of course it can be done. Here’s a sample with 24 buttons. Only those for days already past are enabled. There’s no reference to the month in it, so you can test it in November as well.

    Tim

    #377243 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    yeah, this is very cool, Thx πŸ™‚

    so what i have to do, when i want that it begins with the 1st Dez. Is there something that i have to change in the javaScript editor or does it recognize when the month changes.

    i like this πŸ™‚

    • This reply was modified 2 months ago by Profile photo of Marcel Milo Marcel Milo.
    #377510 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    hi Tim, can you describe me please how this works?

    nice greetings, marcel

    #377513 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    221 pts
    @timk

    Hi Marcel,

    It only recognizes the day of the current month, i.e. on the 1st of any month only the first button will be enabled. So you shouldn’t make it available before.

    Tim

    #377519 Score: 1
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    profile
    171 pts
    @Klaatu

    var today = new Date(); // this instantiates the Date object
    var thedoc = getDisplayDocument(); // creates a variable out of the getDisplayDocument so you can use thedoc in its place.

    var btns = thedoc.getElementsByClassName(“calenderbtn”); // Create an HTML collection (not an array) out of all the elements that were assigned the class calendarbtn. Keep in mind that the order, which is important here, is the order in which the elements appear in the DOM top down. The order in the explorer pane is the same as the order in the DOM. I’ll explain more at the bottom just know for now that if you have the buttons in order in the explorer this will work.

    btnids = []; // Declare a new empty array to be used below.

    for (var i=0;i<btns.length;i++){// this line loops through each of the items in the btns HTML collection in order
    btnids.push(btns[i].id); // this adds each buttons HTML id to the end of the btnid array on each iteration of the loop.
    }

    // At this point btnid is now an array of all the buttons HTML id’s in the order they appear in the explorer panel.
    for (var j=0;j<today.getDate();j++){ // this creates a loop starting with 0 and continues until todays date
    window[btnids[j]].setDisabled(false); // This will enable a button by setting its disabled property to false if its position in the array equals the iteration number which will be less than or equal to todays date.
    }
    Nice job, Tim. Hope I explained it correctly / sufficiently.

    Unless you did it for clarity, I would not use a variable (thedoc) in place of the getDisplayDocument method in this case because you’re only using it once; you actually typed more than necessary.

    When I was talking about the order above, if you were to move the 24th button just under the 2nd button in the explorer pane you’ll notice that the 24th becomes enables on December 3rd (its new position).

    This post has received 1 vote up.
    #377836 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hey Darrel,

    thx for your instruction, for me it sounds still complicated πŸ™‚Β  so i think i will try Tims idea. I want to build and easy advents calendar and on every day, when the pupils open the door a funny joke should appear. So when i publish a Scorm-file with Tims project-structure on the first of Dez it should work? The problem isΒ  i can’t test it before πŸ™‚

    have a nice day, greetings Marcel

    And THX again for your good ideas.

    #377840 Score: 0
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    80 pts
    @mnotermans5114

    You can. Either change the date(s) on your computer…or make other variables to test with.

    #377852 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    221 pts
    @timk

    It should work, although it’s not safe against cheating πŸ˜‰

    #377882 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hey πŸ™‚ thx, ok, i think cheating is not a problem πŸ™‚ i will try it tomorrow.

    good night

    #382407 Score: 0
    Profile photo of Marcel Milo
    Marcel Milo
    Member
    beginner
    intermediate
    curious george
    friend finder
    picture perfect
    wise owl
    contributor
    advanced
    @mmilo9281

    Hey guys, thx a lot, the advents calendar was a really good alternation for the students. They had a lot of fun with it πŸ™‚

    i hope you had nice winter holidays!

    next Idea is in progress πŸ™‚

    greetings Marcel

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

You must be logged in to reply to this topic.