Wireframe with jQuery plugin

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, health 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'});

output results look like this.

wireframe_output

Get the plugin code for Wireframe.jq.js

Google Begins Testing Its Augmented-Reality Glasses

Soon, I will be able to play Angry Birds all the time and you’ll never know it. source




one thing I commonly hear is that “I want to experiment with the demos out there but I don’t have a Kinect”.  From that, page
I decided to make a library that identically replicates the libfreenect library so that anything that dynamically links it can function without requiring a Kinect. Go and check out Brandyn White’s […]


one thing I commonly hear is that “I want to experiment with the demos out there but I don’t have a Kinect”.  From that, page
I decided to make a library that identically replicates the libfreenect library so that anything that dynamically links it can function without requiring a Kinect. Go and check out Brandyn White’s […]

one thing I commonly hear is that “I want to experiment with the demos out there but I don’t have a Kinect”.  From that, page
I decided to make a library that identically replicates the libfreenect library so that anything that dynamically links it can function without requiring a Kinect. Go and check out Brandyn White’s […]
Soon, troche
I will be able to play Angry Birds all the time and you’ll never know it. source

Introducing Cthulhu Coffee

I set up a quick café press store while I’m trying to find the best source to get some better mugs designed. I’m even thinking about doing a kickstarter to get the initials funds for the first run. Until then, you can visit my little store and pick up a Cthulhu mug or two

I set up a quick café press store while I’m trying to find the best source to get some better mugs designed. I’m even thinking about doing a kickstarter to get the initials funds for the first run. Until then, advice
you can visit my little store and pick up a Cthulhu mug or two

Happy Holidays

We at Futile Heavy Industries have been a bit behind in keeping our blog up to date due to all the amazing stuff going on. So I’d like to wish all of our loyal followers a very happy holidays from us to you.

We at Futile Heavy Industries have been a bit behind in keeping our blog up to date due to all the amazing stuff going on. So I’d like to wish all of our loyal followers a very happy holidays from us to you.