//-------------------------------------------------------------------------- // FILE: maus.jss // AUTHOR: Steffen Wagner, wagner@voyager-soft.de // CREATION: 2008-06-28 // CUSTOMER: neukauf Norbert und Sven Möller KG / Vellmar / Germany //-------------------------------------------------------------------------- // Move a div on mouseover inside and back if mouseout //-------------------------------------------------------------------------- //-------------------------------------------------------------------------- // global variables //-------------------------------------------------------------------------- var minWidth = 45; var maxWidth = 484; var objMaus; var mausTimer; var mausSteps; var mausSize; //-------------------------------------------------------------------------- // //-------------------------------------------------------------------------- function mausSetSize (size) { var objMaus= document.getElementById("maus"); objMaus.style.width = size + "px"; } //-------------------------------------------------------------------------- // //-------------------------------------------------------------------------- function mausCleartimer () { window.clearInterval(mausTimer); mausTimer= 0; } //-------------------------------------------------------------------------- // //-------------------------------------------------------------------------- function mausMove () { mausSize = mausSize + mausSteps; if (mausSize>maxWidth) { mausSize= maxWidth; mausCleartimer(); } if (mausSize