This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| S2.enableMultitouchSupport = true; | |
| new S2.UI.Carousel("vcarousel", {drag: true, orientation: 'vertical'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| S2.enableMultitouchSupport = true; | |
| new S2.UI.Carousel("hcarousel", {swipe: true}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| S2.enableMultitouchSupport = true; | |
| new S2.UI.Carousel("vcarousel", {swipe: true, orientation: 'vertical'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| S2.enableMultitouchSupport = true; | |
| new S2.UI.Carousel("hcarousel", {flick: true}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| S2.enableMultitouchSupport = true; | |
| new S2.UI.Carousel("vcarousel", {flick: true, orientation: 'vertical'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var hCarousel = new S2.UI.Carousel("hcarousel", {cycle: 'loop'}); | |
| new PeriodicalExecuter(function(pe) { hCarousel.scrollNext(); }, 3); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var vCarousel = new S2.UI.Carousel("vcarousel", {orientation: 'vertical', cycle: 'loop'}); | |
| new PeriodicalExecuter(function(pe) { vCarousel.scrollNext(); }, 3); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| new Ajax.Request('http://github.com/api/v2/json/repos/show/madrobby/scripty2/contributors', { | |
| method: 'get', | |
| onSuccess: function(response) { console.log(response.responseJSON) } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var handler = $('content').on('click', function(event) { | |
| console.log('ok'); | |
| handler.stop(); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // can be used on windows#resize, after personal resizing, ... | |
| $('hcarousel').fire('carousel:updateSize'); |