Line 81: | Line 81: | ||
<script> | <script> | ||
+ | $(document).ready(function() { | ||
+ | |||
+ | var timer; | ||
+ | var delay = 400; | ||
+ | $(".Main-Border").on("mouseenter", function() { | ||
+ | clearTimeout(timer); | ||
+ | timer = setTimeout(function() { | ||
+ | clearTimeout(timer); | ||
+ | $("#model-sub").show(); | ||
+ | $("#wet-lab-sub").hide(); | ||
+ | $("#human-practices-sub").hide(); | ||
+ | $("#application-sub").hide(); | ||
+ | $("#notebook-sub").hide(); | ||
+ | $("#team-sub").hide(); | ||
+ | $(".qs-sub-nav-item").css("font-weight", "Bold"); | ||
+ | }, delay); | ||
+ | |||
+ | }); | ||
+ | |||
+ | }); | ||
+ | |||
function openTabB(evt, tabName) { | function openTabB(evt, tabName) { | ||
var i, tabcontent, tablinksB; | var i, tabcontent, tablinksB; |
Revision as of 09:43, 31 October 2017