| Server IP : 54.36.91.62 / Your IP : 216.73.216.208 Web Server : Apache System : Linux webm013.cluster127.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 : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/aix/media/com_jce/editor/tinymce/plugins/help/js/ |
Upload File : |
/* jce - 2.9.90-beta4 | 2025-07-15 | https://www.joomlacontenteditor.net | Source: https://github.com/widgetfactory/jce | Copyright (C) 2006 - 2025 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
!function($) {
Wf.Help = {
options: {
url: "",
key: [],
pattern: ""
},
init: function(options) {
var self = this;
this.options = $.extend(this.options, options), $("#help-menu > li[id]").click(function(e) {
$("#help-menu").find("li").removeClass("loading").removeClass("active");
var el = this;
e.preventDefault(), "LI" !== e.target.nodeName && (el = $(e.target).parents("li").first()),
$(el).siblings().children("ul").addClass("hidden"), $(el).addClass("active").children("ul").removeClass("hidden"),
!el.id && $(el).hasClass("subtopics") && (el = $(el).find("li[id]").first()),
self.loadItem(el);
}), $("#help-iframe").on("load", function() {
$(".loading", "#help-menu").removeClass("loading");
}), ((options = this.options.key).length && $("#" + options.join(".")).length ? $("#" + options.join(".")) : $("#help-menu > li[id]").first()).click(),
$("[data-toggle]").click(function() {
$("nav").toggle(), self.resizeFrame();
});
},
resizeFrame: function() {
var s, self = this;
$("#help-frame").parent().css("width", function() {
return $("#help-menu-toggle div.toggle-handle").hasClass("collapsed") && (s = $("#help-menu-toggle").outerWidth(!0)),
$("div.row-fluid").width() - self.getMenuSize(s) - 1;
});
},
getMenuSize: function(pos) {
return pos = void 0 === pos ? $("#help-menu").parent().outerWidth() + 14 : pos;
},
loadItem: function(el) {
var keys, s = "", el = ($(el).addClass("loading"), $(el).attr("id")), s = this.options.pattern ? (keys = el.split("."),
"/" + (s = this.options.pattern.replace(/\$([1-9])/g, function(a, b) {
b = parseInt(b, 10), b = Math.max(b - 1, 0);
return keys[b] || "";
})).replace(/^\//, "").replace(/\/$/, "")) : el;
$("#help-iframe").attr("src", this.options.url + s);
}
};
}(jQuery);