/* GMScroller.js.php <?php
# --------------------------------------------------------------
# GMScroller.js.php 2011-01-24 gambio
# Gambio GmbH
# http://www.gambio.de
# Copyright (c) 2011 Gambio GmbH
# Released under the GNU General Public License
# --------------------------------------------------------------
?>*/
/*<?php
if(is_object($GLOBALS['coo_debugger']) == true && $GLOBALS['coo_debugger']->is_enabled('uncompressed_js') == false)
{
?>*/
function GMScroller(){var x=null;var counter=0;var scroller_stop=0;var content_height=0;this.scroll=function(){if(content_height==0){document.getElementById('gm_scroller').style.display="block";document.getElementById('gm_scroller').style.padding="<?php echo gm_get_conf('GM_SCROLLER_HEIGHT'); ?>px 0px <?php echo gm_get_conf('GM_SCROLLER_HEIGHT'); ?>px 0px";content_height=Number(document.getElementById("gm_scroller").offsetHeight);}clearTimeout(x);x=window.setTimeout("gmScroller.scroll()",Number("<?php echo gm_get_conf('GM_SCROLLER_SPEED'); ?>"));if(scroller_stop==1)return;document.getElementById('menubox_gm_scroller_body').scrollTop=counter;counter++;if(counter==content_height-Number("<?php echo gm_get_conf('GM_SCROLLER_HEIGHT'); ?>")){counter=0;}};this.start=function(){x=window.setTimeout("gmScroller.scroll()",Number("<?php echo gm_get_conf('GM_SCROLLER_SPEED'); ?>"));};this.set_stop=function(stop_val){scroller_stop=stop_val;};}var gmScroller=new GMScroller();$(document).ready(function(){if(fb)console.log("menubox_gm_scroller ready");if($("#menubox_gm_scroller").attr('id')=='menubox_gm_scroller'){gmScroller.start();}$('#menubox_gm_scroller_body').hover(function(){gmScroller.set_stop(1);},function(){gmScroller.set_stop(0);});});
/*<?php
}
else
{
?>*/
function GMScroller(){
var x = null;
var counter = 0;
var scroller_stop = 0;
var content_height = 0;
this.scroll = function(){
if(content_height == 0){
document.getElementById('gm_scroller').style.display = "block";
document.getElementById('gm_scroller').style.padding = "<?php echo gm_get_conf('GM_SCROLLER_HEIGHT'); ?>px 0px <?php echo gm_get_conf('GM_SCROLLER_HEIGHT'); ?>px 0px";
content_height = Number(document.getElementById("gm_scroller").offsetHeight);
}
clearTimeout(x);
x = window.setTimeout("gmScroller.scroll()", Number("<?php echo gm_get_conf('GM_SCROLLER_SPEED'); ?>"));
if(scroller_stop == 1) return;
document.getElementById('menubox_gm_scroller_body').scrollTop = counter;
counter++;
if(counter == content_height - Number("<?php echo gm_get_conf('GM_SCROLLER_HEIGHT'); ?>")){
counter = 0;
}
}
this.start = function() {
x = window.setTimeout("gmScroller.scroll()", Number("<?php echo gm_get_conf('GM_SCROLLER_SPEED'); ?>"));
}
this.set_stop = function(stop_val) {
scroller_stop = stop_val;
}
}
var gmScroller = new GMScroller();
$(document).ready(function()
{
if(fb)console.log("menubox_gm_scroller ready");
if($("#menubox_gm_scroller").attr('id') == 'menubox_gm_scroller'){
gmScroller.start();
}
$('#menubox_gm_scroller_body').hover(
function()
{
gmScroller.set_stop(1);
},
function()
{
gmScroller.set_stop(0);
}
);
});
/*<?php
}
?>*/
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| jquery/ | 2013-11-12 21:03 | 587.44 KB | 76129f60960:kunden | dxwrx-rx-r | |
| GMAskOpensearch.js | 2013-11-12 21:03 | 2.31 KB | 76129f60960:kunden | -xw-x----- | |
| GMAttributeImages.js | 2013-11-12 21:03 | 2.52 KB | 76129f60960:kunden | -xw-x----- | |
| GMAttributesCalculator.js | 2013-11-12 21:03 | 6.12 KB | 76129f60960:kunden | -xw-x----- | |
| GMBestseller.js | 2013-11-12 21:03 | 1.7 KB | 76129f60960:kunden | -xw-x----- | |
| GMCallbackService.js | 2013-11-12 21:03 | 3 KB | 76129f60960:kunden | -xw-x----- | |
| GMCounter.js | 2013-11-12 21:03 | 580 B | 76129f60960:kunden | -xw-x----- | |
| GMGMotion.js | 2013-11-12 21:03 | 1.17 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintCartWishlistManager.js | 2013-11-12 21:03 | 18.28 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintConfiguration.js | 2013-11-12 21:03 | 2.74 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintElements.js | 2013-11-12 21:03 | 32.5 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintOrderElements.js | 2013-11-12 21:03 | 4.68 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintOrderSurfaces.js | 2013-11-12 21:03 | 13.3 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintOrderSurfacesManager.js | 2013-11-12 21:03 | 11.72 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintSurfaces.js | 2013-11-12 21:03 | 71.97 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintSurfacesGroupsManager.js | 2013-11-12 21:03 | 2.92 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintSurfacesManager.js | 2013-11-12 21:03 | 23.49 KB | 76129f60960:kunden | -xw-x----- | |
| GMImagesPopup.js | 2013-11-12 21:03 | 1.53 KB | 76129f60960:kunden | -xw-x----- | |
| GMLightBox.js | 2013-11-12 21:03 | 16.6 KB | 76129f60960:kunden | -xw-x----- | |
| GMLiveSearch.js | 2013-11-12 21:03 | 2.18 KB | 76129f60960:kunden | -xw-x----- | |
| GMMegaFlyOver.js | 2013-11-12 21:03 | 9.86 KB | 76129f60960:kunden | -xw-x----- | |
| GMOrderQuantityChecker.js | 2013-11-12 21:03 | 7.32 KB | 76129f60960:kunden | -xw-x----- | |
| GMProductImages.js | 2013-11-12 21:03 | 4.32 KB | 76129f60960:kunden | -xw-x----- | |
| GMScroller.js.php | 2013-11-12 21:03 | 3.18 KB | 76129f60960:kunden | -xw-x----- | |
| GMShowLightBox.js | 2013-11-12 21:03 | 3.57 KB | 76129f60960:kunden | -xw-x----- | |
| GMTellAFriend.js | 2013-11-12 21:03 | 3.61 KB | 76129f60960:kunden | -xw-x----- | |
| PreserveSessionHandler.js | 2013-11-12 21:03 | 2.19 KB | 76129f60960:kunden | -xw-x----- | |
| functions.js | 2013-11-12 21:03 | 5.93 KB | 76129f60960:kunden | -xw-x----- | |
| gm_form_styles.js | 2013-11-12 21:03 | 6.47 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint.js | 2013-11-12 21:03 | 35.78 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_functions.js | 2013-11-12 21:03 | 2.5 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order.js | 2013-11-12 21:03 | 1.63 KB | 76129f60960:kunden | -xw-x----- | |
| gm_guestbook.js.php | 2013-11-12 21:03 | 3.52 KB | 76129f60960:kunden | -xw-x----- | |
| gm_product_details.js | 2013-11-12 21:03 | 3.91 KB | 76129f60960:kunden | -xw-x----- | |
| gm_shop_scripts.js | 2013-11-12 21:03 | 3.8 KB | 76129f60960:kunden | -xw-x----- | |
| gm_shopping_cart.js | 2013-11-12 21:03 | 934 B | 76129f60960:kunden | -xw-x----- | |
| gm_start.js.php | 2013-11-12 21:03 | 12.68 KB | 76129f60960:kunden | -xw-x----- | |
| gm_statusbar.js.php | 2013-11-12 21:03 | 3.68 KB | 76129f60960:kunden | -xw-x----- | |
| price_offer.js.php | 2013-11-12 21:03 | 1.16 KB | 76129f60960:kunden | -xw-x----- | |