This topic contains 2 replies, has 2 voices, and was last updated by Sean Sean 2 years, 2 months ago.

Modal windows


  • spleenboy
    Participant

    Posts: 34
    Member Reply #4037

    Brand new to Metronic.

    I have built a standard dashboard using the angular template, and have a bunch of portlets running using Angular data services. However, I think I’m missing the point with trying to plug in some of the UI features. I’m assuming to use the UI features, I just cut and paste from the template. So for modals, I cut and paste:

    View Demo

    How do I use this in my own site? Where what is #responsive in the demo?

    Thanks


    spleenboy
    Participant

    Posts: 34
    Member Reply #4043

    Had a brain freeze but worked it out fom the demos.

    However…

    Why is the scroll bar missing from my portlet?

    Herre is the relavant code snippet:

     

    <div class=”modal-body”>
    <div class=”slimScrollDiv” style=”position: relative; overflow: hidden; width: auto; height: 300px;”><div data-rail-visible1=”1″ data-always-visible=”1″ style=”height: 300px; overflow: hidden; width: auto;” class=”scroller” data-initialized=”1″>
    <div class=”row”>

    …..

    Thanks

    Sean
    Sean
    Keymaster

    Posts: 4226
    Support Staff Reply #4070

    Hi,

    Please do not copy any code from code inspector as related jquery plugins may generated some dynamic code that should not existing initially. So please copy the code only from original HTML templates.

    If you need any further clarifications please let us know.

    Thanks.

Tagged: 

You must be logged in to reply to this topic.