primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,83 @@
function setPMGPSLongitude(inputValue) {
longitudeValue = convertPMGPS(inputValue, 'longitude');
window.top.document.forms.adminForm.elements.gpslongitude.value = longitudeValue;
}
function setPMGPSLatitude(inputValue) {
latitudeValue = convertPMGPS(inputValue, 'latitude');
window.top.document.forms.adminForm.elements.gpslatitude.value = latitudeValue;
}
function setPMGPSLongitudeJForm(inputValue) {
longitudeValue = convertPMGPS(inputValue, 'longitude');
if (window.parent) window.parent.phocaSelectMap_jform_gpslongitude(longitudeValue);
}
function setPMGPSLatitudeJForm(inputValue) {
latitudeValue = convertPMGPS(inputValue, 'latitude');
if (window.parent) window.parent.phocaSelectMap_jform_gpslatitude(latitudeValue);
}
function convertPMGPS(inputValue, type) {
var status = 1;
var cAbs = 0;
var vAbs = 1000000000;
var degree = 0;
var minute = 0;
var second = 0;
var gpsValue = '';
var degrees = 180;
var potc = '';
var ms = 60;
if (type == 'longitude') {
degrees = 180;
}
if (type == 'latitude') {
degrees = 90;
}
if(isNaN(inputValue)) {
return '';
}
if(inputValue < 0) {
status = -1;
}
cAbs = Math.abs(Math.round(vAbs * inputValue));
if(cAbs > (vAbs * degrees)) {
return '';
}
degree = status * Math.floor(cAbs/vAbs);
minute = Math.floor(ms * ((cAbs/vAbs) - Math.floor(cAbs/vAbs)));
second = ms * Math.floor(vAbs * ((ms * ((cAbs/vAbs) - Math.floor(cAbs/vAbs))) - Math.floor(ms * ((cAbs/vAbs) - Math.floor(cAbs/vAbs)))) ) / vAbs;
second = Math.round(second * 1000)/1000;
if (degree < 0) {
if (type == 'longitude') {
potc = 'W';
}
if (type == 'latitude') {
potc = 'S';
}
}
if (degree > 0) {
if (type == 'longitude') {
potc = 'E';
}
if (type == 'latitude') {
potc = 'N';
}
}
gpsValue = Math.abs(degree) + '\u00b0' + '\u0020' + minute + '\u0027' + '\u0020' + second + '\u0022' + potc;
//status = 1;
return gpsValue;
}
/* utf-8 test ěščřžýáíé */

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

View File

@ -0,0 +1,18 @@
Copyright 2012 Igor Vaynberg
Version: @@ver@@ Timestamp: @@timestamp@@
This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU
General Public License version 2 (the "GPL License"). You may choose either license to govern your
use of this software only upon the condition that you accept all of the terms of either the Apache
License or the GPL License.
You may obtain a copy of the Apache License and the GPL License at:
http://www.apache.org/licenses/LICENSE-2.0
http://www.gnu.org/licenses/gpl-2.0.html
Unless required by applicable law or agreed to in writing, software distributed under the Apache License
or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the Apache License and the GPL License for the specific language governing
permissions and limitations under the Apache License and the GPL License.

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

View File

@ -0,0 +1,108 @@
/*
* jQuery Phoca Select2
* https://www.phoca.cz
*
* Copyright (C) 2016 Jan Pavelka www.phoca.cz
*
* Licensed under the MIT license
*/
(function (jQuery) {
"use strict";
var phLang = Joomla.getOptions('phLang');
jQuery.extend(jQuery.fn.select2.defaults, {
formatNoMatches: function () { return phLang['COM_PHOCAGALLERY_NO_MATCHES_FOUND']; },
formatInputTooShort: function (input, min) { var n = min - input.length; return phLang['COM_PHOCAGALLERY_PLEASE_ENTER'] + " " + n + " " + phLang['COM_PHOCAGALLERY_S_MORE_CHARACTER'] + (n == 1? "" : "s"); },
formatInputTooLong: function (input, max) { var n = input.length - max; return phLang['COM_PHOCAGALLERY_PLEASE_DELETE'] + " " + n + " " + phLang['COM_PHOCAGALLERY_S_CHARACTER'] + (n == 1? "" : "s"); },
formatSelectionTooBig: function (limit) { return phLang['COM_PHOCAGALLERY_YOU_CAN_ONLY_SELECT'] + " " + limit + " " + phLang['COM_PHOCAGALLERY_S_ITEM'] + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return phLang['COM_PHOCAGALLERY_LOADING_MORE_RESULTS'] + " ..."; },
formatSearching: function () { return phLang['COM_PHOCAGALLERY_SEARCHING'] + " ..."; }
});
})(jQuery);
function phSearchItemsMultiple(element, url, id, multiple, splitChar) {
jQuery(element).select2({
//dropdownAutoWidth : true,
//width: "auto",
placeholder: "",
minimumInputLength: 1,
multiple: multiple,
ajax: {
url: url,
dataType: 'json',
data: function(term, page) {
return {
q: term,
page_limit: 10,
item_id: id,
}
},
results: function(data, page) {
if ( data.status == 0 ){
return { results: data.error }
} else {
return { results: data.items }
}
}
},
formatResult: formatResult,
formatSelection: formatSelection,
initSelection: function(element, callback) {
var data = [];
jQuery(element.val().split("" + splitChar + "")).each(function(i) {
var item = this.split(':');
data.push({
id: item[0],
title: item[1]
});
});
if (multiple == false) {
// No multiple
callback(data[0]);
} else {
// Multiple
// Cannot be set when single product because the input will be empty at start (now it is including string but when saving, string will be changed to int)
jQuery(element).val('');
callback(data);
}
}
});
}
function formatResult(item) {
var phVars = Joomla.getOptions('phVars');
if (item.image !== undefined) {
return '<div><img src="' + phVars['uriRoot'] + item.image + '" />' + item.title + '</div>';
} else {
return '<div>' + item.title + '</div>';
}
}
function formatSelection(data) {
// Menu link - we need to select category in menu link too
// Options of categories will be loaded by ajax
if(data.categories && jQuery("#jform_request_catid").length) {
jQuery("#jform_request_catid option").remove();
jQuery(data.categories.split(",")).each(function(i) {
var itemC = this.split(':');
jQuery("#jform_request_catid").append(jQuery('<option>', {value: itemC[0], text: itemC[1]}));
});
jQuery("select").trigger("liszt:updated");
jQuery("select").trigger("chosen:updated");
//jQuery(".inputbox").chosen({disable_search_threshold : 10,allow_single_deselect : true});
}
// End Menu link
return data.title;
};

View File

@ -0,0 +1 @@
function phSearchItemsMultiple(t,e,r,i,n){jQuery(t).select2({placeholder:"",minimumInputLength:1,multiple:i,ajax:{url:e,dataType:"json",data:function(t,e){return{q:t,page_limit:10,item_id:r}},results:function(t,e){return 0==t.status?{results:t.error}:{results:t.items}}},formatResult:formatResult,formatSelection:formatSelection,initSelection:function(t,e){var r=[];jQuery(t.val().split(""+n)).each(function(t){var e=this.split(":");r.push({id:e[0],title:e[1]})}),0==i?e(r[0]):(jQuery(t).val(""),e(r))}})}function formatResult(t){var e=Joomla.getOptions("phVars");return void 0!==t.image?'<div><img src="'+e.uriRoot+t.image+'" />'+t.title+"</div>":"<div>"+t.title+"</div>"}function formatSelection(t){return t.categories&&jQuery("#jform_request_catid").length&&(jQuery("#jform_request_catid option").remove(),jQuery(t.categories.split(",")).each(function(t){var e=this.split(":");jQuery("#jform_request_catid").append(jQuery("<option>",{value:e[0],text:e[1]}))}),jQuery("select").trigger("liszt:updated"),jQuery("select").trigger("chosen:updated")),t.title}!function(t){"use strict";var e=Joomla.getOptions("phLang");t.extend(t.fn.select2.defaults,{formatNoMatches:function(){return e.COM_PHOCAGALLERY_NO_MATCHES_FOUND},formatInputTooShort:function(t,r){var i=r-t.length;return e.COM_PHOCAGALLERY_PLEASE_ENTER+" "+i+" "+e.COM_PHOCAGALLERY_S_MORE_CHARACTER+(1==i?"":"s")},formatInputTooLong:function(t,r){var i=t.length-r;return e.COM_PHOCAGALLERY_PLEASE_DELETE+" "+i+" "+e.COM_PHOCAGALLERY_S_CHARACTER+(1==i?"":"s")},formatSelectionTooBig:function(t){return e.COM_PHOCAGALLERY_YOU_CAN_ONLY_SELECT+" "+t+" "+e.COM_PHOCAGALLERY_S_ITEM+(1==t?"":"s")},formatLoadMore:function(t){return e.COM_PHOCAGALLERY_LOADING_MORE_RESULTS+" ..."},formatSearching:function(){return e.COM_PHOCAGALLERY_SEARCHING+" ..."}})}(jQuery);

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1854.54 295" preserveAspectRatio="xMinYMid" width="1854.54" height="295"><path d="m14.47 145.7 6.898 6.899c0.102 0.101 0.199 0.101 0.3 0.101 0.102 0 0.2 0 0.302-0.101l6.898-6.899c0.102-0.1 0.102-0.2 0.102-0.3s0-0.2-0.102-0.3l-0.7-0.7c-0.101-0.1-0.198-0.1-0.3-0.1-0.101 0-0.2 0-0.301 0.1l-5.8 5.8-5.801-5.8c-0.101-0.1-0.199-0.1-0.301-0.1-0.101 0-0.199 0-0.301 0.1l-0.699 0.7c-0.101 0.1-0.101 0.2-0.101 0.3-0.294 0.1-0.194 0.2-0.094 0.3z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 510 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1854.54 295" preserveAspectRatio="xMinYMid" width="1854.54" height="295"><path d="M1825.1,145.7l6.9,6.9c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l6.9-6.9c0.1-0.1,0.1-0.2,0.1-0.3c0-0.1,0-0.2-0.1-0.3l-0.7-0.7c-0.1-0.1-0.2-0.1-0.3-0.1s-0.2,0-0.3,0.1l-5.8,5.8l-5.8-5.8c-0.1-0.1-0.2-0.1-0.3-0.1c-0.1,0-0.2,0-0.3,0.1l-0.7,0.7c-0.1,0.1-0.1,0.2-0.1,0.3C1824.9,145.5,1825,145.6,1825.1,145.7z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 459 B

View File

