pkunzipula
Mar 21st 2008, 8:11 pm
I'm trying to create a multiple-function onload event.
I have a 6-function .js file.
The first 4 functions exist just to switch images.
The 5th is for a dynamic zebra-table effect.
The 6th is the addLoadEvent for the first 5. Looks like this...
addLoadEvent(MM_swapImgRestore);
addLoadEvent(MM_preloadImages);
addLoadEvent(MM_findObj);
addLoadEvent(MM_swapImage);
addLoadEvent(striper);
The thing is...
MM_findObj and striper have additional arguments that go...
function MM_findObj(n,d)
and
function striper(parentElement,parentClass,childElement,childClass)
Where, when and how do I define these arguments? Please explain thoroughly, as I am new at this.
I thank you for your help, anyone.
Arlen
I have a 6-function .js file.
The first 4 functions exist just to switch images.
The 5th is for a dynamic zebra-table effect.
The 6th is the addLoadEvent for the first 5. Looks like this...
addLoadEvent(MM_swapImgRestore);
addLoadEvent(MM_preloadImages);
addLoadEvent(MM_findObj);
addLoadEvent(MM_swapImage);
addLoadEvent(striper);
The thing is...
MM_findObj and striper have additional arguments that go...
function MM_findObj(n,d)
and
function striper(parentElement,parentClass,childElement,childClass)
Where, when and how do I define these arguments? Please explain thoroughly, as I am new at this.
I thank you for your help, anyone.
Arlen