jQuery issue with $(window).height() and .width() in IE8 -


I am developing some types of pages and I need to work the following code in IE8:

JQuery:

  $ (function () {findHeight (); $ (window) .on ('resize', function) {findHyight ();}); Function findHeight () {var WindowH = $ (window) .height () - 20; Var window = w = $ (window) .width (); Var window W_minusMenu = $ (window) .width () - 290; $ ('Body-type') CSS ({'Width': windowW, 'max-height': windowH}); $ ('.cont- right'). CSS ({'width': windowW_minusMenu})}}  

}};

  .body-type  

is just one of the main content, everything on the page raises up.

Also

  .cont-right  

What is a content on the right, on the basis of which I want a certain width of the window On size

 . Menu-left  

Float left menu is set on the page.

The problem is that it does not work in IE8 and I do not know why

please help me with that! Thanks!


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -