jResize speeds up RWD testing
Plug-in aims to be smart, native, extensible and hackable
Developer Todd Motto has released jQuery plug-in jResize, designed to assist the workflow of developers on responsive web design projects. Motto told .net that the plug-in was inspired by Motto not finding a responsive testing tool he was happy with: "I wanted to create something native, something that was actually part of the website itself that we could switch on and off quickly. jResize was created to take away all the annoying browser resizing we have to do, or loading up external iFrames for testing."
As per the demo on Motto's site, jResize works by only requiring a click to change the viewport size. Motto notes that behind-the-scenes, he's tried to make the plug-in more intelligent than the average solution: "It doesn't emulate your website content in a frame or manipulate any of your content or existing styles—it wraps your entire content in a dynamic div, and inserts navigation above it, for you to click to resize. There's also a simple reset, to revert to the 'normal' view." Motto added that his plug-in is also easy to customise. You can define within an array whichever widths you'd like to test with, and the plug-in adds another menu item without you having to do anything further. For more 'codephobic' designers, the plug-in is also easy to implement, called via a couple of <script> elements in the head of a web page.
Motto said he hopes to iterate on the plug-in, improving it over the coming months: "I see it evolving to be even smarter—anything to make a developer's workflow easier. Responsive web design is booming, and we need all the help we can get. No more bookmarking testing websites—it's all on your web page now!"
Get the Creative Bloq Newsletter
Daily design news, reviews, how-tos and more, as picked by the editors.
Thank you for reading 5 articles this month* Join now for unlimited access
Enjoy your first month for just £1 / $1 / €1
*Read 5 free articles per month without a subscription
Join now for unlimited access
Try first month for just £1 / $1 / €1
The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.