Орла
Области
Компаний
Пользователи
Галерея
Фиксированные новости
Орла
Отзывы о фирмах
Тарифы
Пользователи
Области
Банкоматы
Торговые точки
Доска объявлений
Курсы валют
Скидки
организации Орла
организации области
товары
сайты
сайты Орел
Данные
Разделы
Поиск
Поиск запросы
Статистика
Показы каталога организаций
Статистика клиенты
Пользователи
Сайты
Управление сайтом
Анкета
Аптеки
Афиша
Афиша новая
Баннеры
Бизнес >
Викторина
Голосование
Гость на сайте
Истории
Календарь событий
Каталоги >
Конкурс красоты
Конкурс аудио
Консультации
Меню
Новое на сайте
Новости >
Организации >
Программа ТВ
Публикации
Разделы сайта
Рассылка
Рестораны
Секрет фирмы >
Сервисы >
Ссылки
Тесты
Файловый менеджер
Форум
Фотогалерея
Обратная связь
Недвижимость
Новый год
Тексты
Пользователи
Юридический рейтинг
Отзывы на товары
Бан пользователей
Жалобы
Новые тесты
Коронавирус
Файловый менеджер
Имя файла
tools.expose.js
Содержимое
/** * tools.expose 1.0.5 - Make HTML elements stand out * * Copyright (c) 2009 Tero Piirainen * http://flowplayer.org/tools/expose.html * * Dual licensed under MIT and GPL 2+ licenses * http://www.opensource.org/licenses * * Launch : June 2008 * Date: ${date} * Revision: ${revision} */ (function($) { // static constructs $.tools = $.tools || {}; $.tools.expose = { version: '1.0.5', conf: { // mask settings maskId: null, maskClass: "expose_overlay", exposedClass: "exposed", loadSpeed: 'slow', closeSpeed: 'fast', closeOnClick: true, closeOnEsc: true, deferLoad: false, // css settings zIndex: 9998, opacity: 0.8, color: '#456', api: false } }; /* one of the greatest headaches in the tool. finally made it */ function viewport() { // the horror case /*if ($.browser.msie) { // if there are no scrollbars then use window.height var d = $(document).height(), w = $(window).height(); return [ window.innerWidth || // ie7+ document.documentElement.clientWidth || // ie6 document.body.clientWidth, // ie6 quirks mode d - w < 20 ? w : d ]; }*/ // other well behaving browsers return [$(window).width(), $(document).height()]; } function Expose(els, conf) { // private variables var self = this, $self = $(this), mask = null, loaded = false; // bind all callbacks from configuration $.each(conf, function(name, fn) { if ($.isFunction(fn)) { $self.bind(name, fn); } }); // adjust mask size when window is resized (or firebug is toggled) $(window).resize(function() { self.fit(); }); // public methods $.extend(this, { getMask: function() { return mask; }, getExposed: function() { return els; }, getConf: function() { return conf; }, isLoaded: function() { return loaded; }, load: function(e) { // already loaded ? if (loaded) { return self; } origIndex = els.eq(0).css("zIndex"); els.eq(0).data("origIndex", origIndex); // find existing mask if (conf.maskId) { mask = $("#" + conf.maskId); } // build the mask if it doesnt already exist if (!mask || !mask.length) { var size = viewport(); mask = $('<div/>').css({ position:'absolute', top:0, left:0, display:'none', opacity: 0 }); if (conf.maskId) { mask.attr("id", conf.maskId); } // append the mask element to the end of the body $("body").append(mask); } // wire up mask if its not already set up if(!mask.data("initialized")) { // background color var bg = mask.css("backgroundColor"); if (!bg || bg == 'transparent' || bg == 'rgba(0, 0, 0, 0)') { mask.css("backgroundColor", conf.color); } // esc button if (conf.closeOnEsc) { $(document).bind("keydown.unexpose", function(evt) { if (evt.keyCode == 27) { self.close(); } }); } // mask click closes if (conf.closeOnClick) { mask.bind("click.unexpose", function(e) { self.close(e); }); } // bind the mask close event mask.bind("close", function(e) { self.close(e.fast); }); self.fit(); mask.data("initialized", true); } // possibility to cancel click action e = e || $.Event(); e.type = "onBeforeLoad"; $self.trigger(e); if (e.isDefaultPrevented()) { return self; } // make sure element is positioned absolutely or relatively $.each(els, function() { var el = $(this); if (!/relative|absolute|fixed/i.test(el.css("position"))) { el.css("position", "relative"); } }); // make elements sit on top of the mask els.css({zIndex:Math.max(conf.zIndex + 1, origIndex == 'auto' ? 0 : origIndex)}); // reveal mask var h = mask.height(); // set start opacity var startOpacity = 0; if(mask.is(":visible")) { startOpacity = conf.opacity; } mask.css({opacity: startOpacity, display: 'block'}).fadeTo(conf.loadSpeed, conf.opacity, function() { // sometimes IE6 misses the height property on fadeTo method if (mask.height() != h) { mask.css("height", h); } e.type = "onLoad"; $self.trigger(e); }); els.addClass(conf.exposedClass); loaded = true; return self; }, close: function(e) { if (!loaded) { return self; } e = e || $.Event(); e.type = "onBeforeClose"; $self.trigger(e); if (e.isDefaultPrevented()) { return self; } if(e.fast) { mask.hide(); } else { mask.fadeOut(conf.closeSpeed, function() { e.type = "onClose"; $self.trigger(e); els.css({zIndex: null}); }); } els.removeClass(conf.exposedClass) loaded = false; return self; }, fit: function() { if (mask) { var size = viewport(); mask.css({ width: size[0], height: size[1]}); } }, bind: function(name, fn) { $self.bind(name, fn); return self; }, unbind: function(name) { $self.unbind(name); return self; } }); // callbacks $.each("onBeforeLoad,onLoad,onBeforeClose,onClose".split(","), function(i, ev) { self[ev] = function(fn) { return self.bind(ev, fn); }; }); } // jQuery plugin implementation $.fn.expose = function(conf) { var el = this.eq(typeof conf == 'number' ? conf : 0).data("expose"); if (el) { return el; } if (typeof conf == 'string') { conf = {color: conf}; } var globals = $.extend({}, $.tools.expose.conf); conf = $.extend(globals, conf); // construct exposes this.each(function() { var inner = $(this); if(!inner.data("expose")) { inner.data("expose", new Expose(inner, conf)) } if(conf.deferLoad) { // defer loading for later } else { // load it now inner.data("expose").load(); } }); return conf.api ? this.data("expose") : this; }; })(jQuery);
/restoran/js/
Имя
Дата
Размер
..
2017-07-13
fancybox
2013-12-04
jcarousel
2013-12-04
jcrop
2013-12-09
markitup
2016-03-28
mobilyslider
2013-12-04
apple.js
2016-03-24
3 кб.
dklab_realplexor.js
2013-12-04
5 кб.
flowplayer-3.2.13.min.js
2013-12-20
16 кб.
flowplayer-3.2.18.swf
2013-12-20
127 кб.
flowplayer.controls-3.2.16.swf
2013-12-20
37 кб.
flowplayer.min.js
2016-03-24
16 кб.
jcarousellite.js
2013-12-04
14 кб.
jquery.tools.min.js
2013-12-04
8 кб.
overlay.js
2016-03-24
9 кб.
scrollable.js
2013-12-04
7 кб.
swfobject.js
2013-12-04
10 кб.
tabs.js
2015-02-04
1 кб.
tools.expose.js
2016-03-24
7 кб.
/restoran/js
Загрузить файлы
Файл 1
Файл 2
Файл 3