Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/media/system/js/caption-uncompressed.js
Назад
/** * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * JCaption javascript behavior * * Used for displaying image captions * * @package Joomla * @since 1.5 * @version 1.0 */ var JCaption = function(_selector) { var $, selector, initialize = function(_selector) { $ = jQuery.noConflict(); selector = _selector; $(selector).each(function(index, el) { createCaption(el); }) }, createCaption = function(element) { var $el = $(element), caption = $el.attr('title'), width = $el.attr("width") || element.width, align = $el.attr("align") || $el.css("float") || element.style.styleFloat || "none", $p = $('<p/>', { "text" : caption, "class" : selector.replace('.', '_') }), $container = $('<div/>', { "class" : selector.replace('.', '_') + " " + align, "css" : { "float" : align, "width" : width } }); $el.parent().before($container, $el); $container.append($el); if (caption !== "") { $container.append($p); } } initialize(_selector); }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка