lrsjng/jQuery.fracs — Issue #6: Viewport Issues
Author: naderhen
Created: 2011-11-21 21:12:15+00:00
State: open

Hi,

I'm trying to use fracs on a collection of items with a custom viewport.

I successfully set the rectangle property using :

var Rect = jQuery.fracs.rect('#yir_content');

But I get an error when trying to execute:

var Fracs = jQuery.fracs.fracs('.month_container', Rect);

The error reads:

Uncaught TypeError: Object .month_container has no method 'intersection'

Could the fact that the '.month_container's are not direct descendants of the #yir_content element be causing the issue?

Any help would be greatly appreciated. Thanks!