views:

131

answers:

1

Inside fancybox window I would like to retrieve html element (anchor probably) from which fancybox was called. How can this be done?

A: 

I found a way to do this. I need to pass onStart function:

onStart(selectedArray, selectedIndex, selectedOpts) 

and then call:

selectedArray[selectedIndex].orig
gruszczy