ScrollBar 类是 HScrollBar 控件和 VScrollBar 控件的基类。ScrollBar 由两个箭头按钮、两者之间的轨道和大小可变的滚动滑块组成。单击其中一个箭头按钮,沿轨道拖动滚动滑块或单击轨道,可移动滚动滑块。 想改变flash自带的scrollbar样式,可以通过设置
verticalScrollBarStyleName="VScrollBar"
.VScrollBar
{
/*上面箭头的样式*/
upArrowUpSkin:
Embed(source="../image/style/scroll/up_up.png");
upArrowOverSkin:
Embed(source="../image/style/scroll/up_up.png");
upArrowDownSkin:
Embed(source="../image/style/scroll/up_down.png");
/*下面箭头的样式*/
downArrowUpSkin:
Embed(source="../image/style/scroll/down_up.png");
downArrowOverSkin:
Embed(source="../image/style/scroll/down_up.png");
downArrowDownSkin:
Embed(source="../image/style/scroll/down_down.png");
/*中间条的样式*/
thumbDownSkin:
Embed(source="../image/style/scroll/bar.png",
scaleGridLeft="20", scaleGridTop="20",
scaleGridRight="21", scaleGridBottom="21");
thumbUpSkin:
Embed(source="../image/style/scroll/bar.png",
scaleGridLeft="20", scaleGridTop="20",
scaleGridRight="21", scaleGridBottom="21");
thumbOverSkin:
Embed(source="../image/style/scroll/bar.png",
scaleGridLeft="20", scaleGridTop="20",
scaleGridRight="21", scaleGridBottom="21");
/*中间的样式*/
trackSkin:
Embed(source="../image/style/scroll/VCenter.png",
scaleGridLeft="7", scaleGridTop="4",
scaleGridRight="8", scaleGridBottom="6");
}
分享到:
相关推荐
idangerous.swiper.scrollbar-2.1.js添加上下滚动列表
前端项目-jquery.scrollbar,跨浏览器CSS可自定义滚动条
jquery滚动条美化Scrollbar设置浏览器默认滚动条样式 DIVCSS5 网页演示
一个漂亮的滚动条插件,内含8个例子,截图只是其中一款的效果。这里的滚动条并不是指网页右侧的固有的滚动条,而是由你自定义内容和图片后出现滚动条,支持文本和图片的滚动,调用方便,会让你的网页漂亮不少。
$.scrollbar 在需要时(水平或垂直)为元素创建滚动条。 使用默认功能,滚动是通过滚动条实现的。 但是,可以轻松覆盖默认功能。 例如, $.fn.tableFreeze 插件的功能不同。 表格行被隐藏而不是滚动。 详见
jquery jscroll 滚动条 插件,可以自己定义滚动条样式
将xxx替换为当前版本号] jquery.mousewheel.js [处理鼠标滚轮移动的插件] jquery.sizes.js [提供对元素大小支持的插件] jquery.scrollbar.js [此插件].scrollbar() 将scrollbar()方法应用于要具有滚动
Flex中不用ScrollBar实现滚动效果
flex4里引入了sparkSkin, spark包里的可视控件可以通过指定skinClass的值来修改控件的默认皮肤。 下面是一个如何自定义某个scrollbar的外观的例子。
1.引用js和css <link href="jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css">... $(".scrollbar").mCustomScrollbar(); 3.设置横向滑动 $(".scrollbar").mCustomScrollbar({ horizontalSc })
C# Chart表格多个ChartArea、Series显示;滚动条ScrollBar随着数据的增加实时更新,显示区域始终在最右边
duilib滚动条图片,我使用的版本的duilib滚动条无效,参考样式如下: ;file='scrollbar.png' source='0,0,16,16'" button1hotimage="file='scrollbar.png' source='16,0,32,16,16'" button1...
前端项目-jquery.perfect-scrollbar,Minimalistic but perfect custom scrollbar plugin
Tailwind CSS的滚动条插件 为Firefox和基于Webkit的... 对于每个要设置样式的元素,请添加.scrollbar或.scrollbar-thin类。 然后,您可以添加任何所需的scrollbar-track-{color} , scrollbar-thumb-{color}或hover:
1. a book Developing Flex Applications 2. a web page viewer for doc88 ebt 3. a DDA downloader for doc88.com CONTENTS PART I: Presenting Flex CHAPTER 1: Introducing Flex. . . . . . . . . . . . . . ...
WPF中自定义Scrollbar 样式,设置颜色或者自定义图片
jQuery 滚动条插件 tinyScrollbar Demo 整理过的资源 包括图片和样式脚本
.Scrollbar-Track{position:absolute;left:0;top:20px;width:13px;height:270px;} .Scrollbar-Handle{position:absolute;left:-7px;top:0;width:13px;height:103px;overflow:hidden;background:url(../images/srcoll...
利用matlab软件制作简单的scrollbar,代码简单
3.1.2.3 编译应用程序 ............................................................................................43 3.1.3 模拟的高级功能 ..................................................................