jmpressjs / jmpress.js

A jQuery plugin to build a website on the infinite canvas
http://jmpressjs.github.com/jmpress.js
1.5k stars 237 forks source link

Jmpress leaks out of parent div #118

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hi,

I placed Jmpress presentation into a div, which has limited size - there are other divs in the body. In initialization i set fullscreen option to false, and I also set overflow: hidden to the parent div. I also tried to change z-index of several elements, but it didn't work. Not even placing Jmpress into sole document and rendering it by iframe worked.

Is there any solution, how Jmpress wouldn't draw elements all over the page, but only into parent element?

Thanks.

sokra commented 11 years ago

This should work if you set fullscreen to false...

http://jmpressjs.github.io/jmpress.js/index.html#/nested http://jmpressjs.github.io/jmpress.js/examples/container.html

ghost commented 11 years ago

Thank you for quick reply. Finally I found out, that it was only happening in Mozilla Aurora (experimental Firefox). In all standardized browsers it works well.

sokra commented 11 years ago

I hope that they will fix it :smile: