sunmockyang / animate-scroll-js

Lightweight javascript library to scroll to element without jQuery
MIT License
28 stars 8 forks source link

Not working inside iframe? :S #2

Closed daattali closed 8 years ago

daattali commented 8 years ago

Great little plugin, really nice!

I'm able to use it perfectly well on my webpage. But I notice that if I place my page within an iframe, then the scrolling script doesn't work. Doesn't make sense to me, but perhaps you know why that's happening? Maybe something with window vs top window?

sunmockyang commented 8 years ago

Hmmm interesting! I'd like to try it out myself. What browser/version are you using? Does it do the same thing in other browsers too?

daattali commented 8 years ago

Really sorry to waste your time, I think it's a different issue that's very specific to my usecase. Your javascript is great, no problems :)

sunmockyang commented 8 years ago

Oh, I see. Well best of luck! Glad to hear my stuff's useful for people


From: Dean Attali notifications@github.com Sent: September 26, 2016 3:41 PM To: sunmockyang/animate-scroll-js Cc: Sunmock Yang; Comment Subject: Re: [sunmockyang/animate-scroll-js] Not working inside iframe? :S (#2)

Really sorry to waste your time, I think it's a different issue that's very specific to my usecase. Your javascript is great, no problems :)

You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/sunmockyang/animate-scroll-js/issues/2#issuecomment-249675205, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACpa3hdzHZwGwNULXcpR9T6iS2pSD5-jks5quBMgaJpZM4KGak.