Is there a way to set a container to fullscreen in the 'style' or 'class' parameters so that you can click on an icon and get it to open to full screen?

I am aware of the fullscreen function button:

<button id="fullscreen" onclick="$('#demoContainer').mb_fullscreen();">fullscreen</button>

but this appears to be only good for manipulating a container once it is already open, I would like to have 'fullscreen' already set so that when a user clicks on icon it opens to full screen, so something along the lines of:

<div class="containerPlus draggable resizable {fullscreen:'true', buttons:...

thank you

asked Jan 20 at 15:57

denelius's gravatar image

denelius
612


This is not available jet; I'm planning to implement this functionality in next release. There's one thing you can try:

init the container as closed {closed:true} and after a while call the $('#demoContainer').mb_fullscreen() method first and than $('#demoContainer').mb_open(); I'm not sure it works but it could...

answered Jan 21 at 18:29

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1071117

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

Asked: Jan 20 at 15:57

Seen: 69 times

Last updated: Jan 21 at 18:29

Related questions

powered by OSQA