PageSourceSearch

https://nederlandsfotomuseum.nl/wp-content/themes/uncode/library/js/postTable.js?ver=1356736554

js nederlandsfotomuseum.nl collected 2026-10-02 05:20:30 UTC 2,362 bytes, 92 lines download raw bytes

1(function($) {
2	"use strict";
3
4	UNCODE.postTable = function() {
5
6	var clickRow = function(){
7		var $postLists = $('.uncode-post-table');
8
9		$postLists.each(function(){
10			var $postList = $(this),
11				$tmbClicks = $('.tmb.tmb-click-row', $postList);
12
13			$tmbClicks.each(function(){
14				var $tmb = $(this),
15					$click = $('.table-click-row', $tmb);
16				$('*:not(.table-click-row)', $tmb).on('click', function(e){
17					e.preventDefault();
18					e.stopPropagation();
19					$click[0].click();
20					return false;
21				});
22			});
23
24		})
25	};
26
27	clickRow();
28
29	var hoverRow = function(){
30		var $postLists = $('.uncode-post-table.uncode-post-table-hover');
31
32		$postLists.on('mouseenter', function(){
33			$(this).addClass('post-table-hover');
34		});
35		$postLists.on('mouseleave', function(){
36			$(this).removeClass('post-table-hover');
37		});
38	}
39
40	hoverRow();
41
42	var drop_wp_animation = function() {
43		var $postLists = $('.uncode-post-table');
44		$postLists.each(function(){
45			$.each($('.t-inside.animate_when_almost_visible', $postLists), function(index, val) {
46				new Waypoint({
47					context: UNCODE.isUnmodalOpen ? document.getElementById('unmodal-content') : window,
48					element: val,
49					handler: function() {
50						var element = $(this.element),
51							parent = element.closest('.tmb'),
52							currentIndex = parent.index(),
53							delay = currentIndex,
54							delayAttr = parseInt(element.attr('data-delay'));
55						if (isNaN(delayAttr)) delayAttr = 100;
56						var objTimeout = requestTimeout(function() {
57							element.addClass('start_animation');
58						}, delay * delayAttr);
59						if (!UNCODE.isUnmodalOpen) {
60							this.destroy();
61						}
62					},
63					offset: UNCODE.isFullPage ? '100%' : '90%'
64				})
65			});
66		});
67	}
68
69	var runWaypoints_TO,
70		runWaypoints_delay = 0;
71
72	var runWaypoints = function(){
73		if ( typeof runWaypoints_TO !== 'undefined' && runWaypoints_TO !== '' ) {
74			runWaypoints_delay = 400;
75		}
76		clearRequestTimeout(runWaypoints_TO);
77		runWaypoints_TO = requestTimeout(function() {
78			drop_wp_animation();
79		}, runWaypoints_delay);
80	};
81	runWaypoints();
82	$( document.body ).on( 'uncode_waypoints', runWaypoints );
83	if ( $('body').hasClass('compose-mode') && typeof window.parent.vc !== 'undefined' ) {
84		window.parent.vc.events.on( 'shortcodeView:ready shortcodeView:updated', function(){
85			runWaypoints();
86			// clickRow();
87		});
88	}
89};
90
91
92})(jQuery);

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.