是否有可能实现垂直旋转木马滑动与Twitter Bootstrap?在bootstrap.js中我找到了这个
, slide: function (type, next) {
var $active = this.$element.find('.active')
, $next = next || $active[type]()
, isCycling = this.interval
, direction = type == 'next' ? 'left' : 'right'
, fallback = type == 'next' ? 'first' : 'last'
, that = this
Run Code Online (Sandbox Code Playgroud)
我试图将方向改为"向上"和"向下",但滑动不起作用.