@ -0,0 +1,3 @@
<svg preserveAspectRatio="xMinYMid" version="1.1" viewBox="0 0 1854.5 295" xmlns="http://www.w3.org/2000/svg">
<path d="m1825.1 145.7 6.9 6.9c0.1 0.1 0.2 0.1 0.3 0.1s0.2 0 0.3-0.1l6.9-6.9c0.1-0.1 0.1-0.2 0.1-0.3s0-0.2-0.1-0.3l-0.7-0.7c-0.1-0.1-0.2-0.1-0.3-0.1s-0.2 0-0.3 0.1l-5.8 5.8-5.8-5.8c-0.1-0.1-0.2-0.1-0.3-0.1s-0.2 0-0.3 0.1l-0.7 0.7c-0.1 0.1-0.1 0.2-0.1 0.3-0.3 0.1-0.2 0.2-0.1 0.3z" fill="#f9f9f9"/>
</svg>

After

Width:  |  Height:  |  Size: 417 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1854.539" height="295" preserveAspectRatio="xMinYMin meet"><path d="M13.573 145.7l6.9 6.9c.1.1.2.1.3.1s.2 0 .3-.1l6.9-6.9c.1-.1.1-.2.1-.3s0-.2-.1-.3l-.7-.7c-.1-.1-.2-.1-.3-.1s-.2 0-.3.1l-5.8 5.8-5.8-5.8c-.1-.1-.2-.1-.3-.1s-.2 0-.3.1l-.7.7c-.1.1-.1.2-.1.3-.296.1-.195.2-.096.3h-.002z"/><path fill="#fff" d="M44.54 0h1810v295h-1810z"/></svg>

After

Width:  |  Height:  |  Size: 387 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1854.54 295" preserveAspectRatio="xMinYMid" width="1854.54" height="295"><path d="M1825.1,145.7l6.9,6.9c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l6.9-6.9c0.1-0.1,0.1-0.2,0.1-0.3c0-0.1,0-0.2-0.1-0.3l-0.7-0.7c-0.1-0.1-0.2-0.1-0.3-0.1s-0.2,0-0.3,0.1l-5.8,5.8l-5.8-5.8c-0.1-0.1-0.2-0.1-0.3-0.1c-0.1,0-0.2,0-0.3,0.1l-0.7,0.7c-0.1,0.1-0.1,0.2-0.1,0.3C1824.9,145.5,1825,145.6,1825.1,145.7z" fill="#000"/><rect width="1810" height="295" fill="#ffffff"/></svg>

After

Width:  |  Height:  |  Size: 507 B

View File

