自定义滚动条使用jquery iframe与客户url [英] Custom scrollbar using jquery for iframe with customer url

查看:285
本文介绍了自定义滚动条使用jquery iframe与客户url的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户希望我向iframe添加自定义滚动条。在iframe我带来了客户零售网站,所以页面高度不会保持不变的所有的时间。

I have a client who wants me to add a custom scrollbar to an iframe. In the iframe I'm bringing in the clients retail website, so the page height does not stay the same all the time.

在这个网站上点击零售机会链接,一个模态打开与他们的零售职业网站。我尝试添加一个自定义滚动条,但我有问题,当我点击作业导航,因为该页面变长。不得不取下它,因为它不会滚动超出首页的初始高度。

On this site click on the "Retail Opportunities" link and a modal opens with their retail career site. I have tried adding a custom scroll bar but I had issues when I click on the jobs navigation since that page gets long. Had to take it off since it would not scroll beyond the initial height of the home page.

http:// careers-adidas -group-com.tmpqa.com/

有谁知道任何jquery将工作,无论什么高度。

Does anyone know of any jquery that will work no matter what the height is. I'm still looking in the meantime.

感谢
Debbie

Thanks Debbie

推荐答案

有很多很酷的jQuery滚动条插件:

There are lots of cool jQuery scrollbar plugins:

  • jQuery Scrollbar
  • jScrollPane
  • mCustomScrollbar
  • perfect-scrollbar
  • slimScroll
  • Scroller
  • jQuery Custom Scrollbar
  • baron
  • NiceScroll

有些更好,有些可以提供您可能需要的附加功能。我推荐第一个,但这一切都取决于你(你可以在此电子表格)。要在iFrame中使用自定义滚动条,您应该能够修改iFrame页面内容以包括样式,脚本并在HTML结构中进行必要的更改。这是示例如何在iFrame中使用jQuery Scrollbar。

Some better, some worse, some can offer additional functionality you may need. I recommend the first one, but it's all up to you (you can compare scrollbars functionality in this spreadsheet). To use custom scrollbar in iFrame you should be able to modify iFrame page content to include styles, scripts and make necessary changes in HTML structure. Here is example how to use jQuery Scrollbar in iFrame.

这篇关于自定义滚动条使用jquery iframe与客户url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