Explore the community Forums Lectora Lectora Questions & Answers Dynamic resizing [solved]

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #358307 Score: 0
    Profile photo of approg
    approg
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    friend finder
    picture perfect
    22 pts
    @approg

    Some of the guys I work with have put together some JavaScript and CSS that will allow any Lectora title to dynamically resize itself to fit the browser window while maintaining its aspect ratio. It’s very easy to use (drop two HTML extension icons into the top of your Lectora title) requires no post editing by the title developer, and works in Lectora 11, 12, 16, 17, and 17 seamless.

    You can get it from here and, while its survived all the tests we’ve thrown at it, we ask that if you find a bug to please let us know.

    #358310 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
    118 pts
    @mnotermans5114

    Nice piece of work approg. Tested the demo, and at some point it got stuck in my browser. Was going fullscreen on and off, and next/previous page. Mailed that to your guys too. Nevertheless great work.

    Math

    #358320 Score: 0
    Profile photo of mallow76
    mallow76
    Member
    beginner
    intermediate
    contributor
    wise owl
    curious george
    23 pts
    @mallow76

    Yeah – that is excellent. Works as expected for the majority of content that I have tested with but drag-and -drop interactions did not seem to work. The cursor changes on mousing over the drag objects but they were not draggable. The example I tested with requires the user to drag text boxes onto an image.

    • This reply was modified 2 years, 4 months ago by Profile photo of mallow76 mallow76 .
    #358514 Score: 0
    Profile photo of approg
    approg
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    friend finder
    picture perfect
    22 pts
    @approg

    After some investigation, full screen mode failing in Firefox is a bug in Firefox. It will fail with a Lectora 17 seamless title that is: played fullscreen (using the F11 key); open by a javascript call (as is typical from an LMS); and; the current page changes.

     

    Not working with d&d questions is a bug in our code and we’re looking into it.

    #358876 Score: 0
    Profile photo of approg
    approg
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    friend finder
    picture perfect
    22 pts
    @approg

    Yep, it wasn’t working with drag and drop questions. [For those technically minded, by overriding a Lectora function we were inadvertently changing the execution context – the value of “this”.]

    Version 1.2 fixes drag and drop questions.

    Note that the operation of full screen mode has also changed slightly. We wrongly thought that there was only two possible scenarios but there are in fact many so we’ve had to make some compromises though you still get full screen mode.

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

You must be logged in to reply to this topic.