@ -0,0 +1,87 @@
.form-control .select2-choice {
border: 0;
border-radius: 2px;
}
.form-control .select2-choice .select2-arrow {
border-radius: 0 2px 2px 0;
}
.form-control.select2-container {
height: auto !important;
padding: 0;
}
.form-control.select2-container.select2-dropdown-open {
border-color: #5897FB;
border-radius: 3px 3px 0 0;
}
.form-control .select2-container.select2-dropdown-open .select2-choices {
border-radius: 3px 3px 0 0;
}
.form-control.select2-container .select2-choices {
border: 0 !important;
border-radius: 3px;
}
.control-group.warning .select2-container .select2-choice,
.control-group.warning .select2-container .select2-choices,
.control-group.warning .select2-container-active .select2-choice,
.control-group.warning .select2-container-active .select2-choices,
.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.warning .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #C09853 !important;
}
.control-group.warning .select2-container .select2-choice div {
border-left: 1px solid #C09853 !important;
background: #FCF8E3 !important;
}
.control-group.error .select2-container .select2-choice,
.control-group.error .select2-container .select2-choices,
.control-group.error .select2-container-active .select2-choice,
.control-group.error .select2-container-active .select2-choices,
.control-group.error .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.error .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.error .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #B94A48 !important;
}
.control-group.error .select2-container .select2-choice div {
border-left: 1px solid #B94A48 !important;
background: #F2DEDE !important;
}
.control-group.info .select2-container .select2-choice,
.control-group.info .select2-container .select2-choices,
.control-group.info .select2-container-active .select2-choice,
.control-group.info .select2-container-active .select2-choices,
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.info .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #3A87AD !important;
}
.control-group.info .select2-container .select2-choice div {
border-left: 1px solid #3A87AD !important;
background: #D9EDF7 !important;
}
.control-group.success .select2-container .select2-choice,
.control-group.success .select2-container .select2-choices,
.control-group.success .select2-container-active .select2-choice,
.control-group.success .select2-container-active .select2-choices,
.control-group.success .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.success .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.success .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #468847 !important;
}
.control-group.success .select2-container .select2-choice div {
border-left: 1px solid #468847 !important;
background: #DFF0D8 !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

View File

@ -0,0 +1,785 @@
/*
Version: 3.5.4 Timestamp: Sun Aug 30 13:30:32 EDT 2015
*/
.select2-container {
margin: 0;
position: relative;
display: inline-block;
vertical-align: middle;
}
.select2-container,
.select2-drop,
.select2-search,
.select2-search input {
/*
Force border-box so that % widths fit the parent
container without overlap because of margin/padding.
More Info : http://www.quirksmode.org/css/box.html
*/
-webkit-box-sizing: border-box; /* webkit */
-moz-box-sizing: border-box; /* firefox */
box-sizing: border-box; /* css3 */
}
.select2-container .select2-choice {
display: block;
/* height: 26px;*/
padding: 0 0 0 8px;
overflow: hidden;
position: relative;
border: 1px solid #aaa;
white-space: nowrap;
/* line-height: 26px;*/
color: #444;
text-decoration: none;
border-radius: 4px;
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #fff;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
background-image: linear-gradient(to top, #eee 0%, #fff 50%);
}
/* Clear Button */
.select2-container.ph-select2-clear-btn-box {
flex: auto;
}
.select2-container.ph-select2-clear-btn-box .select2-choice {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
html[dir="rtl"] .select2-container .select2-choice {
padding: 0 8px 0 0;
}
.select2-container.select2-drop-above .select2-choice {
border-bottom-color: #aaa;
border-radius: 0 0 4px 4px;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff));
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);
}
.select2-container.select2-allowclear .select2-choice .select2-chosen {
margin-right: 42px;
}
.select2-container .select2-choice > .select2-chosen {
margin-right: 26px;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
float: none;
width: auto;
}
html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
margin-left: 26px;
margin-right: 0;
}
.select2-container .select2-choice abbr {
display: none;
width: 12px;
height: 12px;
position: absolute;
right: 24px;
top: 8px;
font-size: 1px;
text-decoration: none;
border: 0;
background: url('select2.png') right top no-repeat;
cursor: pointer;
outline: 0;
}
.select2-container.select2-allowclear .select2-choice abbr {
display: inline-block;
}
.select2-container .select2-choice abbr:hover {
background-position: right -11px;
cursor: pointer;
}
.select2-drop-mask {
border: 0;
margin: 0;
padding: 0;
position: fixed;
left: 0;
top: 0;
min-height: 100%;
min-width: 100%;
height: auto;
width: auto;
opacity: 0;
z-index: 9998;
/* styles required for IE to work */
background-color: #fff;
filter: alpha(opacity=0);
}
.select2-drop {
width: 100%;
margin-top: -1px;
position: absolute;
z-index: 9999;
top: 100%;
background: #fff;
color: #000;
border: 1px solid #aaa;
border-top: 0;
border-radius: 0 0 4px 4px;
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}
.select2-drop.select2-drop-above {
margin-top: 1px;
border-top: 1px solid #aaa;
border-bottom: 0;
border-radius: 4px 4px 0 0;
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
}
.select2-drop-active {
border: 1px solid #5897fb;
border-top: none;
}
.select2-drop.select2-drop-above.select2-drop-active {
border-top: 1px solid #5897fb;
}
.select2-drop-auto-width {
border-top: 1px solid #aaa;
width: auto;
}
.select2-container .select2-choice .select2-arrow {
display: inline-block;
width: 18px;
height: 100%;
position: absolute;
right: 0;
top: 0;
border-left: 1px solid #aaa;
border-radius: 0 4px 4px 0;
background-clip: padding-box;
background: #ccc;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
background-image: linear-gradient(to top, #ccc 0%, #eee 60%);
}
html[dir="rtl"] .select2-container .select2-choice .select2-arrow {
left: 0;
right: auto;
border-left: none;
border-right: 1px solid #aaa;
border-radius: 4px 0 0 4px;
}
.select2-container .select2-choice .select2-arrow b {
display: block;
width: 100%;
height: 100%;
background: url('select2.png') no-repeat 0 1px;
}
html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
background-position: 2px 1px;
}
.select2-search {
display: inline-block;
width: 100%;
min-height: 26px;
margin: 0;
padding: 4px 4px 0 4px;
position: relative;
z-index: 10000;
white-space: nowrap;
}
.select2-search input {
width: 100%;
height: auto !important;
min-height: 26px;
padding: 4px 20px 4px 5px;
margin: 0;
outline: 0;
font-family: sans-serif;
font-size: 1em;
border: 1px solid #aaa;
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
background: #fff url('select2.png') no-repeat 100% -22px;
background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
}
html[dir="rtl"] .select2-search input {
padding: 4px 5px 4px 20px;
background: #fff url('select2.png') no-repeat -37px -22px;
background: url('select2.png') no-repeat -37px -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
background: url('select2.png') no-repeat -37px -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2.png') no-repeat -37px -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
}
.select2-search input.select2-active {
background: #fff url('select2-spinner.gif') no-repeat 100%;
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
}
.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
border: 1px solid #5897fb;
outline: none;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.select2-dropdown-open .select2-choice {
border-bottom-color: transparent;
-webkit-box-shadow: 0 1px 0 #fff inset;
box-shadow: 0 1px 0 #fff inset;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
background-color: #eee;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
background-image: linear-gradient(to top, #fff 0%, #eee 50%);
}
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices {
border: 1px solid #5897fb;
border-top-color: transparent;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
}
.select2-dropdown-open .select2-choice .select2-arrow {
background: transparent;
border-left: none;
filter: none;
}
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {
border-right: none;
}
.select2-dropdown-open .select2-choice .select2-arrow b {
background-position: -18px 1px;
}
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow b {
background-position: -16px 1px;
}
.select2-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/* results */
.select2-results {
max-height: 200px;
padding: 0 0 0 4px;
margin: 4px 4px 4px 0;
position: relative;
overflow-x: hidden;
overflow-y: auto;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html[dir="rtl"] .select2-results {
padding: 0 4px 0 0;
margin: 4px 0 4px 4px;
}
.select2-results ul.select2-result-sub {
margin: 0;
padding-left: 0;
}
.select2-results li {
list-style: none;
display: list-item;
background-image: none;
}
.select2-results li.select2-result-with-children > .select2-result-label {
font-weight: bold;
}
.select2-results .select2-result-label {
padding: 3px 7px 4px;
margin: 0;
cursor: pointer;
min-height: 1em;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.select2-results-dept-1 .select2-result-label { padding-left: 20px }
.select2-results-dept-2 .select2-result-label { padding-left: 40px }
.select2-results-dept-3 .select2-result-label { padding-left: 60px }
.select2-results-dept-4 .select2-result-label { padding-left: 80px }
.select2-results-dept-5 .select2-result-label { padding-left: 100px }
.select2-results-dept-6 .select2-result-label { padding-left: 110px }
.select2-results-dept-7 .select2-result-label { padding-left: 120px }
.select2-results .select2-highlighted {
background: #3875d7;
color: #fff;
}
.select2-results li em {
background: #feffde;
font-style: normal;
}
.select2-results .select2-highlighted em {
background: transparent;
}
.select2-results .select2-highlighted ul {
background: #fff;
color: #000;
}
.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-ajax-error,
.select2-results .select2-selection-limit {
background: #f4f4f4;
display: list-item;
padding-left: 5px;
}
/*
disabled look for disabled choices in the results dropdown
*/
.select2-results .select2-disabled.select2-highlighted {
color: #666;
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-disabled {
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-selected {
display: none;
}
.select2-more-results.select2-active {
background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
}
.select2-results .select2-ajax-error {
background: rgba(255, 50, 50, .2);
}
.select2-more-results {
background: #f4f4f4;
display: list-item;
}
/* disabled styles */
.select2-container.select2-container-disabled .select2-choice {
background-color: #f4f4f4;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.select2-container.select2-container-disabled .select2-choice .select2-arrow {
background-color: #f4f4f4;
background-image: none;
border-left: 0;
}
.select2-container.select2-container-disabled .select2-choice abbr {
display: none;
}
/* multiselect */
.select2-container-multi .select2-choices {
height: auto !important;
height: 1%;
margin: 0;
padding: 0 5px 0 0;
position: relative;
border: 1px solid #aaa;
cursor: text;
overflow: hidden;
background-color: #fff;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
}
html[dir="rtl"] .select2-container-multi .select2-choices {
padding: 0 0 0 5px;
}
.select2-locked {
padding: 3px 5px 3px 5px !important;
}
.select2-container-multi .select2-choices {
min-height: 26px;
}
.select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #5897fb;
outline: none;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.select2-container-multi .select2-choices li {
float: left;
list-style: none;
}
html[dir="rtl"] .select2-container-multi .select2-choices li
{
float: right;
}
.select2-container-multi .select2-choices .select2-search-field {
margin: 0;
padding: 0;
white-space: nowrap;
}
.select2-container-multi .select2-choices .select2-search-field input {
padding: 5px;
margin: 1px 0;
font-family: sans-serif;
font-size: 100%;
color: #666;
outline: 0;
border: 0;
-webkit-box-shadow: none;
box-shadow: none;
background: transparent !important;
}
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
background: #fff url('select2-spinner.gif') no-repeat 100% !important;
}
.select2-default {
color: #999 !important;
}
.select2-container-multi .select2-choices .select2-search-choice {
padding: 3px 5px 3px 18px;
margin: 3px 0 3px 5px;
position: relative;
line-height: 13px;
color: #333;
cursor: default;
border: 1px solid #aaaaaa;
border-radius: 3px;
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #e4e4e4;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
}
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
{
margin: 3px 5px 3px 0;
padding: 3px 18px 3px 5px;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
cursor: default;
}
.select2-container-multi .select2-choices .select2-search-choice-focus {
background: #d4d4d4;
}
.select2-search-choice-close {
display: block;
width: 12px;
height: 13px;
position: absolute;
right: 3px;
top: 4px;
font-size: 1px;
outline: none;
background: url('select2.png') right top no-repeat;
}
html[dir="rtl"] .select2-search-choice-close {
right: auto;
left: 3px;
}
.select2-container-multi .select2-search-choice-close {
left: 3px;
}
html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
left: auto;
right: 2px;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
background-position: right -11px;
}
.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
background-position: right -11px;
}
/* disabled styles */
.select2-container-multi.select2-container-disabled .select2-choices {
background-color: #f4f4f4;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
padding: 3px 5px 3px 5px;
border: 1px solid #ddd;
background-image: none;
background-color: #f4f4f4;
}
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
background: none;
}
/* end multiselect */
.select2-result-selectable .select2-match,
.select2-result-unselectable .select2-match {
text-decoration: underline;
}
.select2-offscreen, .select2-offscreen:focus {
clip: rect(0 0 0 0) !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
position: absolute !important;
outline: 0 !important;
left: 0px !important;
top: 0px !important;
}
.select2-display-none {
display: none;
}
.select2-measure-scrollbar {
position: absolute;
top: -10000px;
left: -10000px;
width: 100px;
height: 100px;
overflow: scroll;
}
/* Retina-ize icons */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
.select2-search input,
.select2-search-choice-close,
.select2-container .select2-choice abbr,
.select2-container .select2-choice .select2-arrow b {
background-image: url('select2x2.png') !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
.select2-search input {
background-position: 100% -21px !important;
}
}
/* Custom */
.select2-container .select2-choice {
border-radius: 0.25em;
height: auto;
min-height: 2.3em;
padding: 0.5rem 3rem 0.5rem 1rem;
max-width: 100%;
cursor: pointer;
background: url(select-bg.svg) no-repeat right center/116rem;
background-color: var(--template-bg-light);
border: 1px solid var(--template-bg-dark-20);
}
.select2-container .select2-choice .select2-arrow,
.select2-container .select2-choice .select2-arrow b {
display: none;
}
.select2-results .select2-no-results {
background: #fff;
}
.select2-container-multi.select2-container-active .select2-choices,
.select2-container-active .select2-choice,
.select2-container-active .select2-choices,
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices,
.select2-drop.select2-drop-above.select2-drop-active,
.select2-drop-active {
border-color: var(--template-bg-dark-20);
}
.select2-container-multi .select2-choices .select2-search-choice,
.select2-container-multi .select2-choices .select2-search-field input,
.select2-container-multi.select2-container-active .select2-choices,
.select2-container-active .select2-choice,
.select2-container-active .select2-choices,
.select2-drop.select2-drop-above,
.select2-dropdown-open .select2-choice,
.select2-drop {
-webkit-box-shadow: none;
box-shadow: none;
}
.select2-container-multi .select2-choices {
background: url(select-bg.svg) no-repeat right center/116rem;
background-color: var(--template-bg-light);
border: 1px solid var(--template-bg-dark-20);
border-radius: 0.25em;
background-color: #fff;
background-image: none;
}
.select2-container-multi .select2-choices .select2-search-choice {
padding: 0.3em;
padding-left: 1.3em;
color: #fff;
border: 0;
border-radius: 3px;
box-shadow: none;
background: var(--primary);
}
.select2-search-choice-close {
background: none;
left: 7px;
top: 5px;
}
.select2-search-choice-close::before {
content: "\2715";
color: #fff;
font-size: 12em;
font-weight: bold;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,260 @@
/**@license boxplus strings for localization
* @author Levente Hunyadi
* @version 0.9.3
* @remarks Copyright (C) 2010-2011 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
**/
/*
* Requires MooTools 1.2 or later.
* Annotated for use with Google Closure Compiler's advanced optimization
* method when supplemented with a MooTools extern file.
*/
;
(function () {
/** Language strings. */
var localizations = {
'en': {
language: 'English',
first: 'First',
prev: 'Previous',
next: 'Next',
last: 'Last',
start: 'Start slideshow',
stop: 'Stop slideshow',
close: 'Close',
enlarge: 'Enlarge',
shrink: 'Shrink',
download: 'Download',
metadata: 'Image metadata',
notFound: 'Document not found or not available for download.',
unknownType: 'The embedded content to be displayed in this window is of type <code>%s</code>, which is not currently supported by your browser.\nInstalling the appropriate browser plug-in usually solves the problem.'
},
'de': {
language: 'Deutsch',
first: 'Erstes',
prev: 'Zurück',
next: 'Weiter',
last: 'Letztes',
start: 'Diashow starten',
stop: 'Diashow anhalten',
close: 'Schließen',
enlarge: 'Vergrößern',
shrink: 'Verkleinern',
download: 'Download',
metadata: 'Bild Metadaten'
},
'es': {
language: 'Español',
first: 'Primera',
prev: 'Anterior',
next: 'Siguiente',
last: 'Última',
start: '',
stop: '',
close: 'Cerrar',
enlarge: 'Ampliar',
shrink: 'Reducir',
download: 'Descargar',
metadata: 'Metadatos de la imagen'
},
'fr': {
language: 'Français',
first: 'Première',
prev: 'Précédente',
next: 'Suivante',
last: 'Dernière',
start: 'Démarrer diaporama',
stop: 'Arrêter diaporama',
close: 'Fermer',
enlarge: 'Agrandir',
shrink: 'Réduire',
download: 'Télécharger',
metadata: 'Métadonnées images'
},
'bg': {
language: 'български език',
first: 'Първа',
prev: 'Предишна',
next: 'Следваща',
last: 'Последна',
start: 'Старт на слайдшоу',
stop: 'Спиране на слайдшоу',
close: 'Затвори',
enlarge: 'Увеличи',
shrink: 'Намали',
download: 'Изтегляне',
metadata: 'Метаданни на снимката'
},
'he': {
language: 'עִבְרִית',
first: 'ראשון',
prev: 'קודם‎',
next: 'הבא‎',
last: 'אחרון‎',
start: 'להתחיל מצגת שקפים',
stop: 'לסיים מצגת שקפים',
close: 'קרוב',
enlarge: 'להגדיל‎',
shrink: 'להקטין',
download: 'להוריד',
metadata: 'מטא-נתונים'
},
'hu': {
language: 'Magyar',
first: 'Első',
prev: 'Előző',
next: 'Következő',
last: 'Utolsó',
start: 'Diavetítés indítása',
stop: 'Diavetítés megállítása',
close: 'Bezár',
enlarge: 'Nagyítás',
shrink: 'Kicsinyítés',
download: 'Letöltés',
metadata: 'Kép metadatai'
},
'nl': {
language: 'Nederlands',
first: 'Eerste',
prev: 'Vorige',
next: 'Volgende',
last: 'Laatste',
start: 'Start presentatie',
stop: 'Stop presentatie',
close: 'Sluiten',
enlarge: 'Vergroten',
shrink: 'Verkleinen',
download: 'Download',
metadata: 'Metadata van de afbeelding'
},
'pl': {
language: 'Polski',
first: 'Pierwszy',
prev: 'Poprzedni',
next: 'Następny',
last: 'Ostatni',
start: 'Uruchom pokaz slajdów',
stop: 'Zatrzymaj pokaz slajdów',
close: 'Zamknij',
enlarge: 'Powiększ',
shrink: 'Pomniejsz',
download: 'Pobierz',
metadata: 'Metadane obrazka'
},
'pt': {
language: 'Português',
first: 'Primeiro',
prev: 'Anterior',
next: 'Próximo',
last: 'Último',
start: 'Iniciar slideshow',
stop: 'Parar slideshow',
close: 'Fechar',
enlarge: 'Ampliar',
shrink: 'Reduzir',
download: 'Download',
metadata: 'Metadados de imagem'
},
'ru': {
language: 'Русский язык',
first: 'Первый',
prev: 'Предыдущий',
next: 'Следующий',
last: 'Последний',
start: 'Запустить слайд-шоу',
stop: 'Остановить слайд-шоу',
close: 'Закрыть',
enlarge: 'Увеличить',
shrink: 'Сократить',
download: 'Загрузить',
metadata: 'Метаданные изображений'
},
'sk': {
language: 'Slovenčina',
first: 'Prvá',
prev: 'Vzad',
next: 'Vpred',
last: 'Posledná',
start: 'Spustiť prezentáciu',
stop: 'Zastaviť prezentáciu',
close: 'Zavrieť',
enlarge: 'Rozšíriť',
shrink: 'Zúžiť',
download: 'Stiahnutie',
metadata: 'Metaúdaje obrázkov'
}
};
/**
* Get language strings and/or set language and country for localization.
* @param langcode A language code in the ISO format "en".
* @param countrycode A country code in the ISO format "US".
* @return Language strings as an object.
*/
function apply(langcode, countrycode) {
var isocode = countrycode ? langcode + '-' + countrycode : langcode;
// get language strings for selected language
var code = localizations[isocode] ? isocode : ( localizations[langcode] ? langcode : '' );
var localization = {
language: '',
first: '',
prev: '',
next: '',
last: '',
start: '',
stop: '',
close: '',
enlarge: '',
shrink: '',
download: '',
metadata: '',
notFound: '',
unknownType: ''
};
if (code) {
Object.append(localization, localizations[code])
}
// maps possibly minified property names to their expanded (true) name
var mapping = {
language: 'language',
first: 'first',
prev: 'prev',
next: 'next',
last: 'last',
start: 'start',
stop: 'stop',
close: 'close',
enlarge: 'enlarge',
shrink: 'shrink',
download: 'download',
metadata: 'metadata',
notFound: 'not-found',
unknownType: 'unknown-type'
};
// apply language strings
Object.each(localization, function (value, key) {
var name = mapping[key];
$$('div.boxplus-' + name).set('title', value);
$$('a.boxplus-' + name).set('html', value);
$$('span.boxplus-' + name).set('html', value);
});
};
// automatically select language when DOM tree is ready loading
window.addEvent('domready', function () {
var pattern = /\blang=([a-z]{2,})(?:-([A-Z]{2,}))?\b/;
$$('script[src*="boxplus"][src*=lang]').each(function (item) {
var match = pattern.exec(item.get('src'));
if (match) {
apply(match[1], match[2]);
}
});
});
})();

View File

@ -0,0 +1,366 @@
/**
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-background {
position:fixed;
width:100%;
height:100%;
left:0;
top:0;
background-color:black; /* fallback for browsers that do not support rgba */
background-color:rgba(0,0,0,0.6);
cursor:default;
z-index:9999;
}
#boxplus .boxplus-dialog {
position:absolute;
min-width:100px;
min-height:100px;
left:0;
top:0;
margin:0;
border:0 solid gray;
padding:10px;
color:black;
z-index:10000;
background:transparent none no-repeat scroll center center;
}
#boxplus .boxplus-dialog div {
margin:0;
border:0 none transparent;
padding:0;
}
#boxplus .boxplus-dialog > .boxplus-title {
display:none;
position:absolute;
top:0;
}
/* Progress indicator */
#boxplus .boxplus-dialog .boxplus-progress {
position:absolute;
left:0;
right:0;
top:0;
bottom:0;
height:32px;
width:32px;
margin:auto;
background:transparent url(loading.png) no-repeat scroll 0 0;
}
/* Panels */
#boxplus .boxplus-main {
height:100%;
}
#boxplus .boxplus-sideways {
float:right;
width:250px;
overflow:auto;
}
#boxplus .boxplus-sideways > div {
margin:10px;
}
/* Image viewer */
#boxplus .boxplus-viewer {
direction:ltr;
position:relative;
width:600px;
height:400px;
overflow:hidden;
text-align:left; /* overridden for body by many templates */
}
#boxplus .boxplus-viewer > .boxplus-content {
position:absolute;
height:100%;
width:100%;
overflow:auto;
}
#boxplus .boxplus-viewer > img {
display:block;
position:absolute;
margin:0;
border:0 none transparent;
padding:0;
width:100%;
height:100%;
}
#boxplus .boxplus-viewer > video,
#boxplus .boxplus-viewer > iframe {
position:absolute;
height:100%;
width:100%;
}
#boxplus .boxplus-viewer > .boxplus-object {
position:absolute;
width:100%;
}
/* Navigation controls in viewer */
#boxplus .boxplus-viewer > .boxplus-prev {
position:absolute;
width:57px;
left:0;
height:100%;
background:transparent none no-repeat scroll left center;
}
#boxplus .boxplus-viewer > .boxplus-prev:hover {
background:transparent url(navigation.png) no-repeat scroll -57px center;
}
#boxplus .boxplus-viewer > .boxplus-next {
position:absolute;
width:57px;
right:0;
height:100%;
background:transparent none no-repeat scroll left center;
}
#boxplus .boxplus-viewer > .boxplus-next:hover {
background:transparent url(navigation.png) no-repeat scroll 0 center;
}
/* Image resizer */
#boxplus .boxplus-viewer > .boxplus-resizer > * {
position:absolute;
top:6px;
right:6px;
width:20px;
height:20px;
background:transparent url(resize.png) no-repeat scroll 0 0;
}
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-shrink {
background-position:0 0;
}
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-shrink:hover {
background-position:0 -20px;
}
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-enlarge {
background-position:-20px 0;
}
#boxplus .boxplus-viewer > .boxplus-resizer > .boxplus-enlarge:hover {
background-position:-20px -20px;
}
/* Thumbnail navigation */
#boxplus .boxplus-thumbs {
display:block;
overflow:hidden;
}
#boxplus .boxplus-viewer > .boxplus-thumbs {
position:absolute;
width:100%;
bottom:0;
}
#boxplus .boxplus-viewer > .boxplus-thumbs.boxplus-disabled {
display:block !important;
visibility:hidden !important;
}
#boxplus .boxplus-bottom > .boxplus-thumbs, #boxplus .boxplus-sideways > .boxplus-thumbs {
position:relative;
height:80px;
}
#boxplus .boxplus-thumbs {
height:80px;
}
#boxplus .boxplus-thumbs > .boxplus-rewind {
position:absolute;
width:22px;
left:0;
height:100%;
background:transparent url(buttons.png) no-repeat scroll -22px center;
}
#boxplus .boxplus-thumbs > .boxplus-forward {
position:absolute;
width:22px;
right:0;
height:100%;
background:transparent url(buttons.png) no-repeat scroll 0 center;
}
#boxplus .boxplus-thumbs > ul {
display:table-row;
position:absolute;
bottom:0;
margin:0;
border:0 none transparent;
padding:4px 0;
list-style-type:none;
list-style-image:none;
white-space:nowrap;
}
#boxplus .boxplus-viewer > .boxplus-thumbs > ul {
visibility:hidden;
}
#boxplus .boxplus-viewer > .boxplus-thumbs:hover > ul {
visibility:visible;
}
#boxplus .boxplus-thumbs > ul > li {
margin:0;
border:0 none transparent;
padding:0;
display:table-cell;
background:transparent none no-repeat scroll 0 0 !important;
text-align:center;
vertical-align:middle;
}
#boxplus .boxplus-thumbs > ul > li > img {
margin:4px;
border:1px solid gray;
padding:1px;
max-width:60px;
max-height:60px;
vertical-align:middle;
}
#boxplus .boxplus-thumbs > ul > li.boxplus-active > img,
#boxplus .boxplus-thumbs > ul > li > img:hover {
border:1px solid red !important;
}
/* Image caption */
#boxplus .boxplus-bottom > .boxplus-caption {
position:relative;
margin:5px 0 0 0;
max-height:60px;
overflow:auto;
}
#boxplus .boxplus-title {
font-weight:bold;
}
/* Navigation controls under caption */
#boxplus .boxplus-dialog .boxplus-controls {
position:relative;
margin:3px 0 0 0;
}
#boxplus .boxplus-controls > div {
display:inline-block;
height:22px;
width:22px;
margin:2px;
}
#boxplus .boxplus-controls > .boxplus-hidden {
display:none;
}
#boxplus .boxplus-controls > .boxplus-prev {
background:transparent url(buttons.png) no-repeat scroll -22px 0;
}
#boxplus .boxplus-controls > .boxplus-next {
background:transparent url(buttons.png) no-repeat scroll 0 0;
}
#boxplus .boxplus-controls > .boxplus-close {
background:transparent url(buttons.png) no-repeat scroll -88px 0;
}
#boxplus .boxplus-controls > .boxplus-start {
background:transparent url(buttons.png) no-repeat scroll -110px 0;
}
#boxplus .boxplus-controls > .boxplus-stop {
background:transparent url(buttons.png) no-repeat scroll -132px 0;
}
#boxplus .boxplus-controls > .boxplus-download {
background:transparent url(buttons.png) no-repeat scroll -154px 0;
}
#boxplus .boxplus-controls > .boxplus-metadata {
background:transparent url(buttons.png) no-repeat scroll -176px 0;
}
#boxplus .boxplus-viewer > .boxplus-prev,
#boxplus .boxplus-viewer > .boxplus-next,
#boxplus .boxplus-thumbs,
#boxplus .boxplus-thumbs > ul {
background-image:url(transparent.gif);
}
#boxplus div.boxplus-left {
text-align:left;
}
#boxplus div.boxplus-center {
text-align:center;
}
#boxplus div.boxplus-right {
text-align:right;
}
#boxplus .boxplus-hidden {
visibility:hidden;
}
#boxplus .boxplus-unavailable {
display:none !important;
}
#boxplus .boxplus-disabled {
display:none !important;
}
#boxplus > span {
display:none;
}
/* Phoca Edit */
#boxplus .boxplus-dialog .boxplus-controlsclose {
position:absolute;
top: 5px;
right: 5px;
margin:3px 0 0 0;
z-index: 1000;
}
#boxplus .boxplus-controlsclose > div {
display:inline-block;
height:22px;
width:22px;
margin:2px;
}
#boxplus .boxplus-controlsclose > .boxplus-close {
background:transparent url(buttons.png) no-repeat scroll -88px 0;
}

