开发者

Loading an ajax enabled page into facebox or other lightbox

I have a page with a l开发者_如何学Pythonink to a view in another controller and this view has AJAX elements(a nested form). And I wondering whether it's possible to load the page in a facebox or lightbox and still keep the ajax functionality in the page loaded.

The closest thing I have seen is this but it's loads a page that doesn't contain AJAX. http://net.tutsplus.com/tutorials/ruby/how-to-build-an-unobtrusive-login-system-in-rails/

If this is possible how would you go about implementing this. I am using JQuery if it makes a difference.

Thanks, Alex


Yes, I know you can load pages within an iframe element using prettyPhoto (jQuery plugin) PrettyPhoto

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