Zoom event like Google news

junglelist

New Member
I have to make something like zooming behavior of Google News. When we zoom in two three times he left sidebar hides out. How we can do that? What I know is first we have to detect zoom event. As I searched SO and also did some googling, I came to know that there is no direct zoom event present in HTML-DOM. There are some ways to do so like: [*]Using \[code\]onresize\[/code\] event which will fire two times when we zoom in or out. But now how can we detect it is zoom in or out. One way is compare dimension of any element before and after the \[code\]onresize\[/code\] event. But is there anything else to that. I tried to find the how google news implements it but not much win. Pls help me out
 
Top