You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying, from the parent document, to scroll an iframe smoothly to a particular position of an id. the iframe doesn't have jquery in it, but the parent does, so from the parent I'm
The position of the scroll appears to take into account the offset of the iframe from the top of the parent document, not consider the iframe its own window??
The text was updated successfully, but these errors were encountered:
I don't believe this plugin was ever tested for iframes. Do you have an example link of how you're using it? Or if you can, use http://jsfiddle.net to create one.
I'm trying, from the parent document, to scroll an iframe smoothly to a particular position of an id. the iframe doesn't have jquery in it, but the parent does, so from the parent I'm
$("my-iframe").contents().find("#" + ref).scrollIntoView();
where "ref" is the id I want to scroll to.
The position of the scroll appears to take into account the offset of the iframe from the top of the parent document, not consider the iframe its own window??
The text was updated successfully, but these errors were encountered: