1/* Author: Dan Voyce 2 3*/ 4 5var winWidth = ""; 6 7$(document).ready(function(){ 8 9// Add click support for dropdown menu items for mobiles 10 $(function() { 11 var li = document.getElementById('menu-item-181'); 12 13 li.onclick = function() 14 { 15 li.onhover.call(li); 16 }; 17 18 li = document.getElementById('menu-item-611'); 19 20 li.onclick = function() 21 { 22 li.onhover.call(li); 23 }; 24 }); 25 26// Create Telephone Link if Mobile Device 27 28 if ($(window).width() < 480 || $(window).height() < 480) { 29 $('.telNo').each( 30 function(){ 31 var telNo = $(this).attr('alt'); // Get the number 32 $(this).wrap('<a href="tel:'+telNo+'" />'); 33 console.log(telNo); 34 } 35 ) 36 } 37 38 39 $(function() { 40 $select_option_selected = $("[name='select_option_selected']") 41 $select_option_selected.change(function() { 42 option = $(this).val(); 43 }); 44 option = $select_option_selected.val(); 45 }); 46 47 /* 48 var containerHeight = $('#container').innerHeight(); 49 console.log('H: ' +containerHeight); 50 $('#access').css('height', '2500px'); 51 */ 52 53 $(window).resize(function() { 54 winWidth = $(window).width(); 55 console.log(winWidth); 56 }); 57 58 //if ($(winWidth) < 650) { 59 $('#mobileNav').click( 60 function(){ 61 $('#innerContainer').toggleClass('mobNav'); 62 $('#mobileNav').toggleClass('moveMobileNav'); 63 } 64 ) 65 //} 66 67 68 69 $('a[rel*=facebox]').facebox(); 70 71 72 73}); 74 75// ELLIOTTS NEW - RESPONSIVE 76 77$(document).ready(function(){ 78 $('#nav-icon1,#nav-icon2,#nav-icon3,#nav-icon4').click(function(){ 79 $(this).toggleClass('open'); 80 }); 81 82 $('.cc-dropdown-menu').addClass('closed'); 83 84 $('#nav-icon4').click(function(){ 85 $('.cc-dropdown-menu').slideToggle(); 86 }); 87 88 $('.cc-dropdown-menu ul li ul').css({ 89 'display' : 'none' 90 }); 91 92 $('.menu-item-has-children').click(function(){ 93 $(this).find('ul').slideToggle(); 94 }); 95// $(this).find('ul').slideDown(); 96// }, 97// function(){ 98// $(this).find('ul').slideUp(); 99// }); 100});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.