MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
$(function() { | |||
var text = 'From Indpedia'; | |||
var header = $('<div>').css({ | |||
'background-color': '#f1f1f1', | |||
'padding': '10px', | |||
'text-align': 'center', | |||
'font-weight': 'bold' | |||
}).text(text); | |||
$('#content').before(header); | |||
}); |
Revision as of 10:54, 11 August 2024
/* Any JavaScript here will be loaded for all users on every page load. */ $(function() { var text = 'From Indpedia'; var header = $('<div>').css({ 'background-color': '#f1f1f1', 'padding': '10px', 'text-align': 'center', 'font-weight': 'bold' }).text(text); $('#content').before(header); });