PageSourceSearch

https://optik-zumhagen.de/wp-content/themes/assan-child/js/ajax-portfolio.js?ver=7.1.3

js optik-zumhagen.de collected 2026-10-06 21:17:35 UTC 861 bytes, 29 lines download raw bytes

1jQuery(document).ready(function($){
2        // Set trigger and container variables
3        var trigger = $('#product-portfolio a'),
4            container = $('#product-portfolio-big');
5        
6        // Fire on click
7        trigger.on('click', function(){
8          // Set $this for re-use. Set target from data attribute
9          var $this = $(this),
10            target = $this.data('target');       
11          
12          // Load target page into container
13          container.load('/wp-content/themes/assan-child/ajax-content/' + target + '.html','f' + (Math.random()*1000000));
14            
15            $('html, body').animate({
16        scrollTop: $('#product-portfolio-big').offset().top - 40
17    }, 'slow');
18
19            
20          
21          // Stop normal link behavior
22          return false;
23        });
24      });
25
26
27
28
29

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.