|
On the site we are building you get a fixed height of 278px on containers where the content is higher than this 278px. Is the content lower than the container doesn't get a fixed 278px height. The thing is we don't want a fixed height. How can we disable it, or did we get this problem because we build our own containers with different size? Your sincerely, John |
|
If you don't set a height in the metadata parameter than the container will get the size from the content; otherwise, if you set a height it must be an int and it will be get as px and not as percentage. Anyway I notice that there's a bug that should be fixed for next release... I want dynamic height of the inserted content, so I don't add any height to the mbcontainer. After testing on different systems the height of the mbcontainer gets the height of the available size of the browser. So when you have full-screen you get for example height 800px en when you have a small resized window open you can get 10px. Below is an example of what I did and got as response. HTML code: Result:
(Jan 18 at 14:25)
John
1
The problem is related to this part of the javascript mbContainer.js on row 131 var nwh=$(window).height(); if (container.outerHeight()>nwh) container.find(".c:first , .mbcontainercontent:first").css("height",(nwh-20)-container.find(".n:first").outerHeight()-(container.find(".s:first").outerHeight()));
(Jan 18 at 15:10)
John
|