View File

@ -0,0 +1,28 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
padding:0 !important;
color:white;
background:transparent url(darkrounded/pattern.png) repeat scroll 0 0;
border-radius:20px;
-moz-border-radius:20px;
-webkit-border-radius:20px;
}
#boxplus .boxplus-dialog .boxplus-main {
margin:20px;
}
#boxplus .boxplus-dialog .boxplus-sideways {
right:20px;
top:20px;
bottom:20px;
}

View File

@ -0,0 +1,102 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
border:0 none transparent !important;
background:transparent none repeat scroll 0 0; /* override standard background */
}
/* dialog frame */
#boxplus .boxplus-dialog .boxplus-m {
position:absolute;
top:20px;
bottom:20px;
left:20px;
right:20px;
background:transparent url(darkrounded/pattern.png) repeat scroll 0 0;
z-index:-1;
}
#boxplus .boxplus-dialog .boxplus-m.boxplus-hidden {
visibility:visible; /* always show, IE does not support inherit */
}
#boxplus .boxplus-dialog.boxplus-hidden .boxplus-m.boxplus-hidden {
visibility:hidden;
}
#boxplus .boxplus-dialog .boxplus-t,
#boxplus .boxplus-dialog .boxplus-b {
position:absolute;
height:21px;
left:21px;
right:21px;
background:transparent url(darkrounded/pattern.png) repeat-x scroll 0 0;
}
#boxplus .boxplus-dialog .boxplus-t {
top:0;
}
#boxplus .boxplus-dialog .boxplus-b {
bottom:0;
background-position:left bottom;
}
#boxplus .boxplus-dialog .boxplus-l,
#boxplus .boxplus-dialog .boxplus-r {
position:absolute;
width:21px;
top:20px;
bottom:20px;
background:transparent url(darkrounded/pattern.png) repeat-y scroll 0 0;
}
#boxplus .boxplus-dialog .boxplus-l {
left:0;
}
#boxplus .boxplus-dialog .boxplus-r {
right:0;
background-position:right top;
}
#boxplus .boxplus-dialog .boxplus-lt,
#boxplus .boxplus-dialog .boxplus-rt,
#boxplus .boxplus-dialog .boxplus-lb,
#boxplus .boxplus-dialog .boxplus-rb {
position:absolute;
width:21px;
height:20px;
}
#boxplus .boxplus-dialog .boxplus-lt {
top:0;
left:0;
background:transparent url(darkrounded/sprite.png) no-repeat scroll left top;
}
#boxplus .boxplus-dialog .boxplus-rt {
top:0;
right:0;
background:transparent url(darkrounded/sprite.png) no-repeat scroll right top;
}
#boxplus .boxplus-dialog .boxplus-lb {
bottom:0;
left:0;
background:transparent url(darkrounded/sprite.png) no-repeat scroll left bottom;
}
#boxplus .boxplus-dialog .boxplus-rb {
bottom:0;
right:0;
background:transparent url(darkrounded/sprite.png) no-repeat scroll right bottom;
}

