Coder Social home page Coder Social logo

rowbearski / movingboxes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from css-tricks/movingboxes

0.0 2.0 0.0 2.93 MB

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.

Home Page: http://css-tricks.com/moving-boxes/

License: GNU Lesser General Public License v3.0

movingboxes's Introduction

MoxingBoxes jQuery Plugin (demo)

Changelog

(Only the most recent changes are shown below, see the wiki page for a complete listing)

Version 2.3.4 (1/21/2013)

Version 2.3.3 (1/18/2013)

Version 2.3.2b (1/6/2013)

  • Updated playground demo. Using jQuery edge appears to mess up the scrolling behavior.
  • Added .gitignore and .gitattributes files.

Version 2.3.2 (11/17/2012)

  • Updated the API used to change panels. It will now accept a jQuery object of the panel or an element anywhere inside panel:

    // go to panel 3
    var lnk3 = $('.link3'); // link inside panel 3
    $('#boxes').movingBoxes(lnk3, function(api){
      alert('Now on panel #' + api.curPanel);
    });

    You can also call the api directly

    // go to panel 3
    var api = $('#boxes').data('movingBoxes'), // movingboxes object (api)
        lnk3 = $('.link3'); // link inside panel 3
    api.change(lnk3, function(api){
        alert('Now on panel #' + api.curPanel);
    });
  • Fixed the issue with the first panel not positioning correctly when the hash is not set.

  • Fixed issues with dealing with only one panel:

    • MovingBoxes with one or less panels will now properly hide the navigation arrows.
    • Starting with two panels and the first slide selected, when the second one was removed, the first panel would not resize. It does now!
  • Fixed an issue that occurred when the indicated hash panel didn't exist - the first cloned slide used to display instead.

Version 2.3.1 (10/9/2012)

  • MovingBoxes will no longer start on the first cloned panel when the wrap option is set to true. Fixes issue #97.

Version 2.3 (9/18/2012)

  • Added a method to check when all images have loaded, then reevaluate the height of each panel.
    • The plugin that was incorporated is called imagesLoaded.
    • This entailed rewritting and fixing the plugin initialization function (issue #92 and initAnimation problems (issue #79).
    • I hope this also includes fixing whatever is going on in issue #62.
  • Added a delayBeforeAnimate option:
    • The beforeAnimation event will be fired, then the animation will be delayed by the value in delayBeforeAnimate in milliseconds.
    • See issue #80 on how this could be useful :). Thanks to Alfazo for the suggestion.
  • Modified the layout so that the UL now gets the margin to center the panels within the frame instead of the first LI. This fixes the animation jump seen when switching from the second to first panel.
  • Removed byte order mark (BOM) from the js files. Fix for issue #94.

Version 2.2.16 (8/17/2012)

  • Added new styling to the demo pages (Chris)
  • Updated to jQuery v1.8
  • Included padding and margins in the panel position calculation to better center them.

Moved repo to CSS-Tricks (8/15/2012)

Version 2.2.15 (4/23/2012)

  • The initAnimation option should again prevent the initial animation. Fix for issue #79.

movingboxes's People

Contributors

mottie avatar chriscoyier avatar

Watchers

James Cloos avatar Robert Bailey 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.