Piksite

  • Download
  • You can download it here.
  • What is it ?
  • Carousel.us is a Javascript 3D carousel, using the MooTools framework.
    It has been tested on Firefox 2+, Opera 9+, Safari 3+, IE 6+, Chrome 1.
  • Demonstration
  • You can try out the demonstration on this page.
  • Easy-to-use
  • Edit the index.html file.
    Add the img tags.
    In your head tags, add those lines :

    <script type="text/javascript" src="_js/mootools.js"></script>
    <script type="text/javascript" src="_js/carousel.us.js"></script>

    Then, add those lines to launch and define the carousel class on the gobal div with the id container :

    <script type="text/javascript">
        document.addEvent('domready', function() {
            var carousel = new Carousel($('container'));
        });
    </script>

    You can pass parameters: i.e :
    var carousel = new Carousel($('container'), { display_text: false [, options...] });
    Or you also can edit the carousel.us.js file and define the options.

    If you want to add a specific text for the images, insert it in a div tag with the class that you defined in the declaration of the carousel (or by editing the carousel.us.js file) and the relative id (i.e: if my image filename was 3_petits_cochons, the relative id would be 3_petits_cochons).
  • Documentation
  • Here are the several parameters for the configuration file :

    display_textDisplay or not the text for each image (true or false)
    textfieldThe id for the text container (string)
    texts_classThe class for each div containing text (string)
    opacityReflection opacity (0-1)
    heightReflection height (0-1)
    radiusxHorizontal spacing between opposite images (pixel)
    raidusyVertical spacing between opposite images (pixel)
    centerxPosition X of the carousel center (pixel)
    centeryPosition Y of the carousel center (pixel)
    clickitAdd onclick event on each image (true or false)
    baseBase speed (number)
    speedCarousel speed (number)
    depthThe height (distance) when carousel disappears on click (pixels)
    durationAnimations duration (ms)
    zoomInScale ratio (0-1)
    paddingThe CSS padding-left for the textfield (pixels)
  • Need help or Report bugs ?
  • You can report bugs or get some help on the forum.