View File

@ -0,0 +1,35 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
background-color:black;
background-color:rgba(0,0,0,0.8);
color:white;
}
#boxplus .boxplus-thumbs > ul {
/*background-color:rgba(0,0,0,0.3);*/
}
#boxplus .boxplus-dialog a:link {
color:red
}
#boxplus .boxplus-dialog a:visited {
color:red
}
#boxplus .boxplus-dialog a:hover {
color:red
}
#boxplus .boxplus-dialog a:active {
color:red
}

View File

@ -0,0 +1,14 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
background-color:transparent;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cd000000,endColorstr=#cd000000); /*AARRGGBB*/ /* IE */
}

View File

@ -0,0 +1,40 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog .boxplus-progress {
left:50%;
top:50%;
margin-left:-16px;
margin-top:-16px;
}
#boxplus .boxplus-controls > * {
float:left;
}
#boxplus .boxplus-controls.boxplus-left > * {
float:left;
}
#boxplus .boxplus-controls.boxplus-right > * {
float:right;
}
#boxplus .boxplus-caption {
clear:both;
}
#boxplus .boxplus-thumbs > ul {
display:block;
}
#boxplus .boxplus-thumbs > ul > li {
display:inline;
}

View File

@ -0,0 +1,15 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-background {
background:transparent url(transparent.gif) no-repeat scroll center center;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000); /*AARRGGBB*/
zoom:1 !important;
}

View File

@ -0,0 +1,27 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
padding:0 !important;
background:white none repeat scroll 0 0;
border-radius:20px;
-moz-border-radius:20px;
-webkit-border-radius:20px;
}
#boxplus .boxplus-dialog .boxplus-main { /* increase precedence with multiple qualifiers */
margin:20px;
}
#boxplus .boxplus-dialog .boxplus-sideways {
right:20px;
top:20px;
bottom:20px;
}

View File

@ -0,0 +1,100 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
border:0 none transparent !important;
background:transparent none repeat scroll 0 0; /* override standard background */
}
/* dialog frame */
#boxplus .boxplus-dialog .boxplus-m {
position:absolute;
top:20px;
bottom:20px;
left:20px;
right:20px;
background-color:white;
z-index:-1;
}
#boxplus .boxplus-dialog .boxplus-m.boxplus-hidden {
visibility:visible; /* always show, IE does not support inherit */
}
#boxplus .boxplus-dialog.boxplus-hidden .boxplus-m.boxplus-hidden {
visibility:hidden;
}
#boxplus .boxplus-dialog .boxplus-t,
#boxplus .boxplus-dialog .boxplus-b {
position:absolute;
height:21px;
left:21px;
right:21px;
background:white none repeat-x scroll 0 0;
}
#boxplus .boxplus-dialog .boxplus-t {
top:0;
}
#boxplus .boxplus-dialog .boxplus-b {
bottom:0;
}
#boxplus .boxplus-dialog .boxplus-l,
#boxplus .boxplus-dialog .boxplus-r {
position:absolute;
width:21px;
top:20px;
bottom:20px;
background:white none repeat-y scroll 0 0;
}
#boxplus .boxplus-dialog .boxplus-l {
left:0;
}
#boxplus .boxplus-dialog .boxplus-r {
right:0;
}
#boxplus .boxplus-dialog .boxplus-lt,
#boxplus .boxplus-dialog .boxplus-rt,
#boxplus .boxplus-dialog .boxplus-lb,
#boxplus .boxplus-dialog .boxplus-rb {
position:absolute;
width:21px;
height:20px;
}
#boxplus .boxplus-dialog .boxplus-lt {
top:0;
left:0;
background:transparent url(lightrounded/sprite.png) no-repeat scroll left top;
}
#boxplus .boxplus-dialog .boxplus-rt {
top:0;
right:0;
background:transparent url(lightrounded/sprite.png) no-repeat scroll right top;
}
#boxplus .boxplus-dialog .boxplus-lb {
bottom:0;
left:0;
background:transparent url(lightrounded/sprite.png) no-repeat scroll left bottom;
}
#boxplus .boxplus-dialog .boxplus-rb {
bottom:0;
right:0;
background:transparent url(lightrounded/sprite.png) no-repeat scroll right bottom;
}

View File

@ -0,0 +1,19 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
background-color:white;
background-color:rgba(255,255,255,0.8);
color:black;
}
#boxplus .boxplus-thumbs > ul {
/*background-color:rgba(255,255,255,0.3);*/
}

View File

@ -0,0 +1,14 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
background-color:transparent;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cdffffff,endColorstr=#cdffffff); /*AARRGGBB*/ /* IE */
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,57 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
padding:0 !important;
background-color:rgba(0, 0, 0, 0.5);
margin:30px 0 0 0;
border-radius:20px;
-moz-border-radius:20px;
-webkit-border-radius:20px;
}
#boxplus .boxplus-title {
display:none;
}
#boxplus .boxplus-dialog > .boxplus-title {
display:block;
color:white;
height:24px;
margin:-30px 0 0 20px;
font-weight:normal;
font-size:20px;
line-height:24px;
overflow:hidden;
}
#boxplus .boxplus-dialog .boxplus-main { /* increase precedence with multiple qualifiers */
margin:10px;
padding:20px;
}
#boxplus .boxplus-dialog .boxplus-sideways {
right:20px;
top:20px;
bottom:20px;
}
#boxplus .boxplus-dialog .boxplus-m {
position:absolute;
top:10px;
bottom:10px;
left:10px;
right:10px;
z-index:-1;
background-color:white !important;
border-radius:10px;
-moz-border-radius:10px;
-webkit-border-radius:10px;
}

View File

@ -0,0 +1,111 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-dialog {
border:0 none transparent;
}
#boxplus .boxplus-dialog .boxplus-main {
margin:30px;
padding:0px;
background-color:transparent;
}
#boxplus .boxplus-dialog .boxplus-sideways {
right:20px;
top:20px;
bottom:20px;
}
/* dialog frame */
#boxplus .boxplus-dialog .boxplus-m {
position:absolute;
top:20px;
bottom:20px;
left:20px;
right:20px;
}
#boxplus .boxplus-dialog .boxplus-m.boxplus-hidden {
visibility:visible; /* always show, IE does not support inherit */
}
#boxplus .boxplus-dialog.boxplus-hidden .boxplus-m.boxplus-hidden {
visibility:hidden;
}
#boxplus .boxplus-dialog .boxplus-t,
#boxplus .boxplus-dialog .boxplus-b {
position:absolute;
height:21px;
left:21px;
right:21px;
}
#boxplus .boxplus-dialog .boxplus-t {
top:0;
background:transparent url(prettyphoto/top.png) repeat-x scroll left top;
}
#boxplus .boxplus-dialog .boxplus-b {
bottom:0;
background:transparent url(prettyphoto/bottom.png) repeat-x scroll left bottom;
}
#boxplus .boxplus-dialog .boxplus-l,
#boxplus .boxplus-dialog .boxplus-r {
position:absolute;
width:21px;
top:20px;
bottom:20px;
}
#boxplus .boxplus-dialog .boxplus-l {
left:0;
background:transparent url(prettyphoto/left.png) repeat-y scroll left top;
}
#boxplus .boxplus-dialog .boxplus-r {
right:0;
background:transparent url(prettyphoto/right.png) repeat-y scroll right top;
}
#boxplus .boxplus-dialog .boxplus-lt,
#boxplus .boxplus-dialog .boxplus-rt,
#boxplus .boxplus-dialog .boxplus-lb,
#boxplus .boxplus-dialog .boxplus-rb {
position:absolute;
width:21px;
height:20px;
}
#boxplus .boxplus-dialog .boxplus-lt {
top:0;
left:0;
background:transparent url(prettyphoto/sprite.png) no-repeat scroll left top;
}
#boxplus .boxplus-dialog .boxplus-rt {
top:0;
right:0;
background:transparent url(prettyphoto/sprite.png) no-repeat scroll right top;
}
#boxplus .boxplus-dialog .boxplus-lb {
bottom:0;
left:0;
background:transparent url(prettyphoto/sprite.png) no-repeat scroll left bottom;
}
#boxplus .boxplus-dialog .boxplus-rb {
bottom:0;
right:0;
background:transparent url(prettyphoto/sprite.png) no-repeat scroll right bottom;
}

