DC Community Forums - exapmle on dot menu
Our web spider found the following code snippet at www_dhtmlcentral_com and contains information about atan and JavaScript.
atan(x,y));
dx = round(v * cos(degToRad(a)));
dy = round(v * sin(degToRad(a)));
this.moveBy(dx,dy);

setTimeout(this.name + ".slide(" + xx + "," + yy + ", '" + func + "');",10);    

// Preoading the windows filters.

if (menuCount==0 && document.all) document.all[this.ref].style.filter = "alpha (
opacity=100)";
menuCount++;
return this;
} // Math functions
//================
var pi = Math.PI;
function square(x) { return (x*x); }
function sqrt(x) { return Math.sqrt(x); }
function round(x) { return Math.round(x); }
function rand(x,y) { return (round(Math.random()*(y-x)) + x); }
function cos(x) { return Math.cos(x) }
function sin(x) { return Math.sin(x) }
function degToRad(x) { return ( x/(360/(2*p
Read the entire article....