Posted by Matthew Davidson on October 11, 2011 at 2:10am
Responsive Tools is a set of utilities to help themers follow the principles of responsive web design. It also provides a very simple API to allow module developers to include their own JavaScript functions to be triggered on page load/resize.
Tools included with this package:
- Viewport Classes
- This is a refactoring of the Viewport Classes module to use Responsive Tools. It does the job of CSS3 Media Queries, so can be considered obsolete, but may be useful for supporting older browsers, or it may just suit the way you prefer to work.
- Responsive Image Sizes
- Your browser says to Drupal "This is how much space I've got. Gimme an image to fit." Only download what you need. Excellent for image-intensive or bandwidth-deprived use cases.
- More to come…
Co-maintainer(s) Wanted
My JavaScript expertise is practically nil. I just write pseudocode and keep throwing in brackets and braces till I stop getting error messages. If by that stage the code also does what I want, that's a bonus.
Assistance from people who know what they're doing on the JavaScript side would be greatly appreciated.