试图通过监听对象及其属性来隐藏左/右导航文本。
工作示例:http: //jsfiddle.net/ylokesh/9EyEu/29/
但是,出现以下错误“Uncaught TypeError: Cannot call method 'hide' of undefined”
if(!scroller) { var scroller = {}; }
            scroller = {
                next : "#leftControl",
                prev : "#rightControl",
                videos : {
                    hideButtons : function() {
                        var obj = this;
                        obj.next.hide();
                        obj.prev.hide();
                    },
                    init : function() {
                        var obj =  this;
                        obj.hideButtons();
                    }
                },
                init : function() {
                    var obj =  this;
                    obj.videos.init(); 
                }                            
            }
scroller.init();