[ticket/243] Move js files to assets folder and add getscrollbarwidth
B3P-243
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/*! Copyright (c) 2008 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
|
||||
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
||||
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Gets the width of the OS scrollbar
|
||||
*/
|
||||
(function($) {
|
||||
var scrollbarWidth = 0;
|
||||
$.getScrollbarWidth = function() {
|
||||
if ( !scrollbarWidth ) {
|
||||
if ( $.browser.msie ) {
|
||||
var $textarea1 = $('<textarea cols="10" rows="2"></textarea>')
|
||||
.css({ position: 'absolute', top: -1000, left: -1000 }).appendTo('body'),
|
||||
$textarea2 = $('<textarea cols="10" rows="2" style="overflow: hidden;"></textarea>')
|
||||
.css({ position: 'absolute', top: -1000, left: -1000 }).appendTo('body');
|
||||
scrollbarWidth = $textarea1.width() - $textarea2.width();
|
||||
$textarea1.add($textarea2).remove();
|
||||
} else {
|
||||
var $div = $('<div />')
|
||||
.css({ width: 100, height: 100, overflow: 'auto', position: 'absolute', top: -1000, left: -1000 })
|
||||
.prependTo('body').append('<div />').find('div')
|
||||
.css({ width: '100%', height: 200 });
|
||||
scrollbarWidth = 100 - $div.width();
|
||||
$div.parent().remove();
|
||||
}
|
||||
}
|
||||
return scrollbarWidth;
|
||||
};
|
||||
})(jQuery);
|
||||
205
styles/prosilver/template/portal/assets/jquery_easing_1_3.js
vendored
Normal file
205
styles/prosilver/template/portal/assets/jquery_easing_1_3.js
vendored
Normal file
@@ -0,0 +1,205 @@
|
||||
/*
|
||||
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
||||
*
|
||||
* Uses the built in easing capabilities added In jQuery 1.1
|
||||
* to offer multiple easing options
|
||||
*
|
||||
* TERMS OF USE - jQuery Easing
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2008 George McGinley Smith
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
* or promote products derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
// t: current time, b: begInnIng value, c: change In value, d: duration
|
||||
jQuery.easing['jswing'] = jQuery.easing['swing'];
|
||||
|
||||
jQuery.extend( jQuery.easing,
|
||||
{
|
||||
def: 'easeOutQuad',
|
||||
swing: function (x, t, b, c, d) {
|
||||
//alert(jQuery.easing.default);
|
||||
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
|
||||
},
|
||||
easeInQuad: function (x, t, b, c, d) {
|
||||
return c*(t/=d)*t + b;
|
||||
},
|
||||
easeOutQuad: function (x, t, b, c, d) {
|
||||
return -c *(t/=d)*(t-2) + b;
|
||||
},
|
||||
easeInOutQuad: function (x, t, b, c, d) {
|
||||
if ((t/=d/2) < 1) return c/2*t*t + b;
|
||||
return -c/2 * ((--t)*(t-2) - 1) + b;
|
||||
},
|
||||
easeInCubic: function (x, t, b, c, d) {
|
||||
return c*(t/=d)*t*t + b;
|
||||
},
|
||||
easeOutCubic: function (x, t, b, c, d) {
|
||||
return c*((t=t/d-1)*t*t + 1) + b;
|
||||
},
|
||||
easeInOutCubic: function (x, t, b, c, d) {
|
||||
if ((t/=d/2) < 1) return c/2*t*t*t + b;
|
||||
return c/2*((t-=2)*t*t + 2) + b;
|
||||
},
|
||||
easeInQuart: function (x, t, b, c, d) {
|
||||
return c*(t/=d)*t*t*t + b;
|
||||
},
|
||||
easeOutQuart: function (x, t, b, c, d) {
|
||||
return -c * ((t=t/d-1)*t*t*t - 1) + b;
|
||||
},
|
||||
easeInOutQuart: function (x, t, b, c, d) {
|
||||
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
|
||||
return -c/2 * ((t-=2)*t*t*t - 2) + b;
|
||||
},
|
||||
easeInQuint: function (x, t, b, c, d) {
|
||||
return c*(t/=d)*t*t*t*t + b;
|
||||
},
|
||||
easeOutQuint: function (x, t, b, c, d) {
|
||||
return c*((t=t/d-1)*t*t*t*t + 1) + b;
|
||||
},
|
||||
easeInOutQuint: function (x, t, b, c, d) {
|
||||
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
|
||||
return c/2*((t-=2)*t*t*t*t + 2) + b;
|
||||
},
|
||||
easeInSine: function (x, t, b, c, d) {
|
||||
return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
|
||||
},
|
||||
easeOutSine: function (x, t, b, c, d) {
|
||||
return c * Math.sin(t/d * (Math.PI/2)) + b;
|
||||
},
|
||||
easeInOutSine: function (x, t, b, c, d) {
|
||||
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
|
||||
},
|
||||
easeInExpo: function (x, t, b, c, d) {
|
||||
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
|
||||
},
|
||||
easeOutExpo: function (x, t, b, c, d) {
|
||||
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
|
||||
},
|
||||
easeInOutExpo: function (x, t, b, c, d) {
|
||||
if (t==0) return b;
|
||||
if (t==d) return b+c;
|
||||
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
|
||||
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
|
||||
},
|
||||
easeInCirc: function (x, t, b, c, d) {
|
||||
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
|
||||
},
|
||||
easeOutCirc: function (x, t, b, c, d) {
|
||||
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
|
||||
},
|
||||
easeInOutCirc: function (x, t, b, c, d) {
|
||||
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
|
||||
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
|
||||
},
|
||||
easeInElastic: function (x, t, b, c, d) {
|
||||
var s=1.70158;var p=0;var a=c;
|
||||
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
|
||||
if (a < Math.abs(c)) { a=c; var s=p/4; }
|
||||
else var s = p/(2*Math.PI) * Math.asin (c/a);
|
||||
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
|
||||
},
|
||||
easeOutElastic: function (x, t, b, c, d) {
|
||||
var s=1.70158;var p=0;var a=c;
|
||||
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
|
||||
if (a < Math.abs(c)) { a=c; var s=p/4; }
|
||||
else var s = p/(2*Math.PI) * Math.asin (c/a);
|
||||
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
|
||||
},
|
||||
easeInOutElastic: function (x, t, b, c, d) {
|
||||
var s=1.70158;var p=0;var a=c;
|
||||
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
|
||||
if (a < Math.abs(c)) { a=c; var s=p/4; }
|
||||
else var s = p/(2*Math.PI) * Math.asin (c/a);
|
||||
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
|
||||
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
|
||||
},
|
||||
easeInBack: function (x, t, b, c, d, s) {
|
||||
if (s == undefined) s = 1.70158;
|
||||
return c*(t/=d)*t*((s+1)*t - s) + b;
|
||||
},
|
||||
easeOutBack: function (x, t, b, c, d, s) {
|
||||
if (s == undefined) s = 1.70158;
|
||||
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
|
||||
},
|
||||
easeInOutBack: function (x, t, b, c, d, s) {
|
||||
if (s == undefined) s = 1.70158;
|
||||
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
|
||||
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
|
||||
},
|
||||
easeInBounce: function (x, t, b, c, d) {
|
||||
return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
|
||||
},
|
||||
easeOutBounce: function (x, t, b, c, d) {
|
||||
if ((t/=d) < (1/2.75)) {
|
||||
return c*(7.5625*t*t) + b;
|
||||
} else if (t < (2/2.75)) {
|
||||
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
|
||||
} else if (t < (2.5/2.75)) {
|
||||
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
|
||||
} else {
|
||||
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
|
||||
}
|
||||
},
|
||||
easeInOutBounce: function (x, t, b, c, d) {
|
||||
if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
|
||||
return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
|
||||
}
|
||||
});
|
||||
|
||||
/*
|
||||
*
|
||||
* TERMS OF USE - EASING EQUATIONS
|
||||
*
|
||||
* Open source under the BSD License.
|
||||
*
|
||||
* Copyright © 2001 Robert Penner
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* Neither the name of the author nor the names of contributors may be used to endorse
|
||||
* or promote products derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
49
styles/prosilver/template/portal/assets/portal.js
Normal file
49
styles/prosilver/template/portal/assets/portal.js
Normal file
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - javascript code
|
||||
* @copyright (c) 2014 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
(function($) { // Avoid conflicts with other libraries
|
||||
|
||||
"use strict";
|
||||
|
||||
var portal_right_width;
|
||||
|
||||
/**
|
||||
* Correctly align the right column underneath the left column.
|
||||
* This will make sure that the right column doesn't start before the end of
|
||||
* the center column but rather right after the last module of the left column.
|
||||
*/
|
||||
phpbb.b3p_fix_right_column_margin = function() {
|
||||
var width = $(window).width();
|
||||
var $portal_right = $('#portal-right');
|
||||
var $portal_left = $('#portal-left');
|
||||
var $portal_center = $('#portal-center');
|
||||
|
||||
if (width <= 895) {
|
||||
// Get height of left and center column
|
||||
var right_height = $portal_right.height();
|
||||
var left_height = $portal_left.height();
|
||||
// Get correct margin-left for portal-right and add 10px for padding
|
||||
$portal_right.css('margin-left', - ($portal_right.width() + 1));
|
||||
$portal_center.css('margin-top', Math.max(left_height, right_height) + 'px');
|
||||
} else {
|
||||
$portal_right.css('margin-top', '0px');
|
||||
$portal_right.css('margin-left', -$portal_left.width());
|
||||
$portal_right.width($portal_left.width());
|
||||
$portal_center.css('margin-top', 0);
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
portal_right_width = $('#portal-right').width();
|
||||
phpbb.b3p_fix_right_column_margin();
|
||||
$(window).resize(function() {
|
||||
phpbb.b3p_fix_right_column_margin();
|
||||
});
|
||||
});
|
||||
|
||||
})(jQuery); // Avoid conflicts with other libraries
|
||||
180
styles/prosilver/template/portal/assets/portal_clock.js
Normal file
180
styles/prosilver/template/portal/assets/portal_clock.js
Normal file
@@ -0,0 +1,180 @@
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Clock
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
(function($) { // Avoid conflicts with other libraries
|
||||
|
||||
"use strict";
|
||||
|
||||
var hour_cur = 0;
|
||||
var minL_cur = 0;
|
||||
var minR_cur = 0;
|
||||
var secL_cur = 0;
|
||||
var secR_cur = 0;
|
||||
|
||||
phpbb.b3pFlipClock = function(identifierUp, identifierDown, val, type) {
|
||||
var backIdUp = identifierUp.replace('-front-', '-back-');
|
||||
var backIdDown = identifierDown.replace('-front-', '-back-');
|
||||
var backPosition = $(backIdUp).css('background-position');
|
||||
var backPositionLength;
|
||||
var backY;
|
||||
|
||||
// Workaround for Internet Explorer bug
|
||||
if (backPosition === undefined) {
|
||||
backPosition = $(backIdUp).css('background-position-x') + ' ' + $(backIdUp).css('background-position-y');
|
||||
}
|
||||
|
||||
backPositionLength = backPosition.length;
|
||||
|
||||
if (backPosition.substring(backPositionLength - 3, backPositionLength - 2) === '0') {
|
||||
backY = '0px';
|
||||
} else {
|
||||
backY = backPosition.substring(backPositionLength - 5, backPositionLength);
|
||||
}
|
||||
|
||||
backPosition = $(backIdUp).css('background-position');
|
||||
$(identifierUp)
|
||||
.css('background-position', backPosition)
|
||||
.height('21px')
|
||||
.css({'visibility': 'visible', 'display': 'inline-block' });
|
||||
$(identifierDown)
|
||||
.height('0px')
|
||||
.css('visibility', 'visible');
|
||||
|
||||
// single digits will have digits 0 - 9, double 0 - 24
|
||||
if (type === 'single') {
|
||||
$(backIdUp).css('background-position', (val * -22) + 'px ' + backY);
|
||||
} else if (type === 'double') {
|
||||
if (val >= 12) {
|
||||
backY = '-22px';
|
||||
val = val - 12;
|
||||
$(backIdUp).css('background-position', (val * -43) + 'px ' + backY);
|
||||
val = val + 12;
|
||||
} else {
|
||||
if (val < 12 && backY !== '0px') {
|
||||
backY = '0px';
|
||||
}
|
||||
$(backIdUp).css('background-position', (val * -43) + 'px ' + backY);
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
// now get the vertical offset of the bottom digit
|
||||
backPosition = $(identifierDown).css('background-position');
|
||||
|
||||
// Workaround for Internet Explorer bug
|
||||
if (backPosition === undefined) {
|
||||
backPosition = $(identifierDown).css('background-position-x') + ' ' + $(identifierDown).css('background-position-y');
|
||||
}
|
||||
|
||||
backPositionLength = backPosition.length;
|
||||
|
||||
if (backPosition.substring(backPositionLength - 3, backPositionLength - 2) === '0') {
|
||||
backY = '0px';
|
||||
} else {
|
||||
backY = backPosition.substring(backPositionLength - 5, backPositionLength);
|
||||
}
|
||||
|
||||
// single digits will have digits 0 - 9, double 0 - 24
|
||||
if (type === 'single') {
|
||||
$(identifierDown).css('background-position', (val * -22) + 'px ' + backY);
|
||||
} else if (type === 'double') {
|
||||
if (val >= 12) {
|
||||
backY = '-65px';
|
||||
val = val - 12;
|
||||
$(identifierDown).css('background-position', (val * -43) + 'px ' + backY);
|
||||
val = val + 12;
|
||||
} else {
|
||||
if (val < 12 && backY !== '-44px') {
|
||||
backY = '-44px';
|
||||
}
|
||||
$(identifierDown).css('background-position', (val * -43) + 'px ' + backY);
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
// Animate the top number flipping
|
||||
$(identifierUp).animate({
|
||||
height: '0px',
|
||||
'margin-top': '21px'
|
||||
},
|
||||
{
|
||||
'duration': 150,
|
||||
defaultEasing: 'easeInOutSine',
|
||||
'complete': function(){
|
||||
// Now animate the bottom number flipping
|
||||
$(identifierDown).animate(
|
||||
{height: '20px'},
|
||||
{
|
||||
'duration': 150,
|
||||
defaultEasing: 'easeInOutSine',
|
||||
'complete': function(){
|
||||
// For compatibility with IE8
|
||||
if ($(identifierDown).css('background-position') !== undefined) {
|
||||
$(backIdDown).css('background-position', $(identifierDown).css('background-position'));
|
||||
} else {
|
||||
$(backIdDown).css('background-position-x', $(identifierDown).css('background-position-x'));
|
||||
$(backIdDown).css('background-position-y', $(identifierDown).css('background-position-y'));
|
||||
}
|
||||
$(identifierDown).css({
|
||||
'visibility': 'hidden',
|
||||
'display': 'inline-block'
|
||||
});
|
||||
$(identifierUp).css({
|
||||
'visibility': 'hidden',
|
||||
'display': 'inline-block',
|
||||
'margin-top': '0px'
|
||||
});
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
phpbb.b3pClock = function() {
|
||||
var now = new Date();
|
||||
var hour = now.getHours();
|
||||
var minL = Math.floor(now.getMinutes() / 10);
|
||||
var minR = now.getMinutes() % 10;
|
||||
var secL = Math.floor(now.getSeconds() / 10);
|
||||
var secR = now.getSeconds() % 10;
|
||||
|
||||
if (hour !== hour_cur) {
|
||||
phpbb.b3pFlipClock('.portal-clock-front-hours-up', '.portal-clock-front-hours-down', hour, 'double');
|
||||
hour_cur = hour;
|
||||
}
|
||||
|
||||
if (minR !== minR_cur) {
|
||||
phpbb.b3pFlipClock('.portal-clock-front-minutes-up-right', '.portal-clock-front-minutes-down-right', minR, 'single');
|
||||
minR_cur = minR;
|
||||
}
|
||||
|
||||
if (minL !== minL_cur) {
|
||||
phpbb.b3pFlipClock('.portal-clock-front-minutes-up-left', '.portal-clock-front-minutes-down-left', minL, 'single');
|
||||
minL_cur = minL;
|
||||
}
|
||||
|
||||
if (secR !== secR_cur) {
|
||||
phpbb.b3pFlipClock('.portal-clock-front-seconds-up-right', '.portal-clock-front-seconds-down-right', secR, 'single');
|
||||
secR_cur = secR;
|
||||
}
|
||||
|
||||
if (secL !== secL_cur) {
|
||||
phpbb.b3pFlipClock('.portal-clock-front-seconds-up-left', '.portal-clock-front-seconds-down-left', secL, 'single');
|
||||
secL_cur = secL;
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
setInterval(phpbb.b3pClock, 1000);
|
||||
});
|
||||
|
||||
})(jQuery); // Avoid conflicts with other libraries
|
||||
Reference in New Issue
Block a user