Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2789

Integrate iframe-resizer our iframe controller and replace custom resize code

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13.0
    • Component/s: Framework
    • Labels:
      None

      Description

      To make scrollbars in iframes disappear we have some custom javascript code that gets injected in every html page loaded in an iframe (iframe.js). The code is old and does not work for all cases. Luckily, there is a library iframe-resizer that does exactly this.

      We integrated the library already in the card2brain course element and made good experiences. The advantage of the solution is that users who create their own html5 apps can control the resize behaviour from within the iframe. iframe-resizer is kind of a standard library used by many other projects.

        Attachments

          Activity

            People

            • Assignee:
              uhensler Urs Hensler
              Reporter:
              gnaegi Florian Gn├Ągi
              Tester:
              Mandy Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 4 hours, 40 minutes
                3d 4h 40m