Skip to Content

JavaScript File

URL: https://www.hereward.ac.uk/js/main_navigation.js
HTTP Status: 200 OK
MIME Type: text/javascript
Last Modified: Mon, 01 Jan 1601 00:00:00 GMT
Download Time: Less than a second
Cookies: None
Size: 2 KB
HTTP Headers:  6 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1/************************************** Splendid *************************************

2* Created By: Steve Doggett

3* Creation Date: 22nd July 2009

4* Edited ----------------------------------------------------------------------------

5* By: On:

6* Description -----------------------------------------------------------------------

7* This file handles the main navigation drop downs

8* Uses JQuery.

9* Example in all pages

10*

11* Functions -------------------------------------------------------------------------

12*

13* Event Handlers --------------------------------------------------------------------

14* quantityMinus_onClick() // Function to decrease the quantity input value

15* quantityPlus_onClick() // Function to increase the quantity input value

16**************************************************************************************/

17

18/************************************** Includes *************************************/

19// $.include("js/splendid-lib/splendid-utils.js");

20

21/********************************** Global Variables *********************************/

22

23if (document.documentElement.clientWidth > 963) {

24

25 $(document).ready(function() {

26 initNavigation();

27 });

28

29 timeout = null;

30

31 /************************************** Functions *************************************/

32 /****

33 * Handles the navigation initialisation

34 ****/

35 function initNavigation() {

36 $('.navMain li.hasLink').hover(

37 function () {

38 // on hoveover event

39 $('ul', this).show();

40 $('#' + this.id).attr('class', 'active');

...

</html>