GithubHelp home page GithubHelp logo

the-wall's Introduction

Screenshot

The Wall - A Javascript plugin for Mootools

The Wall is a plugin for Mootools javascript framework designed to create walls of infinite dimensions. Its flexibility allows different applications, from infinite wall mode to Coda slider mode. The Wall creates compatible interfaces with the newer browsers and iPhone and iPad mobile devices.

Urls The Wall

The trailer: Trailer

Project site: wall.plasm.it

My portfolio: www.plasm.it

How to use

Snippet code Javascript:

#JS

// Define The Wall
var maxLength = 100; // Max Number images or array length
var counter   = 1;
var wall = new Wall("wall", {
                "width":150,
                "height":150,
                "rangex":[-100,100],
                "rangey":[-100,100],
                callOnUpdate: function(items){
                    items.each(function(e, i){
                        // This is example code
                        var a = new Element("img[src=/your/folder/images/"+counter+".jpg]");
                            a.inject(e.node).fade("hide").fade("in");
                        counter++;
                        // Reset counter
                        if( counter > maxLength ) counter = 1;
                    })
                }
            });
// Init Wall
wall.initWall();

Snippet code HTML:

#HTML

<!-- Viewport and Wall -->
<div id="viewport">
    <div id="wall"></div>
</div>
<!-- END Viewport and Wall -->

Snippet code CSS:

#CSS

/* Minimal Css Required */
#viewport{
    width:900px;
    height:450px;
    position:relative;
    overflow:hidden;
    margin:0 auto;
    background:#111111  ;
}

#wall{
    z-index:1;
}

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.