Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp =================================================================== diff -u -r27569 -r27589 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp (.../tousseImage.jsp) (revision 27569) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp (.../tousseImage.jsp) (revision 27589) @@ -279,10 +279,21 @@ } var bodyHeight = $('body').height(); + + if(window.screen.height - bodyHeight > 100){ + $(".toussePage").show(); + $('#imageAndMaterialID').height((bodyHeight-50)+'px'); + $('#materialDIV').height((bodyHeight-93)+'px'); + $('#tousseOrMaterialImage').height((bodyHeight-43-150)+'px'); + $('#ImageID').height((bodyHeight-43-150)+'px'); + }else { + $(".toussePage").show(); + $('#imageAndMaterialID').height((bodyHeight-50)+'px'); + $('#materialDIV').height((bodyHeight-93-97)+'px'); + $('#tousseOrMaterialImage').height((bodyHeight-93-150-57)+'px'); + $('#ImageID').height((bodyHeight-93-150-57)+'px'); + } - $(".toussePage").show(); - $('#imageAndMaterialID').height((bodyHeight-50)+'px'); - if(sstsConfig.toussePicturesShow && showToussePictures){ $(".instruction-book,.packing-teach,.tousse-video,.checkbox-materialTd").show(); @@ -393,10 +404,10 @@