File manager - Edit - /home/jardides/www/Jardi-design/plugins/pagebuilderck/teams/assets/teams.js
Back
/** * @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); }); });
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings