Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/www/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/www/js/news-line.js
/**
 * This is jQuery plugin declaration for news_line html-component
 * @html: ./html-component/news-line.html 
 * @deps: jQuery, owl.carousel
 * @using: ./js/main.js
 * @author torbara  (https://themeforest.net/user/torbara)
 */

(function($){
    
    "use strict";
    
    $.fn.teamNewsLine = function () {
        
        var $el = $(this);
        
        if ( $el.length === 0 ) {
            throw new Error('teamNewsLine: target element not found');
        }
        
        $el.find('.owl-carousel').owlCarousel({
            center: true,
            items: 2,
            loop: true,
            dots: false,
            margin: 0,
            responsive: {
                0: {
                    items: 1
                },
                767: {
                    items: 2
                },
                992: {
                    items: 3
                },
                1400: {
                    items: 4
                }
            }
        });
        
    };

})(jQuery);



ZeroDay Forums Mini