pushme

2.1.1 • Public • Published

pushme.js

This small but might really useful jQuery Plugin makes possible to push elements into specific containers depended on certain media queries.

Demo

Check out a short example of the pushme.js:
http://jsfiddle.net/v9tWd/3/

Installation

Just include the pushme.js and initialize it for your elements. Note: Also make sure that jQuery is defined.

<script type="text/javascript" src="path/to/your/pushme.js"></script>
$(window).on('resize', function() {
    $('.foo').pushme({
        element: '.bar',
        pushAction: 'prependTo',
        mq: 'screen and (max-width:767px)'
    });
});

Package Sidebar

Install

npm i pushme

Weekly Downloads

0

Version

2.1.1

License

GPL-2.0+

Last publish

Collaborators

  • cbopp-art