...Download the zip file using the buttons on the right side and include both files at the head section of your page. ElementQueries start automatically to listen to window.load event and parses all available css files to attach the ResizeSensor and start the magic. No interval/timeout detection like in most resize sensor out there. It's truly event-based. Automatically discovers new DOM elements. No need to call javascript manually. All CSS selectors available. It uses the normal attribute selector. Min-width, min-height, max-width and max-height supported. It works for all layout modifications, HTML (innerHTML etc), inline styles, DOM mutation, CSS3 transitions, fluid layout changes (parent changes too), pseudo classes (:hover etc), window resizes, etc.