Re: [jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-08 Thread Rafał Pocztarski
2009/12/5 ripple ripple...@yahoo.com $(window).resize(function(){ reSize(); }); function reSize() { if ($('#page').width()  1000) { //do something } Nice idea with the less important columns disappearing when the window gets smaller. I just want to point out that when you only have one

[jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread pab
is there a way to add a class to the body when window is resized below a certain width

Re: [jQuery] is there a way to add a class to the body when window is resized below a certain width

2009-12-04 Thread ripple
Of course you can!   I'm actually working on something similar to that now.   $(window).resize(function(){ reSize(); });   function reSize() {   if ($('#page').width()  1000) { //do something }   http://2whoa.com   --- On Fri, 12/4/09, pab fliawebdes...@gmail.com wrote: From: pab