MediaWiki:Common.js: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
Zeile 7: Zeile 7:
 
     sidebarjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
 
     sidebarjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
 
     $('head').append(sidebarjs);
 
     $('head').append(sidebarjs);
 +
  });
 +
})(jQuery);
 +
 +
 +
(function ($) {
 +
  $(function() {
 +
    var tabjs = $('<script type="text/javascript" />');
 +
    tabjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Tabs.js?action=raw&ctype=text/javascript');
 +
    $('head').append(tabjs);
 +
  });
 +
})(jQuery);
 +
 +
 +
(function ($) {
 +
  $(function() {
 +
    var gadget-TapToShowjs = $('<script type="text/javascript" />');
 +
    tabjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Gadget-TapToShow.js?action=raw&ctype=text/javascript');
 +
    $('head').append(gadget-TapToShowjs);
 +
  });
 +
})(jQuery);
 +
 +
(function ($) {
 +
  $(function() {
 +
    var Gadget-Tabjs = $('<script type="text/javascript" />');
 +
    tabjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Gadget-Tab.js?action=raw&ctype=text/javascript');
 +
    $('head').append(Gadget-Tabjs);
 
   });
 
   });
 
})(jQuery);
 
})(jQuery);

Version vom 7. September 2019, 13:42 Uhr

@import url('//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Tabs.js?action=raw&ctype=text/javascript');
@import url('//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Gadget-TapToShow.js?action=raw&ctype=text/javascript');

(function ($) {
  $(function() {
    var sidebarjs = $('<script type="text/javascript" />');
    sidebarjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
    $('head').append(sidebarjs);
  });
})(jQuery);


(function ($) {
  $(function() {
    var tabjs = $('<script type="text/javascript" />');
    tabjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Tabs.js?action=raw&ctype=text/javascript');
    $('head').append(tabjs);
  });
})(jQuery);


(function ($) {
  $(function() {
    var gadget-TapToShowjs = $('<script type="text/javascript" />');
    tabjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Gadget-TapToShow.js?action=raw&ctype=text/javascript');
    $('head').append(gadget-TapToShowjs);
  });
})(jQuery);

(function ($) {
  $(function() {
    var Gadget-Tabjs = $('<script type="text/javascript" />');
    tabjs.attr('src', '//memory-alpha.wiki/mediawiki/index.php?title=MediaWiki:Gadget-Tab.js?action=raw&ctype=text/javascript');
    $('head').append(Gadget-Tabjs);
  });
})(jQuery);