how to change the size of nyroModal for a specific modal window? #148

Closed
vishalmelmatti opened this Issue Dec 27, 2011 · 3 comments

Comments

Projects
None yet
3 participants

Hi,

.nyroModalCont iframe {

}

Changing the above class in css changes the size of all modals. I want to ask how to change the size of nyroModal for a specific modal window?

Thanks

Yeaa, I have the same issue, someone?

Hi,

I could manage to change the size of specific modal by giving 100% width to the iframe e.g.

.nyroModalCont iframe {
width:100%;
height: 530px;
overflow: hidden;
}

and then pass different minH and minW e.g.

$('#nm1').nm({
    sizes: {
        minH: 500,
        minW: 1050
    }
});

$('#nm2').nm({
    sizes: {
        minH: 500,
        minW: 650
    }
});

Let's proves, thanks for the tip

nyroDev closed this Oct 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment