RevealTrans Uncaught TypeError: Can not read property '0' of undefined

-4
marco.getDiv().filters[0].Apply();
marco.getDiv().filters[0].Play();

frame is an object
getDiv() returns this.getDiv() ;

I would like to know what these lines of code do because I can not find a solution in other Internet pages.

The console returns this error:

  

Uncaught TypeError: Can not read property '0' of undefined.

    
asked by Nico Tesone 19.04.2018 в 11:44
source

1 answer

1

It seems to be a code related to animations, in question it is RevealTrans , but it's quite old by what I see, June of 2002 .

Here you have a little more code similar to yours.

    
answered by 19.04.2018 / 12:07
source