Giter Site home page Giter Site logo

rasata / eco-scroll Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juntamng/eco-scroll

0.0 2.0 0.0 6.35 MB

Eco-friendly jQuery Scroll Plugin

Home Page: http://www.juntamng.com/ecoscroll

License: MIT License

CSS 8.69% HTML 21.03% JavaScript 70.28%

eco-scroll's Introduction

Eco-Scroll.js

Eco-friendly jQuery scroll plugin with infinite possibilities

What does it do?

Eco-Friendly - Elements will get removed when they go out of sight

Infinite Scroll - It can scroll will NO boundary

Possibilities - It can transform into many different tools, Possibilities are endless

Why?

I wanted to created a infinite scroll plugin for my own use.

Transformations

  • Infinite Image Wall
  • Slider
  • Carousel
  • Image Gallery
  • Calendar
  • Time-line
  • and more ..

Go to www.juntamng.com/ecoscroll to see some of the transformations

How to use

<style>
#divContainer 
{
  margin: 10px auto;
  position: relative;
  width: 500px;
  height: 500px;               
  border: 1px #000 solid;
  overflow: hidden;
}
.eCell {
  position: absolute;
  border: 1px #000 solid;
}
</style>
<body>       
  <h1><center>Infinite Wall</center></h1>
 
  <div id="divContainer">
      <div class="wrapper">                               
      </div>       
  </div>       
</body>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<script src="../js/jquery.eco-scroll.js"></script>       
<script>           
$(function()
{  
    $("#divContainer").ecoScroll({
        onShow:function(oParam)
        {
            if (oParam.bNew)
                oParam.$e.text( oParam.x + "," + oParam.y);
        }
    });
});
</script>
Output

alt text

eco-scroll's People

Contributors

juntamng avatar

Watchers

 avatar  avatar

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.