PageSourceSearch

https://14-20.sk-at.eu/templates/jm-university/js/effects.js

js sk-at.eu collected 2026-09-24 19:47:59 UTC 980 bytes, 33 lines download raw bytes

1/*--------------------------------------------------------------
2# Copyright (C) joomla-monster.com
3# License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
4# Website: http://www.joomla-monster.com
5# Support: [email protected]
6---------------------------------------------------------------*/
7
8//effects
9function addEffect(e) {
10	var moduleTarget = jQuery(e).hasClass("animate-ms");
11	if (moduleTarget) {
12		var ojectPosition = jQuery(e).offset().top;
13		var scrollWindow = jQuery(window).scrollTop();
14		var screenHeight = jQuery(window).height();
15		if (ojectPosition < (scrollWindow + screenHeight)) {
16			jQuery(e).addClass("jm-slideIn");
17		}
18	}
19};
20
21jQuery(window).load(function() {
22  addEffect('.promo1-ms');
23	addEffect('.promo2-ms');
24	addEffect('.promo3-ms');
25	addEffect('.promo4-ms');
26});
27
28jQuery(window).scroll(function() {
29	addEffect('.promo1-ms');
30	addEffect('.promo2-ms');
31	addEffect('.promo3-ms');
32	addEffect('.promo4-ms');
33});

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.