Author: solomax
Date: Mon May 20 07:04:16 2013
New Revision: 1484383

URL: http://svn.apache.org/r1484383
Log:
[OPENMEETINGS-640] proper resize for IE and FF is added

Modified:
    openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css
    
openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/rooms/swf-functions.js

Modified: openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css
URL: 
http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css?rev=1484383&r1=1484382&r2=1484383&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css 
(original)
+++ openmeetings/trunk/singlewebapp/WebContent/openmeetings/css/theme.css Mon 
May 20 07:04:16 2013
@@ -16,7 +16,8 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-body {
+html, body {
+       height: 100%;
        margin: 0;
 }
 #header {

Modified: 
openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/rooms/swf-functions.js
URL: 
http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/rooms/swf-functions.js?rev=1484383&r1=1484382&r2=1484383&view=diff
==============================================================================
--- 
openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/rooms/swf-functions.js
 (original)
+++ 
openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/rooms/swf-functions.js
 Mon May 20 07:04:16 2013
@@ -31,6 +31,7 @@ function initSwf(swfurl) {
                };
        var options = $.extend({}, general, {allowfullscreen : 'true'});
        $('#header, #topLinks, #menu').hide();
+       $('div[id="contents"], div[id="contents"] > div').css('height', '100%');
        var embed = $('<embed>').attr('quality', 'high').attr('bgcolor', 
options.bgcolor)
                .attr('src', options.url)
                .attr('wmode', 'window').attr('allowfullscreen', true)
@@ -45,6 +46,7 @@ function initSwf(swfurl) {
 
 function roomExit() {
        $('#header, #topLinks, #menu').show();
+       $('div[id="contents"], div[id="contents"] > div').css('height', 'auto');
        window.location.hash = "#rooms/public";
        $('#lzappContainer').remove();
 }
\ No newline at end of file


Reply via email to