开发者

How to get jQuery scrollTo plugin to behave within Facebook

开发者 https://www.devze.com 2023-02-14 17:24 出处:网络
I can\'t seem to get the scrollTo jQuery plugin to work within my Facebook app. I\'m using it to move the window, as I have a form that needs to grow vertically as it is filled out. My code works fine

I can't seem to get the scrollTo jQuery plugin to work within my Facebook app. I'm using it to move the window, as I have a form that needs to grow vertically as it is filled out. My code works fine normally, but not in the Facebook environment.

Can anyone explain to me why this doesn't work and if there are generally any special considerations that need to be taken when attempting to move the browser "window" within an iframe?

If there is an alternate solution开发者_C百科 to the problem that bypasses the use of scrollTo, I'm open to that as well. Thanks!


try this

http://developers.facebook.com/docs/reference/javascript/FB.Canvas.scrollTo/


I think that you will have to integrate your plugin with FB.Canvas.setSize

0

精彩评论

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

关注公众号