Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ben Fidge 16 posts 60 karma points
    Sep 23, 2014 @ 19:15
    Ben Fidge
    0

    Custom section content does not adjust to window height and auto-scroll

    Ive created a v6 custom section and an MVC view as per this article: http://www.nibble.be/?p=250

    My content is quite large and i'd like the "pane" to auto-scroll but it isnt for some reason. I've pulled in the appropriate scripts and css. My Views structure looks something like this:

    <body class="umbracoPage">
    <div id="body_UmbracoPanel" class="panel" style="width:100%;">
    <div class="boxhead">
    <h2 id="body_UmbracoPanelLabel">Member Report</h2>
    </div>
    <div class="boxbody">
    <div id="body_UmbracoPanel_menubackground" class="menubar_panel">
    </div>
    <div id="body_UmbracoPanel_content" class="content">
    <div class="innerContent" id="body_UmbracoPanel_innerContent">
    <div class="propertypane">
    // Long content here 
    ...
    </div>
    </div>
    </div>
    </div>
    <div class="boxfooter">
    <div class="statusBar">
    <h2></h2>
    </div>
    </div>
    </div>
    </body>

    The "content" class has overflow set bit I believe some script needs to execute to dynamicaly resize to the browsers height. Is there any documentation of what classes, css and js is required to have a custom sections view behave correctly?

    Ben

Please Sign in or register to post replies

Write your reply to:

Draft