PageSourceSearch

https://www.tcmps.com/wp-content/themes/genesis-sample/js/jConveyo…query.jConveyorTicker.min.js?ver=1775663521

js tcmps.com collected 2026-10-07 04:34:00 UTC 2,782 bytes, 16 lines download raw bytes

1/*!
2 * jQuery Conveyor Ticker (jConveyorTicker)
3 * Description: jQuery plugin to create simple horizontal conveyor belt animated tickers.
4 *
5 * Copyright (c) 2017 Luis Luz - UXD Lda
6 *
7 * Licensed under the MIT license:
8 *   http://www.opensource.org/licenses/mit-license.php
9 *
10 * Project home:
11 *   https://github.com/lluz/jquery-conveyor-ticker
12 *
13 * Version:  1.1.0
14 *
15 */
16!function(e,n,r,o){e.fn.jConveyorTicker=function(n){if(this===o||0===this.length)return console.log("jquery.jConveyorTicker() INITIALIZATION ERROR: You need to select one or more elements. See documentation form more information."),!1;var r={anim_duration:200,reverse_elm:!1,force_loop:!1,start_paused:!1,pause_onhover:!0},i=r.anim_duration,t=r.reverse_elm,a=r.force_loop,s=r.start_paused,c=r.pause_onhover;n&&(n.anim_duration!==o&&(i=n.anim_duration),n.reverse_elm!==o&&(t=n.reverse_elm),n.force_loop!==o&&(a=n.force_loop),n.start_paused!==o&&(s=n.start_paused),n.pause_onhover!==o&&(c=n.pause_onhover),e.extend(r,n));var l=e(this),u=l.children("ul"),d={init:function(){l.each((function(){d.destroy(),u.css({margin:"0",padding:"0","list-style":"none"}).children("li").css({display:"inline-block"});var n=u.width(),r=u.parent().width()/2-20;u.removeAttr("style").children("li").removeAttr("style"),l.addClass("jctkr-wrapper");var o=function(){var n=u.clone().children("li");n.each((function(){e(this).addClass("clone")})),u.append(n);var r=0;u.children().each((function(){r+=e(this).outerWidth()})),u.width(r),c&&l.hover((function(){d.pauseAnim()}),(function(){d.pauseAnim(),d.conveyorAnimate("normal")})),t&&l.prev(".jctkr-label").hover((function(){d.pauseAnim(),d.conveyorAnimate("reverse")}),(function(){d.pauseAnim(),d.conveyorAnimate("normal")})).click((function(){return!1})),d.conveyorAnimate("normal")};if(n>=r)o();else if(a){var i,s=0,m=function(){var n=u.clone().children("li");if(n.each((function(){e(this).addClass("clone")})),u.append(n),i=u.width(),s=u.parent().width(),!(i<s))return o(),!1;m()};for(m();i<s;){if(i>=r){o();break}m()}}l.addClass("jctkr-initialized")})),s&&d.pauseAnim()},destroy:function(){l.each((function(){d.pauseAnim(),e(this).unbind().removeData().removeClass("jctkr-wrapper jctkr-initialized"),u.unbind().removeData().removeAttr("style").find(".clone").remove()}))},conveyorAnimate:function(e){var n,r=u.width(),t=u.position().left,a="-",s="normal";if(e!==o&&"reverse"===e){if(n=r/2,t>0)return u.css("left","-"+n+"px"),void d.conveyorAnimate("reverse");a="+",s="reverse"}else if(t<(n=r/2*-1)){var c=-1*(n-t);return u.css("left",c+"px"),void d.conveyorAnimate(s)}u.stop().animate({left:a+"=10px"},i,"linear",(function(){d.conveyorAnimate(s)}))},pauseAnim:function(){u.stop()},playAnim:function(){d.conveyorAnimate("normal")}};return d.init(),d}}(jQuery,window,document);

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.