Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A jQuery plugin that loads content based on the size of the window
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
jquery.content-0.0.1.js
readme

readme

# jQuery Conditional Loader plugin

Simplifies the process of doing conditional loading of data depending on the window size of the browser.

This is an alpha version and is due to be changed soon. It is not guaranteed that it works as it should either.

Usage:

$('div[role="twitter"]').content({size: 640, html: 'Display 2 tweets'})
	.content({size: 992, html : 'display 5 tweets'})
	.content({size: 1364, html : 'display all tweets'});

Something went wrong with that request. Please try again.