This topic contains 2 replies, has 3 voices, and was last updated by  peperoni81 5 months, 1 week ago.

Scrollable portlet


  • fguemara
    Participant

    Member Reply #14185

    Hi,

    I am new to metronic, and I would like to know how to make a portlet scrollable (javascript initialisation?)

    Thanks in advance.

    Regards,

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #14255

    Hi,

    You don’t have to call any JS to initialize it. All you need is to pass a HTML attribute and css classes in the HTML code by referring to the scrollable portlet examples here:
    http://keenthemes.com/metronic/preview/?page=components/portlets/base&demo=default

    Thanks.


    peperoni81
    Participant

    Posts: 14
    Member Reply #19846

    Hi,

    i have make a portle:

    <div class="m-scrollable m-scroller ps ps--active-y" data-scrollbar-shown="true" data-scrollable="true" data-height="200"
                         data-scrollbar-shown="true" style="height: 200px; overflow: hidden;">
                       long content...
                    </div>

    The Desktop Verison works fine, but on my android Firefox Browser its not working, no scrollbar… 🙁

    Whats the Problem?

    • This reply was modified 5 months, 1 week ago by  peperoni81.
    • This reply was modified 5 months, 1 week ago by  peperoni81.

You must be logged in to reply to this topic.