• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • API Docs
    • Environments
    • Tutorials
  • Community
    • Gallery
    • Blog
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • Shifter »
    • Yogi »
    • YUI 2
    • YUI Doc »
    • YUI Test
    • YUI Website
    • YUI Compressor »
    • YUI Builder »
    • YUI PHP Loader
    • Grid Builder »
    • Skin Builder »
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • Yogi Documentation
  • Shifter Documentation
  • Developer Guide
  • Module Setup

Tag Cloud

Context Navigation

    Build Tag: gallery-2012.06.06-19-59

    Return to Carousel

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd"> 
    <html>
        <head>
            <title>YUI Module</title>
            <!-- Due to a bug the CSS has to be included manually -->
            <link type="text/css" rel="stylesheet"
                  href="http://yui.yahooapis.com/gallery-2011.03.23-22-20/build/gallery-carousel/assets/skins/sam/gallery-carousel.css">
            <style type="text/css">
            .yui3-carousel-content li { width: 50px; }
            </style>
            <script type="text/javascript"
                    src="http://yui.yahooapis.com/3.3.0/build/yui/yui-min.js"
                    charset="utf-8">
            </script>
        </head>
        <body class="yui3-skin-sam">
            <div id="container" class="yui3-carousel-loading">
                <ol>
                    <li>one</li>
                    <li>two</li>
                    <li>three</li>
                    <li>four</li>
                    <li>five</li>
                </ol>
            </div>
        </body>
        <script type="text/javascript">
        YUI({
        //Last Gallery Build of this module
        gallery: 'gallery-2012.06.06-19-59'
    }).use("gallery-carousel", "substitute", function (Y) {
            Y.on("contentready", function () {
                var carousel = new Y.Carousel({
                    boundingBox: "#container",
                    contentBox: "#container > ol"
                });
                carousel.render();
            }, "#container");
        });
        </script>
    </html>
     

    Build Output

    /home/y/libexec/ant/bin/ant all
    Buildfile: build.xml
         [echo] Starting Build For gallery-carousel
    
    clean:
    
    init:
        [mkdir] Created dir: /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp
         [echo] Starting Build For gallery-carousel
    
    -lint-server:
         [echo] Starting Build For gallery-carousel
    
    -node:
         [echo] For faster builds, install Node.js.
    
    -concatdebug:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/ant
    
    -registerdebug:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp
    
    -prependdebug:
    
    -appenddebug:
    
    builddebug:
    
    -createcore:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp
    
    -loggerregex:
    
    buildcore:
    
    -rollupjs:
    
    -concatskins:
         [copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/ant
       [delete] Deleting directory /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/ant
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/assets/skins/sam/gallery-carousel.css
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/assets/skins/sam/gallery-carousel.css
    
    -buildskins:
    
    -rollupcss:
    
    buildskins:
    
    -buildlangs:
    
    -rolluplangs:
    
    buildlangs:
    
    build:
    
    minify:
    [yuicompressor] Compressing /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/gallery-carousel.js
    [yuicompressor] 
    [yuicompressor] [WARNING] The symbol NAVSTATECHANGED_EVENT is declared but is apparently never used.
    [yuicompressor] This code can probably be written in a more compact way.
    [yuicompressor] ,ITEMREMOVED_EVENT="itemRemoved",ITEMSELECTED_EVENT="itemSelected", ---> NAVSTATECHANGED_EVENT <--- ="navStateChanged";Carousel.NAME="carousel";Carousel
    [yuicompressor] 
    [yuicompressor] [WARNING] The symbol isCircular is declared but is apparently never used.
    [yuicompressor] This code can probably be written in a more compact way.
    [yuicompressor] (index){var self=this, ---> isCircular <--- =self.get("isCircular"),numItems=
    [yuicompressor] 
    [yuicompressor] [WARNING] The symbol numItems is declared but is apparently never used.
    [yuicompressor] This code can probably be written in a more compact way.
    [yuicompressor] isCircular=self.get("isCircular"), ---> numItems <--- =self.get("numItems"),numVisible=
    [yuicompressor] Compressed to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/gallery-carousel-min.js
    
    lint:
         [echo] Using Rhino. Install nodejs to improve jslint speed, or skip with -Dlint.skip=true
         [java] Running JSLint on : /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/src/gallery-carousel/build_tmp/gallery-carousel.js
         [java] - OK
    
    local:
    
    deploybuild:
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-carousel
    
    deployassets:
         [copy] Copying 2 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-carousel/assets
    
    deployskins:
         [copy] Copying 1 file to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-carousel/assets/skins/sam
         [copy] Copying 3 files to /home/y/var/builds/workspace/gallery/build_tmp/src/yui3-gallery/build/gallery-carousel/assets/skins/sam
    
    deploylang:
    
    deploydocs:
    
    deploy:
    
    all:
    
    BUILD SUCCESSFUL
    Total time: 3 seconds

    © 2006-2013 Yahoo! Inc. All rights reserved.
    All code on this site is licensed under the BSD License unless stated otherwise.
    About This Site · Security Contact Info