Scroll iframe parent
How to get
$(window).scroll(function(){
// window scroll
});
in the parent window...
I thought something like 开发者_开发知识库window.parent.$(window)
or $(window, document.parent)
or etc, but this not working
I have an application in Google open social iframe and I want to get scroll()
of main window.
Try $(window.parent.window).scroll();
or just $(window.parent).scroll();
精彩评论