PageSourceSearch

https://www.virtualcd.de/lib/vendor/scroll.js

js virtualcd.de collected 2026-10-02 23:29:59 UTC 349 bytes, 10 lines download raw bytes

1function scrollToElement(selector, time, verticalOffset) {
2	time = typeof(time) != 'undefined' ? time : 500;
3	verticalOffset = typeof(verticalOffset) != 'undefined' ? verticalOffset : 0;
4	element = $(selector);
5	offset = element.offset();
6	offsetTop = offset.top + verticalOffset;
7	$('html, body').animate({
8		scrollTop: offsetTop
9	}, time);			
10}

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.