2013-02-07 19 views
0

我正在处理多维数据集库以显示多维数据集.... 我有一个错误.... 未捕获ReferenceError:库未定义fiddle.jshell.net :722未捕获ReferenceError:未在js中定义图库

如何修正这个错误..... \

我的小提琴也低于

http://jsfiddle.net/N3GTy/12/

提供以下

我的代码
<script type="text/javascript"> 
      /* 
      |------------------------------------------| 
      | MelonHTML5 - 3D Cube Gallery    | 
      |------------------------------------------| 
      | @author: Lee Le ([email protected]) | 
      | @version: 1.02 (09 Jan 2013)    | 
      | @website: www.melonhtml5.com    | 
      |------------------------------------------| 
      */ 
      Gallery = { 
       _config: { 
        speed: 500, 
        size: 100, 
        lightbox: !0, 
        closeOnEsc: !0, 
        animation: "default", 
        slideshow: !1, 
        slideshow_speed: 3E3, 
        cube_speed: 1E3 
       }, 
       lightbox_speed: 300, 
       window_width: null, 
       window_height: null, 
       _cube_timeout: null, 
       _gallery: null, 
       _overlay: null, 
       _lightbox: null, 
       _current: null, 
       _in_slideshow: !1, 
       init: function() { 
        Gallery._buildContainer(!0, !0); 
        Gallery.window_width = $(window).width(); 
        Gallery.window_height = $(window).height(); 
        $(document).keydown(Gallery.Events.keyDown); 
        $(window).resize(Gallery.Events.windowResize); 
        Gallery._startCube() 
       }, 

回答

0

您在致电Gallery.setOptions({...})之前Gallery被定义。

+0

你能告诉我如何修复它...... – user2045025

+0

将'Gallery.setOptions(*'* *在您的问题上发布的代码后 – kei

+0

感谢您的回复....现在的工作....你能告诉我如何解决这个错误太未捕获TypeError:无法读取属性'儿童'为null http://jsfiddle.net/N3GTy/28/embedded/result/ – user2045025

相关问题