Flex - Changing the color of a Custom scrollbar using CSS properties

做~自己de王妃 提交于 2019-12-11 21:36:49

问题


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!


回答1:


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#



来源:https://stackoverflow.com/questions/2268954/flex-changing-the-color-of-a-custom-scrollbar-using-css-properties

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!