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

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

问题描述

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



谢谢!

解决方案

您可以右键查看来源的示例:



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

这个链接有一些链接,可以重定向到包含图片外观的示例:



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



你可以看到很多滚动条和其他一切的css东西:



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

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?

Thanks!

解决方案

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

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天全站免登陆