Currently, all responsive grid systems work same: When screen width gets narrow, right most block swaps left, one row below...
When screen width gets more narrow, right most block swaps left, one row below, again... Many time this is not desirable situation...
You want to change the sequence of blocks when screen gets narrow. Now, with ResponsyGs, you may order your blocks what you desire... For a just fun, even like above....
With ResponsyGs
Plugin Using
$.fn.responsygs (UserTemplate, UserFunction);
UserTemplate is an array. You define your blocks(div, header, section, footer, etc) and their class/clases for different screen sizes.
This site developed by Ajaxway 2-16 Column Based Grid System(you may get detail info about grid system from this link) And ResponsyGs. You may test this site with resizing your browser window. It becomes to one column when window size is less than 500px.
For using ResponsyGs;
<script type="text/javascript" src="path/jquery-1.6.3.min.js"></script>
<script type="text/javascript" src="path/jquery.responsygs-min.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="css/media.css" />
<script type="text/javascript">
$(document).ready(function() {
var mysels = [
'800, #container, #header, #left, #center, #right, #footer',
'480, #container, #header, #left, #center, #right, #footer',
'0, #container, #header, #left, #center, #right, #footer'
]
$.fn.responsygs(mysels);
$(window).resize(function() {
$.fn.responsygs(mysels);
});
});
</script>
'800, #logo src=images/logo.png'
....
'480, #logo src=images/logo2.png'
....
'0, #logo src=images/logo3.png'
....
and define your images at html for example like this:
<img id='logo' src='' class='p100' />
Let's explain array's elements one by one:
'480, #container, #header, #menu, #center=col6, #left=col4 last, #right=col4, #fivecol, #footer',
'480, #fivecol > div=col5',
'480, #left img=p30',
'480, #right img=p15',
'480, #topmenu=col10 font05',
....
The other lines after line of a specific window's width are just to declare new class or classes for a specific selector or to order inner divs of child element. You may use any jQuery selector.
'800, #show src=media/show-640x480.webm'
....
'480, #show src=media/show-480x320.webm'
....
'0, #show src=media/show-320x240.webm'
....
and define your media at html for example like this:
<video id="video" class="media1" controls="controls" class="p100">
<source id="show" src="" type='video/webm; codecs="vorbis,vp8"'></source>
</video>
Just ResponsyGs.js (developer and minified versions with media.css for responsive images).