Difference between revisions of "MediaWiki:Common.js"
From Glossary of Forensic Document Examination & Pattern Recognition
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $('#myTab a').click(function (e) { e.preventDefault() $(this).tab('show') })") |
m |
||
Line 3: | Line 3: | ||
$('#myTab a').click(function (e) { | $('#myTab a').click(function (e) { | ||
+ | e.preventDefault() | ||
+ | $(this).tab('show') | ||
+ | }) | ||
+ | |||
+ | $('#alphabeticTabs1 a').click(function (e) { | ||
+ | e.preventDefault() | ||
+ | $(this).tab('show') | ||
+ | }) | ||
+ | |||
+ | $('#alphabeticTabs2 a').click(function (e) { | ||
e.preventDefault() | e.preventDefault() | ||
$(this).tab('show') | $(this).tab('show') | ||
}) | }) |
Revision as of 10:40, 22 August 2014
/* Any JavaScript here will be loaded for all users on every page load. */ $('#myTab a').click(function (e) { e.preventDefault() $(this).tab('show') }) $('#alphabeticTabs1 a').click(function (e) { e.preventDefault() $(this).tab('show') }) $('#alphabeticTabs2 a').click(function (e) { e.preventDefault() $(this).tab('show') })