Hi there,
I found this library and it works great! However I noticed that when I had multiple points in a container div the getEndLocation function would act all wonky and not account for the container offset. I was able to resolve this issue by adding the following to the top of the function directly following the variable declarations.
if (containerPresent) {
absoluteElementTop = elementRect.top + container.scrollTop;
}
Cheers.
Hi there,
I found this library and it works great! However I noticed that when I had multiple points in a container div the getEndLocation function would act all wonky and not account for the container offset. I was able to resolve this issue by adding the following to the top of the function directly following the variable declarations.
Cheers.