PageSourceSearch

https://www.ipsl.fr/wp-content/themes/ipsltheme/ipsl/js/ipsltheme_timeline.js?ver=1.0.0

js ipsl.fr collected 2026-09-24 09:00:36 UTC 1,587 bytes, 53 lines download raw bytes

1(function($){
2  $(function(){
3
4    $('#ipsltheme_timeline_form').draggable({ handle: "h3.handle", axis: "x" });
5    
6    $('#ipsltheme_timeline_form').css('top',$(document).scrollTop());
7    
8    $(window).scroll(function(){
9      $('#ipsltheme_timeline_form').css('top',$(document).scrollTop());
10    });
11
12    
13    $('#ipsltheme_timeline_form #timeline_add_item').click(function(){
14      $('#ipsltheme_timeline_form ul.timeline').append($('#ipsltheme_timeline_form ul.timeline li:eq(0)').clone());
15      $.each($('#ipsltheme_timeline_form ul.timeline li'),function(i,e){
16        if(i%2==1)$(this).removeClass('timeline-inverted');
17      });
18      
19      $('#ipsltheme_timeline_form .timeline_remove').click(function(){
20        $(this).closest('li').remove();
21      });
22    });
23
24    $('#ipsltheme_timeline_form #timeline_ok').click(function(){
25      var datas=$('#ipsltheme_timeline_form form :input').serializeArray();
26      var option_name=datas[0].value;
27      var json=JSON.stringify(datas);
28      
29      $.post(ajaxurl,{ipsltheme_timeline_datas:json}).done(function(ret){
30        if(ret=='error')alert(ret);
31        else{
32          
33         // console.log("ICI : " + ret);
34          $('#'+option_name).replaceWith(ret);
35          // $('#ipsltheme_timeline_form').remove();
36        }
37      });
38      
39    });
40    
41    $('#ipsltheme_timeline_form .exit').click(function(){
42      $('#ipsltheme_timeline_form').remove();
43      
44    });
45    
46    $('#ipsltheme_timeline_form .timeline_remove').click(function(){
47      $(this).closest('li').remove();
48    });
49    
50  });  
51})(jQuery);
52
53//ok

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.