Category:Snippets with JavaScript

Jump to: navigation, search
Language: English  • 日本語

How to use[edit]

You can use these snippets in any resource loader module. This includes those generated by core (such as the site and user module generated from wiki pages) and those in extensions.

See Manual:Interface/JavaScript for places where you can add those snippets to your site.

Most snippets assume that they are executed after the document is ready, for those cases, make sure that you have a document-ready wrapper in your code. If you don't have one already, use the below:

$( function ()  {
	// Paste snippet here.
	// Paste as many as you like, only one "$( function () { ... } );" wrapper is needed!
} );

Pages in category "Snippets with JavaScript"

The following 41 pages are in this category, out of 41 total.