Giter Site home page Giter Site logo

kaptinlin / viewportresizer Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 2.36 MB

ViewportResizer is jQuery plugin used to quickly change the dimensions of a webpage to test responsive design.

Home Page: http://viewportResizer.com

JavaScript 79.33% CSS 20.67%

viewportresizer's Introduction

ViewportResizer

ViewportResizer is jQuery plugin used to quickly change the dimensions of a webpage to test responsive design.

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/viewportResizer.min.js"></script>
<script>
jQuery(function($) {
  $.viewportResizer();
});
</script>

Documentation

(Coming soon)

Examples

$.ViewportResizer({
    viewport: 'auto',
    target:'http://foundation.zurb.com',
    components:{
      inputer:true,
      switcher:true,
      iframe:true,
      resizable:true,
      axis:true,
      info:true,
      history:false
    }
});
$.ViewportResizer.go('http://baidu.com');
$.ViewportResizer.use('mobile');
$.ViewportResizer.change({
    target: 'http://baidu.com',
    viewport: 'mobile'
});
$.ViewportResizer.resize({width: 300, height: 400});
$.ViewportResizer.resizeWidth(300);
$.ViewportResizer.resizeHeight(400);

Release History

(Nothing yet)

License

Copyright (c) 2012 KaptinLin Licensed under the CC BY-NC 3.0 license.

viewportresizer's People

Contributors

kaptinlin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

viewportresizer's Issues

scroll bar

It need a scroll bar when more than page size.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.