1 2 3(function ($) { 4 5$('#t_view').on('click', function(event) { 6 event.preventDefault(); // To prevent following the link (optional) 7$('#t_view').hide(); 8 $('.hide-text').addClass('show'); 9}); 10 11$('.read-more-blog').on('click', function(event) { 12 event.preventDefault(); // To prevent following the link (optional) 13$(this).hide(); 14 $(this).parents('.blog-text-body').find('.hide-text').addClass('show'); 15}); 16 17$( "select#edit-field-group" ).change(function() { 18 19if($('select#edit-field-group').val() =='Other - please specify'){ 20$('.own-text').show(); 21} else{$('.own-text').hide();} 22}); 23 24 $(".sub_col .sub_name").click(function(){ 25 $(this).toggleClass("show"); 26 27 28}); 29 $(".collection_col .collection_name").not('.ishid').click(function(){ 30 $(this).toggleClass("show"); 31 32 33}); 34 $(".items .ite_title .bib_read_more").parent('.ite_title').click(function(){ 35 $(this).toggleClass("show"); 36 37 38}); 39 $(".bib_read_less").click(function(){ 40 $(this).parent('.hide_ite').prev('.ite_title').toggleClass("show"); 41}); 42 $(".toggle-menu").click(function(){ 43 $(".navigation").toggleClass("show"); 44 45 46}); 47 $(".read-more").click(function(){ 48 $(this).parent().toggleClass("show34"); 49}); 50$(".segm_en").click(function(){ 51 $(this).parents('.items').removeClass("journal_show").toggleClass("segm_show"); 52}); 53$(".journal_en").click(function(){ 54 $(this).parents('.items').removeClass("segm_show").toggleClass("journal_show"); 55}); 56$(".hide-all").click(function(){ 57 $(this).parents('.items').removeClass("segm_show").removeClass("journal_show"); 58}); 59function loadProgress() { 60 if ($("div.em-progress").length){ 61 //$.get( "/test.php", function( data ) { 62 // $( "div.em-progress" ).html( data ); 63 // console.log( "Load was performed." ); 64 //}); 65 } 66 setTimeout(loadProgress, 50000); 67} 68$('[href*="popup1"]').append("<span class=\"pop\">Steensma T, McGuire J, Kreukels B, Beekman A, Cohen-Kettenis P. Factors Associated With Desistence and Persistence of Childhood Gender Dysphoria: A Quantitative Follow-Up Study. Journal of the American Academy of Child & Adolescent Psychiatry. 2013;52(6):582-590. doi:10.1016/j.jaac.2013.03.016</span>"); 69$('[href*="popup2"]').append("<span class=\"pop\">de Vries AL, McGuire JK, Steensma TD, Wagenaar EC, Doreleijers TA, Cohen-Kettenis PT. Young adult psychological outcome after puberty suppression and gender reassignment. Pediatrics. 2014;134(4):696-704. doi: 10.1542/peds.2013-2958</span>"); 70$('[href*="popup"]').click( 71function(event){ 72event.preventDefault(); 73$('[href*="popup"] .pop').toggleClass("show"); 74}); 75loadProgress(); 76}(jQuery)); 77 78(function (Drupal, $, drupalSettings) { 79 'use strict'; 80 81 Drupal.behaviors.frontPage = { 82 attach: function (context, settings) { 83 if (drupalSettings.path.isFront) { 84 $('body').addClass('front-page'); 85 } 86 } 87 }; 88 89 90})(Drupal, jQuery, drupalSettings);
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.