¡@

Home 

2014/10/16 ¤W¤È 12:03:01

jquery Programming Glossary: doadjust

How do I keep multiple DIVs the same height using jQuery?

http://stackoverflow.com/questions/803688/how-do-i-keep-multiple-divs-the-same-height-using-jquery

50 wide floated divs... the rendering was much better if I changed those to 49 . This jQuery works... global variables doAdjust true previousWidth 0 raise doAdjust flag every time the window width changes window .resize function var currentWidth window.. was much better if I changed those to 49 . This jQuery works... global variables doAdjust true previousWidth 0 raise doAdjust flag every time the window width changes window .resize function var currentWidth window .width if previousWidth currentWidth.. time the window width changes window .resize function var currentWidth window .width if previousWidth currentWidth doAdjust true previousWidth currentWidth every half second function setInterval 'maybeAdjust ' 500 check the doAdjust flag function..