开发者

jScrollPane working with iframe containing external website

Accodring to information on jScrollPane website (http://jscro开发者_如何学Gollpane.kelvinluck.com/iframe.html) you can use it only with iframes which frame page under your control. You simply invoke script on the framed page and it's done. My question is, did anyone of you tried to make it work with some external website, i.e. google.com. Or... do you know any other library which gives this possibility to iframes? Thanks in advance.


When I put together the iframe example you link to above I also tried to implement it the other way around (for situations where you don't have control over the loaded page). You can see my attempts here:

http://jscrollpane.kelvinluck.com/iframe2.html

Note the limitations mentioned in the top of that page - the mousewheel no longer works and the calculation of the width and height seemed a little strange.

Hope it helps!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