Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

.position().top not a function!?

$
0
0

Hi All,

 

I used this piece of code repeatedly in old projects but recently i get an error.

 

(Code placed in CompositionReady inside a window resize function)

$("body").css({width:$(window).width(),height:Array[Array.length-1].position().top+pHeight });

 

Error:

Uncaught TypeError: homeArray[(homeArray.length - 1)].position is not a function


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>