plugin imports some html, but no scrollbar possible? (solved)

  • Good day to you all!

    I wrote a small 'plugin' (personal use) which will get some predefined html into its 'sprite'.
    this is a form with options and some text.
    The plugin can be controlled via the attributes. All working fine.

    But now i have some content (multiple images) i want to show via a sliding div. So a scrollbar is needed.
    Somehow it doesnt understand this html / css and no scrollbar is shown within the html.

    Anyone knows about this?

    here some code:

    the plugin is calling this for all the html
    form = document.getElementById("editorForm");

    the form is presented nicely


    and here the fiddle for the html and css, AND see the scrollbar working:
    https://jsfiddle.net/1bzbzk31/


    But the form that is presented via the plugin (so within the player) the images are only static and the overflow is hidden.


    Any suggestions?

    Many thanks!

    Einmal editiert, zuletzt von Sander Schat (15. Januar 2017 um 15:13) aus folgendem Grund: Solved

  • Oke got it!

    it was in the pano settings when you init the player:

    this will set the scroll-event to the html-page, and not to the player.

    Thanks!
    mwheel:false,


    embedpano(
    {
    xml: '/blabla',
    target: "pano",
    html5: "only",
    passQueryParameters: false,
    mwheel:false,
    consolelog:true,
    id: id
    })

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!