Difference between revisions of "Template:Copenhagen-Header"

Line 742: Line 742:
 
}
 
}
  
.tooltip
+
 
{
+
position:absolute;
+
background-color:#eeeefe;
+
border: 1px solid #aaaaca;
+
font-size: smaller;
+
padding:4px;
+
width: 160px;
+
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
+
-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
+
-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
+
}
+
 
     </style>
 
     </style>
  
Line 869: Line 858:
 
   $('#tooltip').toggle();
 
   $('#tooltip').toggle();
 
});
 
});
 +
 +
$('a').tooltip({         
 +
    disabled: true,
 +
    close: function( event, ui ) { $(this).tooltip('disable'); }
 +
    });
 +
 +
  $('a').on('click', function () {
 +
    $(this).tooltip('enable').tooltip('open');
 +
  });
  
 
</script>
 
</script>

Revision as of 08:20, 31 October 2017