Difference between revisions of "Template:UMaryland/Navbar"

Line 67: Line 67:
 
</div>
 
</div>
 
</div>
 
</div>
<div id="navigationBarPlaceholder"></div>
 
</body>
 
<script>
 
$(document).ready(() => {
 
//All the fancy navbar stuff - hopefully it works
 
$('.navigationBarOption').on('mouseover', event => {
 
$(event.currentTarget).children().removeClass('hidden');
 
}).on('mouseleave', event => {
 
$(event.currentTarget).children("div").addClass('hidden');
 
});
 
})
 
</script>
 
</html>
 
 
<script type="text/javascript" src="jquery-3.2.1.min.js"></script> <!-- don't forget to replace !-->
 
 
 
<div id="navigationBarPlaceholder"></div>
 
<div id="navigationBarPlaceholder"></div>
 
</body>
 
</body>

Revision as of 22:06, 15 October 2018

Template Title