User:FlyingRagnar/vector.js: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
+ '&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');
}


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

Revision as of 16:09, 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>');


function insert_tabs() {
  $( "#tabs" ).tabs();
});
addOnloadHook( insert_tabs );