User:FlyingRagnar/vector.js: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
+ '&action=raw&ctype=text/javascript"></' + 'script>');
if (jQuery) { 
    // jQuery is loaded 
    alert('jquery');
} else {
    // jQuery is not loaded
    alert('not');
}


$(document).ready( tabs() {
$(document).ready( tabs() {
   $( "#tabs" ).tabs();
   $( "#tabs" ).tabs();
});
});
addOnloadHook( tabs );

Revision as of 16:02, 19 October 2011

// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');

if (jQuery) {  
    // jQuery is loaded  
    alert('jquery');
} else {
    // jQuery is not loaded
    alert('not');
}


$(document).ready( tabs() {
  $( "#tabs" ).tabs();
});