Check if a box2d (box2dWeb-2.1.a.3.js) body is static or not.
A simple example of how to check if the body is static or not in box2dWeb-2.1.a.3.js.
12345678910111213for (var body = world.GetBodyList(); body; body = body.GetNext()){// while iterating through the bodies you will not probably want to use static bodies. In order do differiantiate between static and dynamic bodies you can use the m_mass parameter. If m_mass > 0 then the body is dynamic, if not it is a static body.if (body.m_mass > 0) // Check if the current body is dynamic{// Do here something with the dynamic body}}