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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -