I’ve started playing around with the idea of creating a plugin for jQuery that makes quick wireframe prototyping easy. I still need to add more controls, but when combined with jQuery UI, things can be mocked up really fast.
start with some HTML
1: <body>
2: <header>
3: </header>
4: <div role="main">
5: <div class="content">
6: <div class="placeholderimage" style="height: 200px; width: 200px; float: left; margin-right: 10px;">
7: </div>
8: <div class="box" style="height: 400px; width: 200px; float: right; margin-left: 10px;">
9: <div class="box" style="height: 100px; width: 90%; margin-left: auto; margin-right: auto; margin-top:20px;"></div>
10: <div class="box" style="height: 100px; width: 90%; margin-left: auto; margin-right: auto; margin-top:20px;"></div>
11: <div class="box" style="height: 100px; width: 90%; margin-left: auto; margin-right: auto; margin-top:20px;"></div>
12: </div>
13:
14: <div class="placeholdertext">
15: </div>
16: </div>
17: </div>
18: <footer>
19: </footer>
20: </body>
Some CSS
body {
font-family: sans-serif;
background: #fff;
color: #333;
width: 940px;
margin: 0 auto;
}
div[role="main"] {
font-size: 1em;
}
.content {
position: relative;
margin-top: 10px;
margin-bottom: 10px;
}
Then add some of the jQuery plugin code
$('.placeholderimage').wireframe('image', {label: 'feature'}); $('.placeholdertext').wireframe('text', {characters: 1000}); $('header').wireframe('box', {label: 'header'}); $('footer').wireframe('box', {label: 'footer'}); $('.box').wireframe('box', {label: 'feature'});