sandeep
sandeep

Reputation: 92803

SimpleModal JS height is more then browser height is not scrollable

I am using SimpleModal for a project. But i am facing an issue when the simplemodal dialog box height is more than document height it's not scrollable. It's cut from the bottom.

I have search about it's but nothing works.

Any help is appreciated :)

Upvotes: 0

Views: 134

Answers (1)

Debasish Chowdhury
Debasish Chowdhury

Reputation: 188

Check if this is what you want...

jQuery(function ($) {

    $('#basic-modal .basic').click(function (e) {

       $('#basic-modal-content').modal();
       $("#simplemodal-container").css({ 'position' : 'absolute'});  
       $(".simplemodal-wrap").removeAttr('style');
       return false;
    });
});

Thanks

Upvotes: 1

Related Questions