Project

General

Profile

Bug #18060 ยป effectDuration.diff

Administrator Admin, 2008-01-27 15:03

View differences:

typo3/backend.php (working copy)
$menuFrameName = 'topmenuFrame';
}
$effectDuration = intval($GLOBALS['BE_USER']->getTSConfigVal('options.backend.effectDuration')/10);
if($effectDuration <= 0) $effectDuration = 0.1;
$this->js .= '
var effectDuration = '.$effectDuration.';
/**
* Function similar to PHPs rawurlencode();
*/
......
$TYPO3backend->render();
?>
?>
typo3/js/modulemenu.js (working copy)
});
if(state) {
Effect.BlindUp(subModulesMenu, {duration : 0.1});
Effect.BlindUp(subModulesMenu, {duration : effectDuration});
} else {
Effect.BlindDown(subModulesMenu, {duration : 0.1});
Effect.BlindDown(subModulesMenu, {duration : effectDuration});
}
},
    (1-1/1)