View File

@ -0,0 +1,61 @@
/*!
* @file
* @brief boxplus reset style sheet
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus div,
#boxplus img,
#boxplus ul
#boxplus li {
/* Text */
font:normal normal 400 16px/20px serif;
color:#000000;
text-transform:none;
text-decoration:none;
letter-spacing:normal;
word-spacing:normal;
text-align:start;
vertical-align:baseline;
direction:ltr;
/* Background */
background:transparent none repeat scroll 0 0;
opacity:1;
/* Box Model */
top:auto;
right:auto;
bottom:auto;
left:auto;
height:auto;
width:auto;
min-height:0;
max-height:none;
min-width:0;
max-width:none;
margin:0;
padding:0;
border:0 none #000000;
outline:invert none medium;
/* Layout */
position:static;
display:block;
visibility:inherit;
z-index:auto;
overflow:visible;
white-space:normal;
clip:auto;
float:none;
clear:none;
/* Other */
cursor:auto;
list-style:disc outside none;
marker-offset:auto;
}

View File

@ -0,0 +1,59 @@
/*!
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
/* Navigation controls in viewer */
#boxplus .boxplus-viewer > .boxplus-prev {
right:0;
left:auto;
}
#boxplus .boxplus-viewer > .boxplus-prev:hover {
background-position:0 center;
}
#boxplus .boxplus-viewer > .boxplus-next {
left:0;
right:auto;
}
#boxplus .boxplus-viewer > .boxplus-next:hover {
background-position:-57px center;
}
/* Thumbnail navigation */
#boxplus .boxplus-thumbs {
direction:rtl;
}
#boxplus .boxplus-thumbs > .boxplus-rewind {
right:0;
left:auto;
background-position:0 center;
}
#boxplus .boxplus-thumbs > .boxplus-forward {
left:0;
right:auto;
background-position:-22px center;
}
/* Navigation controls under caption */
#boxplus .boxplus-caption,
#boxplus .boxplus-controls {
direction:rtl;
}
#boxplus .boxplus-controls > .boxplus-prev {
background-position:0 0;
}
#boxplus .boxplus-controls > .boxplus-next {
background-position:-22px 0;
}

View File

@ -0,0 +1,82 @@
/**
* @file
* @brief boxplus: a lightweight pop-up window engine shipped with sigplus
* @author Levente Hunyadi
* @version 0.9.2
* @remarks Copyright (C) 2009-2010 Levente Hunyadi
* @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see http://hunyadi.info.hu/projects/boxplus
*/
#boxplus .boxplus-background {
background-color:black;
background-color:rgba(0,0,0,0.6);
}
#boxplus .boxplus-dialog {
color:white;
margin:40px;
}
#boxplus .boxplus-center {
background:black url('shadow/loading.gif') no-repeat center center;
border:1px solid #303030 !important;
position:relative;
}
#boxplus .boxplus-dialog a:link {
color:red
}
#boxplus .boxplus-dialog a:visited {
color:red
}
#boxplus .boxplus-dialog a:hover {
color:red
}
#boxplus .boxplus-dialog a:active {
color:red
}
#boxplus .boxplus-content {
background:black none;
}
#boxplus .boxplus-controls {
float:right;
}
#boxplus .boxplus-controls > div {
background-position:0 0 !important;
display:inline-block;
height:16px;
width:16px;
margin:2px;
}
#boxplus .boxplus-controls > .boxplus-next {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwMlgJFSAxhABkCxLhKbGHEwRuYsBeIoLIpwiWM14CcQO2ExAJs4GDOh+YgNiNcBsS6R4hgGgAA/EG8HYjlixJlwhK00EO8FYlFC4kx4IkgFiC0JieMzoBKINxEURwttGJhGhDjWaASBjUDMTIQ4VgNOAjEnlnSATRwjHVwGYjcg/o7mZ1zi1MlMFBsAEGAANUZLsB23Wh4AAAAASUVORK5CYII=");
}
#boxplus .boxplus-controls > .boxplus-prev {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAI9JREFUeNpi/P//PwMlgJFSAxhABuDBKoTE8WlOAOJphMRxafYD4j9YDMAQx6bZDIi//YeAaYTEmdCCRAWItwAxJ5HiKAaIAvF2KM1AhDiGAa5Qm9ABLnGs0dj+HxVMIyCONRDnY1OISxybAcxAvBGLAVjFcaUDTiA+iSUdYIjjS4miQFxESJxxwHMjQIABABQT4TRLh+gpAAAAAElFTkSuQmCC");
}
#boxplus .boxplus-controls > .boxplus-close {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKFJREFUeNpi/P//PwMlgHHADWAAGYCGo4CYDYs4CMcCMTOyGLqCov8QsB2LIROgcovwGaAFxM+xGALT/A2IPfAZgM2Qybg04zIAZsir/wiAVTM+A0B4KZIBp4GYkxQDYM7+BcQfkLzDSYwB06AafkKdrYvkHQxD0DU3ommGiSMbshqfAXJAfBtHgOlC5SyRxbElZWYg/osj4WLIDXxmAggwAHTlHTWidTHeAAAAAElFTkSuQmCC");
}
#boxplus .boxplus-controls > .boxplus-start {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHVJREFUeNpi/P//PwMlgJFSAxhABmDBZjjEMTAuFyyF0ilA/J0cFyz9DwEngVgCnwsIGQACD4FYlxIDQOAzEHtQYgAI/AHiUkoMgHlHmlwDjmELUGINmA/EbOSGQQW50fgNiEMIpURcEu1AbEBJUqZfbgQIMAD4AkaDGWpXMQAAAABJRU5ErkJggg==");
}
#boxplus .boxplus-controls > .boxplus-stop {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNpi/P//PwMlgHHADWBC40cB8X8krItDDKcBFLtg1ICRaQB6UhYCYkUk/jUg5sQi9n3wZCaAAAMA2eIcETbPY8gAAAAASUVORK5CYII=");
}
#boxplus .boxplus-controls > .boxplus-download,
#boxplus .boxplus-controls > .boxplus-metadata {
display:none !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

View File

@ -0,0 +1,135 @@
/*
---
script: Request.JSONP.js
name: Request.JSONP
description: Defines Request.JSONP, a class for cross domain javascript via script injection.
license: MIT-style license
authors:
- Aaron Newton
- Guillermo Rauch
requires:
- Core/Element
- Core/Request
provides: [Request.JSONP]
...
*/
if (!Request.JSONP) {
Request.JSONP = new Class({
Implements: [Chain, Events, Options],
options: {/*
onRetry: $empty(intRetries),
onRequest: $empty(scriptElement),
onComplete: $empty(data),
onSuccess: $empty(data),
onCancel: $empty(),
*/
url: '',
data: {},
retries: 0,
timeout: 0,
link: 'ignore',
callbackKey: 'callback',
injectScript: document.head
},
initialize: function(options){
this.setOptions(options);
this.running = false;
this.requests = 0;
this.triesRemaining = [];
},
check: function(){
if (!this.running) return true;
switch (this.options.link){
case 'cancel': this.cancel(); return true;
case 'chain': this.chain(this.caller.bind(this, arguments)); return false;
}
return false;
},
send: function(options){
if (!$chk(arguments[1]) && !this.check(options)) return this;
var type = $type(options),
old = this.options,
index = $chk(arguments[1]) ? arguments[1] : this.requests++;
if (type == 'string' || type == 'element') options = {data: options};
options = $extend({data: old.data, url: old.url}, options);
if (!$chk(this.triesRemaining[index])) this.triesRemaining[index] = this.options.retries;
var remaining = this.triesRemaining[index];
(function(){
var script = this.getScript(options);
this.fireEvent('request', script);
this.running = true;
(function(){
if (remaining){
this.triesRemaining[index] = remaining - 1;
if (script){
script.destroy();
this.send(options, index).fireEvent('retry', this.triesRemaining[index]);
}
} else if(this.running && script && this.options.timeout){
script.destroy();
this.cancel().fireEvent('failure');
}
}).delay(this.options.timeout, this);
}).delay(Browser.Engine.trident ? 50 : 0, this);
return this;
},
cancel: function(){
if (!this.running) return this;
this.running = false;
this.fireEvent('cancel');
return this;
},
getScript: function(options){
var index = Request.JSONP.counter,
data;
Request.JSONP.counter++;
switch ($type(options.data)){
case 'element': data = document.id(options.data).toQueryString(); break;
case 'object': case 'hash': data = Hash.toQueryString(options.data);
}
var src = options.url +
(options.url.test('\\?') ? '&' :'?') +
(options.callbackKey || this.options.callbackKey) +
'=Request.JSONP.request_map.request_'+ index +
(data ? '&' + data : '');
var script = new Element('script', {type: 'text/javascript', src: src});
Request.JSONP.request_map['request_' + index] = function(){ this.success(arguments, script); }.bind(this);
return script.inject(this.options.injectScript);
},
success: function(args, script){
if (!this.running) return false;
if (script) script.destroy();
this.running = false;
this.fireEvent('complete', args).fireEvent('success', args).callChain();
}
});
Request.JSONP.counter = 0;
Request.JSONP.request_map = {};
}

View File

