I'm trying to integrate a wicket ajax link's response with prettyPhoto. I'm having difficulty getting the wicket response to be displayed within the prettyPhoto lightbox.
问问题
684 次
我尝试了 API,但我遇到的问题是 $.prettyPhoto.open() 函数似乎只适用于图像..加上检票口 AjaxLink 的 url 是自动生成的,点击动作实际上是作为一个函数发生的(我猜是他们的安全性的一部分)所以我很难以正常的方式添加 prettyPhoto(即使用 prettyPhoto.init())
prettyPhoto API 可能会有所帮助:API 链接