1$(document).ready( function(){ 2 3 //phone menu button links boven op kleine schermen, telefoons 4 $('#menu_knop_top').click(function(){ 5 $('#wittebalk_container').toggle('slow'); 6 $('#menu_rechts').css('float', 'left'); 7 8 }); 9 $('#menu_closer').click(function(){ 10 $('#wittebalk_container').toggle('slow'); 11 }); 12 13 //.phone button 14 //phone menu button rechts boven op kleine schermen, telefoons, new/ top stories div, zit in theme17.php in functie themearticle15 15 $('#menu_knop_top_left').click(function(){ 16 $('#editors_nw_top').toggle('slow'); 17 18 }); 19 20 21 22 23 //grote witte menu balk bovenin 24 $('#menu_leader').click(function(){ 25 window.location = '//www.gay-news.com'; 26 27 }); 28 29 $('#menu_gaynews').click(function(){ 30 window.location = '//www.gay-news.com/topics/'; 31 }); 32 $('#menu_verschenen').click(function(){ 33 window.location = '//www.gay-news.com/editions/'; 34 }); 35 $('#menu_gaynewsdirect').click(function(){ 36 window.location = '//www.gay-news.com/article17.php'; 37 }); 38 39 $('#menu_editors').click(function(){ 40 window.location = '//www.gay-news.com/editors/'; 41 }); 42 43 44 $('#menu_wheretogo').click(function(){ 45 window.location = '//www.gay-news.com/gaylife/'; 46 }); 47 48 $('#menu_agenda_home').click(function(){ 49 window.location = '//www.gay-news.com/agenda/'; 50 }); 51 $('#menu_adverteren').click(function(){ 52 window.location = '//www.gay-news.com/adv'; 53 }); 54 $('#menu_abo').click(function(){ 55 window.location = '//www.gay-news.com/subscribe/'; 56 57 }); 58 59 60 61 62 $('#user_logged_in_link').click(function(){ 63 $('#user_div').slideDown('slow'); 64 }); 65 $('#user_logged_in_link2').click(function(){ 66 $('#user_div').slideDown('slow'); 67 }); 68 $('#user_logged_in_link_phone').click(function(){ 69 $('#user_div').slideDown('slow'); 70 }); 71 72 $('#user_logged_in_link3').click(function(){ 73 $('#user_div3').slideDown('slow'); 74 }); 75 $('#user_logged_in_link4').click(function(){ 76 $('#user_div').slideDown('slow'); 77 }); 78 79 $('#user_div').hover(function() { 80 $(this).on( "mouseleave", function() { 81 $('#user_div').slideUp("slow"); 82 }); 83 84 }); 85 $('#user_div3').hover(function() { 86 $(this).on( "mouseleave", function() { 87 $('#user_div3').slideUp("slow"); 88 }); 89 90 }); 91 92 93 $('#uitgaan_link').click(function(){ 94 $('#Uitgaan').toggle('slow'); 95 96 }); 97 // $('#Uitgaan').hover(function() { 98 // $(this).on( "mouseleave", function() { 99 // $('#Uitgaan').slideUp("slow"); 100 // }); 101 102 //}); 103 104 105 106 $('#agenda_link').click(function(){ 107 $('#agenda_houder').css('width', '100%'); 108 $('#Agenda').css('width', '80%'); 109 $('#Agenda').toggle('slow'); 110 $('#setmaxbreed_a').css('width', '100%'); 111 $('#setmaxbreed_b').css('width', '100%'); 112 }); 113 //$('#Agenda').hover(function() { 114 // $(this).on( "mouseleave", function() { 115 // $('#Agenda').slideUp("slow"); 116 // }); 117 118 //}); 119 120 121 $('#hotel_link').click(function(){ 122 $('#Hotels').toggle('slow'); 123 }); 124 // $('#Hotels').hover(function() { 125 // $(this).on( "mouseleave", function() { 126 // $('#Hotels').slideUp("slow"); 127 // }); 128 // }); 129 130 $('#bnw_link').click(function(){ 131 $('#BNW').toggle('slow'); 132 }); 133 //$('#BNW').hover(function() { 134 // $(this).on( "mouseleave", function() { 135 // $('#BNW').slideUp("slow"); 136 // }); 137 //}); 138 139 140 141 $('#gaol_link').click(function(){ 142 $('#GAOL').toggle('slow'); 143 }); 144 145 146 //hide on click outside (ivm form dropdwn) 147 var mouse_is_inside = false;
148 $('#GAOL').hover(function(){ 149 mouse_is_inside=true; 150 }, function(){ 151 mouse_is_inside=false; 152 }); 153 154 //sluiten bij kruisje rechtsboven dus dit uit 155 //$("body").mouseup(function(){ 156 // if(! mouse_is_inside) $('#GAOL').hide(); 157 //}); 158 159 160 //header behaviour on scroll 161 162 // grijze topbalk set position 163 var s = $("#grijze_bovenbalk"); 164 var t = $("#wittebalk_container"); 165 166 var pos = s.position(); 167 168 $(window).scroll(function() { 169 var windowpos = $(window).scrollTop(); 170 //s.html("Distance from top:" + pos.top + "<br />Scroll position: " + windowpos); 171 if (windowpos >= 65) { 172 // s.addClass("balk_stick"); 173 } else { 174 // s.removeClass("balk_stick"); 175 } 176 177 if (windowpos >= 75) { 178 // t.addClass("box_win8_menu_container_site_stick"); 179 180 } else { 181 // t.removeClass("box_win8_menu_container_site_stick"); 182 183 } 184 185 186 187 188 }); 189 //. grijze topbalk set position 190 191 192});
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.