Difference between revisions of "MediaWiki:Common.js"

From Glossary of Forensic Document Examination & Pattern Recognition
Jump to: navigation, search
m
m
Line 3: Line 3:
 
$('#wholeTabs a').click(function (e) {
 
$('#wholeTabs a').click(function (e) {
 
   e.preventDefault()
 
   e.preventDefault()
  $("li a").tab('show')
+
    $('.nav-tabs > li > a').hover( function(){
 +
      $(this).tab('show');
 +
    });
 
})
 
})
 
$('#alphabeticTabs a').click(function (e) {
 
$('#alphabeticTabs a').click(function (e) {

Revision as of 15:03, 22 August 2014

/* Any JavaScript here will be loaded for all users on every page load. */

$('#wholeTabs a').click(function (e) {
  e.preventDefault()
    $('.nav-tabs > li > a').hover( function(){
      $(this).tab('show');
    });
})
$('#alphabeticTabs a').click(function (e) {
  e.preventDefault()
  $(this).tab('show')
})