Flex - 使用 CSS 属性更改自定义滚动条的颜色 [英] Flex - Changing the color of a Custom scrollbar using CSS properties

查看:37
本文介绍了Flex - 使用 CSS 属性更改自定义滚动条的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我正在使用我的 CSS 样式表使用自定义嵌入图像实现滚动条.这是一个非常简单的细滚动条.我想在运行时使用 CSS 属性配置此滚动条,但到目前为止我一直无法这样做.我知道它可以完成,因为我在网上看到过它的例子,但没有代码可以查看.有人有什么建议吗?

Currently, I am implementing a scrollbar using a custom embedded image using my CSS stylesheet. This is a very simple, thin scrollbar. I would like to configure this scrollbar using CSS properties at runtime, but so far I have been unable to do so. I know it can be done because I've seen examples of it in the net, but no code to review. Anyone have any suggestions?

谢谢!

推荐答案

这个博客有一个例子,你可以右击查看源码:

This blog has an example that you can view the source of with a right click:

http://www.axelscript.com/2008/02/20/custom-scroll-bar-using-css/

这个有几个链接可以重定向到带有图像皮肤的示例:

This one has a few links that redirect to examples with image skins:

http://www.foxarc.com/blog/article/101.htm

你可以在这里看到很多滚动条的 css 内容以及几乎所有其他内容:

You can see a lot of the css stuff for scrollbars and pretty much everything else here:

http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#

这篇关于Flex - 使用 CSS 属性更改自定义滚动条的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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