Login Register

Fisheye vs Scrolling Div Tags

I ran into an interesting issue last night with the Fisheye Widget.

If you place it inside a Div tag that scrolls your images scroll, but your hotspots do not.

Any idea how to correct this, or am I going to have to abandon using Fisheye, or Scrollable Divs on my site?

Regards,

Jeff

I forget the function I

I forget the function I added to fix this ... oh right, a confusing parameter: isFixed:true (defaults to false). This causes the FisheyeList to trigger _onScroll when an onscroll event reaches window, which recalculates the hotspots for the hovering.

Setting true for isFixed may seem backwards, but I think the side effects are desirable in this situation.

Also, with some clever CSS you can use the much smaller/faster FisheyeLite widget from the same project (dojox.widget) take a look at the test for it, it's really lightweight and simple, but requires you style each node accordingly.

I set isFixed="true" on my

I set isFixed="true" on my dojox.widget.FisheyeList div tag but still does not work.

Jeff