Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在fancybox 窗口中,我想检索调用fancybox 的html 元素(可能是锚点)。如何才能做到这一点?
我找到了一种方法来做到这一点。我需要传递 onStart 函数:
onStart(selectedArray, selectedIndex, selectedOpts)
然后调用:
selectedArray[selectedIndex].orig