@ -0,0 +1,89 @@
function pgPasteTag(tag, closingTag, prependText, appendText) {
var pe = document.getElementById( 'phocagallery-comments-editor' );
var startTag = '[' + tag + ']';
var endTag = '[/' + tag + ']';
if (typeof pe.selectionStart != 'undefined') {
var tagText = pe.value.substring(pe.selectionStart, pe.selectionEnd);
} else if (typeof document.selection != 'undefined') {
var tagText = document.selection.createRange().text;
} else {
}
if (typeof closingTag == 'undefined') {
var closingTag = true;
}
if (typeof prependText == 'undefined') {
var prependText = '';
}
if (typeof appendText == 'undefined') {
var appendText = '';
}
if (!closingTag) {
endTag = '';
}
var totalText = prependText + startTag + tagText + endTag + appendText;
pe.focus();
if (typeof pe.selectionStart != 'undefined') {
var start = pe.selectionStart;
var end = pe.selectionEnd;
pe.value = pe.value.substr(0, start) + totalText + pe.value.substr(end);
if (typeof selectionStart != 'undefined' && typeof selectionEnd != 'undefined') {
pe.selectionStart = start + selectionStart;
pe.selectionEnd = start + selectionEnd;
} else {
if (tagText == '') {
pe.selectionStart = start + prependText.length + startTag.length;
pe.selectionEnd = start + prependText.length + startTag.length;
} else {
pe.selectionStart = start + totalText.length;
pe.selectionEnd = start + totalText.length;
}
}
} else if (typeof document.selection != 'undefined') {
var range = document.selection.createRange();
range.text = totalText;
if (typeof selectionStart != 'undefined' && typeof selectionEnd != 'undefined') {
range.moveStart('character', -totalText.length + selectionStart);
range.moveEnd('character', -totalText.length + selectionEnd);
} else {
if (tagText == '') {
range.move('character', -(endTag.length + appendText.length));
} else {
}
}
range.select();
}
pgCountChars();
delete selectionStart;
delete selectionEnd;
}
function pasteSmiley( smiley ) {
var pe = document.getElementById( 'phocagallery-comments-editor' );
if ( typeof pe.selectionStart != 'undefined' ) {
var start = pe.selectionStart;
var end = pe.selectionEnd;
pe.value = pe.value.substring( 0, start ) + smiley + pe.value.substring( end );
newPosition = start + smiley.length;
pe.selectionStart = newPosition;
pe.selectionEnd = newPosition;
} else if (typeof document.selection != 'undefined') {
pe.focus();
range = document.selection.createRange();
range.text = smiley;
} else {
pe.value += smiley;
}
pgCountChars();
pe.focus();
}

View File

