| Server IP : 46.105.57.169 / Your IP : 216.73.216.144 Web Server : Apache System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : maitricfuz ( 93378) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/maitricfuz/www/saint-martin-lg/plugins/pagebuilderck/teams/assets/ |
Upload File : |
/**
* @name Page Builder CK
* @package com_pagebuilderck
* @copyright Copyright (C) 2015. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
*/
/*
* Plugin to manage the teams
*/
(function($) {
"use strict";
var PBCK_teams = function(el, opts) {
if (!(this instanceof PBCK_teams)) return new PBCK_teams(el, opts);
// init vars
var defaults = {};
var opts = $.extend(defaults, opts);
var t = this;
t.teams = $(el);
t.teams.find('.pbck_team_readmore').click(function() {
$(this).parent().find('.pbck_team_text_inner').toggle('slow');
});
// return instance
return t;
}
window.PBCK_teams = PBCK_teams;
})(jQuery);
function pbck_teams_init(teamsId) {
new PBCK_teams(document.getElementById(teamsId));
}
jQuery(document).ready(function(){
// Loop though all teams to initialise them
jQuery('.pbck_teams.inner, .pbck_teamer').each(function() {
new PBCK_teams(this);
});
});