|
|
108行目: |
108行目: |
| * NIJC: | | * NIJC: |
| */ | | */ |
| importScriptURI('http://bsd.neuroinf.jp/w/skins/common/jquery.min.js'); | | // importScriptURI('http://bsd.neuroinf.jp/w/skins/common/jquery.min.js'); |
| | importScriptURI("http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"); |
| var NIJC_WindowOnLoad = window.onload; | | var NIJC_WindowOnLoad = window.onload; |
| window.onload = function(){ | | window.onload = function(){ |
114行目: |
115行目: |
| NIJC_WindowOnLoad(); | | NIJC_WindowOnLoad(); |
|
| |
|
| if (typeof(jQuery.proxy) == 'undefined') {
| | |
| jQuery.extend({
| |
| proxy: function(fn, thisObject) {
| |
| return function() {
| |
| return fn.apply(thisObject, arguments);
| |
| }
| |
| },
| |
| on: function( types, selector, data, fn, one ) {
| |
| var type, origFn;
| |
| if ( typeof types === "object" ) {
| |
| if ( typeof selector !== "string" ) {
| |
| data = data || selector;
| |
| selector = undefined;
| |
| }
| |
| for ( type in types ) {
| |
| this.on( type, selector, data, types[ type ], one );
| |
| }
| |
| return this;
| |
| }
| |
| if ( data == null && fn == null ) {
| |
| fn = selector;
| |
| data = selector = undefined;
| |
| } else if ( fn == null ) {
| |
| if ( typeof selector === "string" ) {
| |
| fn = data;
| |
| data = undefined;
| |
| } else {
| |
| fn = data;
| |
| data = selector;
| |
| selector = undefined;
| |
| }
| |
| }
| |
| if ( fn === false ) {
| |
| fn = returnFalse;
| |
| } else if ( !fn ) {
| |
| return this;
| |
| }
| |
| if ( one === 1 ) {
| |
| origFn = fn;
| |
| fn = function( event ) {
| |
| jQuery().off( event );
| |
| return origFn.apply( this, arguments );
| |
| };
| |
| }
| |
| return this.each( function() {
| |
| jQuery.event.add( this, types, fn, data, selector );
| |
| });
| |
| }
| |
| });
| |
| }
| |
| jQuery(function($){ | | jQuery(function($){ |
|
| |
|
269行目: |
221行目: |
| } | | } |
|
| |
|
| $( createNavigationBarToggleButton ); | | // $( createNavigationBarToggleButton ); |
|
| |
|
| }); | | }); |
| } | | } |