@ -0,0 +1,347 @@
/* Ultimate Fade-in slideshow (v2.6.1)
* Last updated: March 7th, 2016. This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/
//Oct 6th, 09' (v2.1): Adds option to randomize display order of images, via new option displaymode.randomize
//May 24th, 10' (v2.4): Adds new "peakaboo" option to "descreveal" setting. oninit and onslide event handlers added.
//June 22nd, 14' (v2.6): 1) Slideshow now responsive, supporting percentage values in the dimensions[w, h] option. 2) Swipe to navigate added on both desktop and mobile devices.
//June 22nd, 14' (v2.6.1): Enabled vertical swiping inside slideshow to scroll page
//Unofficial Updates: (three following March 6 ,2016 - dates below mark their initial coding for version 2.4)
//Sept 2nd, '11 Update for loading image bug see: http://www.dynamicdrive.com/forums/showthread.php?p=260188#post260188
//Sept 4rth '11 Update for initial mouseover bug in some browsers - first image wouldn't show up if mouse was over the show as page loaded
//Sept 13th '11 Update for missing first image bug in IE - added onerror to onload for routine that tests first image before getting underway
//March 7, 2016 Update to prevent taps in most tap capable browsers from activating mouseover pause. Android sometimes still has this problem
// adding this meta tag may help with that: <meta name="viewport" content="user-scalable=yes">
var fadeSlideShow_descpanel={
controls: [['x.png', 7, 7], ['restore.png', 10, 11], ['loading.gif', 54, 55]], //full URL and dimensions of close, restore, and loading images
fontStyle: 'normal 11px Verdana', //font style for text descriptions
slidespeed: 200 //speed of description panel animation (in millisec)
}
//No need to edit beyond here...
jQuery.noConflict()
function fadeSlideShow(settingarg){
this.setting=settingarg
settingarg=null
var setting=this.setting
setting.fadeduration=setting.fadeduration? parseInt(setting.fadeduration) : 500
setting.curimage=(setting.persist)? fadeSlideShow.routines.getCookie("gallery-"+setting.wrapperid) : 0
setting.curimage=setting.curimage || 0 //account for curimage being null if cookie is empty
setting.currentstep=0 //keep track of # of slides slideshow has gone through (applicable in displaymode='auto' only)
setting.totalsteps=setting.imagearray.length*(setting.displaymode.cycles>0? setting.displaymode.cycles : Infinity) //Total steps limit (applicable in displaymode='auto' only w/ cycles>0)
setting.fglayer=0, setting.bglayer=1 //index of active and background layer (switches after each change of slide)
setting.isflexible = /\%/.test(setting.dimensions[0]) || /\%/.test(setting.dimensions[1]) // test if one of slideshow dimension sides is a percentage value
setting.oninit=setting.oninit || function(){}
setting.onslide=setting.onslide || function(){}
if (setting.displaymode.randomize) //randomly shuffle order of images?
setting.imagearray.sort(function() {return 0.5 - Math.random()})
var preloadimages=[] //preload images
setting.longestdesc="" //get longest description of all slides. If no desciptions defined, variable contains ""
for (var i=0; i<setting.imagearray.length; i++){ //preload images
preloadimages[i]=new Image()
preloadimages[i].src=setting.imagearray[i][0]
if (setting.imagearray[i][3] && setting.imagearray[i][3].length>setting.longestdesc.length)
setting.longestdesc=setting.imagearray[i][3]
}
var closebutt=fadeSlideShow_descpanel.controls[0] //add close button to "desc" panel if descreveal="always"
setting.closebutton=(setting.descreveal=="always")? '<img class="close" src="'+closebutt[0]+'" style="float:right;cursor:hand;cursor:pointer;width:'+closebutt[1]+'px;height:'+closebutt[2]+'px;margin-left:2px" title="Hide Description" />' : ''
var slideshow=this
jQuery(document).ready(function($){ //fire on DOM ready
var setting=slideshow.setting
var fullhtml=fadeSlideShow.routines.getFullHTML(setting.imagearray) //get full HTML of entire slideshow
setting.$wrapperdiv=$('#'+setting.wrapperid).css({position:'relative', visibility:'visible', background:'white', overflow:'hidden', width:setting.dimensions[0], height:setting.dimensions[1]}).empty() //main slideshow DIV
setting.dimensions = [ // get dimensions of slideshow in pixels
setting.$wrapperdiv.outerWidth(),
setting.$wrapperdiv.outerHeight()
]
if (setting.$wrapperdiv.length==0){ //if no wrapper DIV found
//alert("Error: DIV with ID \""+setting.wrapperid+"\" not found on page.")
console.log("Error: DIV with ID \""+setting.wrapperid+"\" not found on page.");
return
}
setting.$gallerylayers=$('<div class="gallerylayer"></div><div class="gallerylayer"></div>') //two stacked DIVs to display the actual slide
.css({position:'absolute', left:0, top:0, width:'100%', height:'100%', background:'white'})
.appendTo(setting.$wrapperdiv)
var $loadingimg=$('<img src="'+fadeSlideShow_descpanel.controls[2][0]+'" style="position:absolute;width:'+fadeSlideShow_descpanel.controls[2][1]+'px;height:'+fadeSlideShow_descpanel.controls[2][2]+'px" />')
.css({zIndex:1000,left:setting.dimensions[0]/2-fadeSlideShow_descpanel.controls[2][1]/2, top:setting.dimensions[1]/2-fadeSlideShow_descpanel.controls[2][2]/2}) //center loading gif
.appendTo(setting.$wrapperdiv)
var $curimage=setting.$gallerylayers.html(fullhtml).find('img').hide().eq(setting.curimage) //prefill both layers with entire slideshow content, hide all images, and return current image
if (setting.longestdesc!="" && setting.descreveal!="none"){ //if at least one slide contains a description (versus feature is enabled but no descriptions defined) and descreveal not explicitly disabled
fadeSlideShow.routines.adddescpanel($, setting)
if (setting.descreveal=="always"){ //position desc panel so it's visible to begin with
setting.$descpanel.css({top:setting.dimensions[1]-setting.panelheight})
setting.$descinner.click(function(e){ //asign click behavior to "close" icon
if (e.target.className=="close"){
slideshow.showhidedescpanel('hide')
}
})
setting.$restorebutton.click(function(e){ //asign click behavior to "restore" icon
slideshow.showhidedescpanel('show')
$(this).css({visibility:'hidden'})
})
}
else if (setting.descreveal=="ondemand"){ //display desc panel on demand (mouseover)
setting.$wrapperdiv.bind('mouseenter', function(){slideshow.showhidedescpanel('show')})
setting.$wrapperdiv.bind('mouseleave', function(){slideshow.showhidedescpanel('hide')})
}
}
setting.$wrapperdiv.bind('mouseleave', function(){setting.ismouseover=false})
if (setting.$wrapperdiv.swipe){ // if swipe enabled (swipe function exists)
var swipeOptions={ // swipe object variables
triggerOnTouchEnd : true,
triggerOnTouchLeave : true,
threshold: 75,
allowPageScroll: 'vertical',
excludedElements:[]
}
swipeOptions.swipeStatus = function(event, phase, direction, distance){
var evtparent = event.target.parentNode // check parent element of target image
if (phase == 'start' && evtparent.tagName == 'A'){ // cancel A action when finger makes contact with element
evtparent.onclick = function(){
return false
}
}
if (phase == 'cancel' && evtparent.tagName == 'A'){ // if swipe action canceled (so no proper swipe), enable A action
evtparent.onclick = function(){
return true
}
}
if (phase == 'end'){
var navkeyword = /(right)/i.test(direction)? 'prev' : 'next'
if ( /(left)|(right)/i.test(direction) )
slideshow.navigate(navkeyword)
}
}
setting.$wrapperdiv.swipe(swipeOptions)
} // end setting.$wrapperdiv.swipe check
slideshow.paginateinit($);
function loaded_or_error(){
$loadingimg.hide()
setting.$wrapperdiv.bind('touchstart mouseenter', function(e){ //pause slideshow mouseover
setting.ismouseover = true;
if(e.type === 'touchstart'){
clearTimeout(setting.ismouseovertimer);
setting.ismouseovertimer = setTimeout(function(){setting.ismouseover = false;}, 600);
}
});
slideshow.showslide(setting.curimage)
}
if ($curimage.get(0).complete){loaded_or_error(); //accounf for IE firing image.onload too soon for cached and small images
} else { //initialize slideshow when first image has fully loaded or errors out
$(new Image()).bind('load error', loaded_or_error).attr('src', $curimage.attr('src'));
}
setting.oninit.call(slideshow) //trigger oninit() event
$(window).bind('resize', function(){ // when window is resized, reposition description panel and images
var slideshowdimensions = [
setting.$wrapperdiv.outerWidth(),
setting.$wrapperdiv.outerHeight()
]
if (slideshowdimensions[0] == setting.dimensions[0] && slideshowdimensions[1] == setting.dimensions[1]){ // if no change in image dimensions, just exit
return
}
setting.dimensions = slideshowdimensions // refresh image dimensions data
if (setting.$descpanel && setting.$descpanel.length == 1){ // if description panel enabled for slideshow
setting.$descpanel
.find('div')
.css({width:setting.$descpanel.width()-8})
.eq(2) // reference hidden description panel (used to calculate height of longest message
.css({height:'auto', background:'blue'}).html(setting.closebutton + setting.longestdesc).end() // populate hidden DIV with longest message
setting.panelheight = setting.$descpanel.find('div').eq(2).outerHeight() // then get height of that DIV
setting.$descpanel.css({height: setting.panelheight}) // reset main description panel height
if (!setting.$restorebutton || (setting.$restorebutton && setting.$restorebutton.css('visibility') == 'hidden')){ // if panel doesn't contain restore button (meaning it should always be repositioned onresize), or there is restore button and it's currenty hidden (meaning panel is currently not minimized)
setting.$descpanel.css({top:setting.dimensions[1]-setting.panelheight})
}
}
var $slideimage=setting.$gallerylayers.eq(setting.fglayer).find('img').eq(setting.curimage)
var imgdimensions=[$slideimage.width(), $slideimage.height()] //center align image
$slideimage.css({marginLeft: (imgdimensions[0]>0 && imgdimensions[0]<setting.dimensions[0])? setting.dimensions[0]/2-imgdimensions[0]/2 : 0})
$slideimage.css({marginTop: (imgdimensions[1]>0 && imgdimensions[1]<setting.dimensions[1])? setting.dimensions[1]/2-imgdimensions[1]/2 : 0})
})
$(window).bind('unload', function(){ //clean up and persist
if (slideshow.setting.persist) //remember last shown image's index
fadeSlideShow.routines.setCookie("gallery-"+setting.wrapperid, setting.curimage)
jQuery.each(slideshow.setting, function(k){
if (slideshow.setting[k] instanceof Array){
for (var i=0; i<slideshow.setting[k].length; i++){
if (slideshow.setting[k][i].tagName=="DIV") //catches 2 gallerylayer divs, gallerystatus div
slideshow.setting[k][i].innerHTML=null
slideshow.setting[k][i]=null
}
}
})
slideshow=slideshow.setting=null
})
})
}
fadeSlideShow.prototype={
navigate:function(keyword){
var setting=this.setting
clearTimeout(setting.playtimer)
if (setting.displaymode.type=="auto"){ //in auto mode
setting.displaymode.type="manual" //switch to "manual" mode when nav buttons are clicked on
setting.displaymode.wraparound=true //set wraparound option to true
}
if (!isNaN(parseInt(keyword))){ //go to specific slide?
this.showslide(parseInt(keyword))
}
else if (/(prev)|(next)/i.test(keyword)){ //go back or forth inside slide?
this.showslide(keyword.toLowerCase())
}
},
showslide:function(keyword){
var slideshow=this
var setting=slideshow.setting
if (setting.displaymode.type=="auto" && setting.ismouseover && setting.currentstep<=setting.totalsteps){ //if slideshow in autoplay mode and mouse is over it, pause it
setting.playtimer=setTimeout(function(){slideshow.showslide('next')}, setting.displaymode.pause)
return
}
var totalimages=setting.imagearray.length
var imgindex=(keyword=="next")? (setting.curimage<totalimages-1? setting.curimage+1 : 0)
: (keyword=="prev")? (setting.curimage>0? setting.curimage-1 : totalimages-1)
: Math.min(keyword, totalimages-1)
var $slideimage=setting.$gallerylayers.eq(setting.bglayer).find('img').hide().eq(imgindex).show() //hide all images except current one
var imgdimensions=[$slideimage.width(), $slideimage.height()] //center align image
$slideimage.css({marginLeft: (imgdimensions[0]>0 && imgdimensions[0]<setting.dimensions[0])? setting.dimensions[0]/2-imgdimensions[0]/2 : 0})
$slideimage.css({marginTop: (imgdimensions[1]>0 && imgdimensions[1]<setting.dimensions[1])? setting.dimensions[1]/2-imgdimensions[1]/2 : 0})
if (setting.descreveal=="peekaboo" && setting.longestdesc!=""){ //if descreveal is set to "peekaboo", make sure description panel is hidden before next slide is shown
clearTimeout(setting.hidedesctimer) //clear hide desc panel timer
slideshow.showhidedescpanel('hide', 0) //and hide it immediately
}
setting.$gallerylayers.eq(setting.bglayer).css({zIndex:1000, opacity:0}) //background layer becomes foreground
.stop().css({opacity:0}).animate({opacity:1}, setting.fadeduration, function(){ //Callback function after fade animation is complete:
clearTimeout(setting.playtimer)
try{
setting.onslide.call(slideshow, setting.$gallerylayers.eq(setting.fglayer).get(0), setting.curimage)
}catch(e){
alert("Fade In Slideshow error: An error has occured somwhere in your code attached to the \"onslide\" event: "+e)
}
if (setting.descreveal=="peekaboo" && setting.longestdesc!=""){
slideshow.showhidedescpanel('show')
setting.hidedesctimer=setTimeout(function(){slideshow.showhidedescpanel('hide')}, setting.displaymode.pause-fadeSlideShow_descpanel.slidespeed)
}
setting.currentstep+=1
if (setting.displaymode.type=="auto"){
if (setting.currentstep<=setting.totalsteps || setting.displaymode.cycles==0)
setting.playtimer=setTimeout(function(){slideshow.showslide('next')}, setting.displaymode.pause)
}
}) //end callback function
setting.$gallerylayers.eq(setting.fglayer).css({zIndex:999}) //foreground layer becomes background
setting.fglayer=setting.bglayer
setting.bglayer=(setting.bglayer==0)? 1 : 0
setting.curimage=imgindex
if (setting.$descpanel){
setting.$descpanel.css({visibility:(setting.imagearray[imgindex][3])? 'visible' : 'hidden'})
if (setting.imagearray[imgindex][3]) //if this slide contains a description
setting.$descinner.empty().html(setting.closebutton + setting.imagearray[imgindex][3])
}
if (setting.displaymode.type=="manual" && !setting.displaymode.wraparound){
this.paginatecontrol()
}
if (setting.$status) //if status container defined
setting.$status.html(setting.curimage+1 + "/" + totalimages)
},
showhidedescpanel:function(state, animateduration){
var setting=this.setting
var endpoint=(state=="show")? setting.dimensions[1]-setting.panelheight : this.setting.dimensions[1]
setting.$descpanel.stop().animate({top:endpoint}, (typeof animateduration!="undefined"? animateduration : fadeSlideShow_descpanel.slidespeed), function(){
if (setting.descreveal=="always" && state=="hide")
setting.$restorebutton.css({visibility:'visible'}) //show restore button
})
},
paginateinit:function($){
var slideshow=this
var setting=this.setting
if (setting.togglerid){ //if toggler div defined
setting.$togglerdiv=$("#"+setting.togglerid)
setting.$prev=setting.$togglerdiv.find('.prev').data('action', 'prev')
setting.$next=setting.$togglerdiv.find('.next').data('action', 'next')
setting.$prev.add(setting.$next).click(function(e){ //assign click behavior to prev and next controls
var $target=$(this)
slideshow.navigate($target.data('action'))
e.preventDefault()
})
setting.$status=setting.$togglerdiv.find('.status')
}
},
paginatecontrol:function(){
var setting=this.setting
setting.$prev.css({opacity:(setting.curimage==0)? 0.4 : 1}).data('action', (setting.curimage==0)? 'none' : 'prev')
setting.$next.css({opacity:(setting.curimage==setting.imagearray.length-1)? 0.4 : 1}).data('action', (setting.curimage==setting.imagearray.length-1)? 'none' : 'next')
if (document.documentMode==8){ //in IE8 standards mode, apply opacity to inner image of link
setting.$prev.find('img:eq(0)').css({opacity:(setting.curimage==0)? 0.4 : 1})
setting.$next.find('img:eq(0)').css({opacity:(setting.curimage==setting.imagearray.length-1)? 0.4 : 1})
}
}
}
fadeSlideShow.routines={
getSlideHTML:function(imgelement){
var layerHTML=(imgelement[1])? '<a href="'+imgelement[1]+'" target="'+imgelement[2]+'">\n' : '' //hyperlink slide?
layerHTML+='<img src="'+imgelement[0]+'" style="border-width:0;" class="" />\n'
layerHTML+=(imgelement[1])? '</a>\n' : ''
return layerHTML //return HTML for this layer
},
getFullHTML:function(imagearray){
var preloadhtml=''
for (var i=0; i<imagearray.length; i++)
preloadhtml+=this.getSlideHTML(imagearray[i])
return preloadhtml
},
adddescpanel:function($, setting){
setting.$descpanel=$('<div class="fadeslidedescdiv"></div>')
.css({position:'absolute', visibility:'hidden', width:'100%', left:0, top:setting.dimensions[1], font:fadeSlideShow_descpanel.fontStyle, zIndex:'1001'})
.appendTo(setting.$wrapperdiv)
$('<div class="descpanelbg"></div><div class="descpanelfg"></div><div class="descpanelhidden"></div>') //create inner nav panel DIVs
.css({position:'absolute', left:0, top:0, width:setting.$descpanel.width()-8, padding:'4px'})
.eq(0).css({background:'black', opacity:0.7}).end() //"descpanelbg" div
.eq(1).css({color:'white'}).html(setting.closebutton + setting.longestdesc).end() //"descpanelfg" div
.eq(2).css({visibility: 'hidden', zIndex: -1}).html(setting.closebutton + setting.longestdesc).end() //"descpanelhidden" hidden div to re-get height of panel after populating it with text
.appendTo(setting.$descpanel)
setting.$descinner=setting.$descpanel.find('div.descpanelfg')
setting.panelheight=setting.$descinner.outerHeight()
setting.$descpanel.css({height:setting.panelheight}).find('div').css({height:'100%'})
if (setting.descreveal=="always"){ //create restore button
setting.$restorebutton=$('<img class="restore" title="Restore Description" src="' + fadeSlideShow_descpanel.controls[1][0] +'" style="position:absolute;visibility:hidden;right:0;bottom:0;z-index:1002;width:'+fadeSlideShow_descpanel.controls[1][1]+'px;height:'+fadeSlideShow_descpanel.controls[1][2]+'px;cursor:pointer;cursor:hand" />')
.appendTo(setting.$wrapperdiv)
}
},
getCookie:function(Name){
var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair
if (document.cookie.match(re)) //if cookie found
return document.cookie.match(re)[0].split("=")[1] //return its value
return null
},
setCookie:function(name, value){
document.cookie = name+"=" + value + ";path=/"
}
}

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

View File

@ -0,0 +1 @@
<html><body style="background-color: #000;"></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 838 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 B

Some files were not shown because too many files have changed in this diff Show More