Login Register

Fisheye Question / Issue

I am having 2 major issues with Fisheye.

1. No matter what I do the Fisheye List displays Vertically even though the action responds horizontal. What I mean is that I mouse over where the Fisheye List should be and the images grow and shrink. The issue is the images are lined up 1 under another from the first image in the list.

2. I have to change my images dynamically without refreshing the page. I use DOM to change the content of my Div Element that contains my Fisheye List. I can view the source and see my new items are there, but they did not render. I guess I need to run some sort of JS to get it to refresh but not sure what.

Any help would be great...

Jeff

a) you are likely missing

a) you are likely missing the required CSS is all. Rendering vertically is indicative of that. you need dojox/widget/FisheyeList/FisheyeList.css in the page.

2) You will likely need to destroy the old fisheyelist and create a new one with new click handlers, etc. You can just change the .src of the images, but that might cause size calculation issues if the new icons are larger or smaller. The best way would be to create one FisheyeList widget, and programatically destroy and create FisheyeListItem widgets as you need.

Hope this helps.

Regards,
Peter Higgins

Thanks Peter... I did

Thanks Peter...

I did resolve #1 last night..

As for #2 I will have to dig into that a bit more.

Thanks,

Jeff