Line 42: | Line 42: | ||
</style> | </style> | ||
+ | |||
+ | <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(); | ||
+ | }, delay); | ||
+ | |||
+ | }); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
+ | |||
</html> | </html> |
Revision as of 10:18, 31 October 2017