PageSourceSearch

https://www.wordperfect.ie/wp-content/themes/wperfect/js/jquery.anchor.js?ver=6.2.2

js wordperfect.ie collected 2026-10-06 14:08:09 UTC 957 bytes, 39 lines download raw bytes

1/*******
2
3	***	Anchor Slider by Cedric Dugas   ***
4	*** Http://www.position-absolute.com ***
5
6	Never have an anchor jumping your content, slide it.
7
8	Don't forget to put an id to your anchor !
9	You can use and modify this script for any project you want, but please leave this comment as credit.
10
11*****/
12
13
14
15jQuery(document).ready(function() {
16	jQuery("a.anchorLink").anchorAnimate()
17});
18
19jQuery.fn.anchorAnimate = function(settings) {
20
21 	settings = jQuery.extend({
22		speed : 1100
23	}, settings);
24
25	return this.each(function(){
26		var caller = this
27		jQuery(caller).click(function (event) {
28			event.preventDefault()
29			var locationHref = window.location.href
30			var elementClick = jQuery(caller).attr("href")
31
32			var destination = jQuery(elementClick).offset().top;
33			jQuery("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, settings.speed, function() {
34				window.location.hash = elementClick
35			});
36		  	return false;
37		})
38	})
39}

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.