首页 > 编程知识 正文

ppt如何做图片滚动条(ppt2007长图片滚动条)

时间:2023-05-04 19:02:44 阅读:69283 作者:3367

当前位置:我的异常网络» JavaScript»在图片中轮换html滚动条

在图像中轮换html滚动条

www.myexceptions.net网友分享: 2013-07-29阅读: 67次

用图像替换html滚动条

现在,您需要用自己的图像替换默认IE滚动条,但对js几乎一无所知。

因为现在有用htm制作的模块。 在网上也找到了相关的代码。 这段代码可以实现我需要的大部分功能,但唯一做不到的是,当htm中的文本动态变化时,当文本较短且未超过htm页面大小时,不显示滚动条,当超过页面大小时,滚动条我不知道这个该怎么办。 请各位达人。 我觉得这个代码的可读性也不太好。 看看这个。 请多关照。 全部复制并保存在htm中就好了。

a href=' http://www.pcyy js.com/web design/html/' target=' _ blank ' html 1.0 transitional///en ' 3358 www.w3.

* { margin:0; padding:0; }

body { margin:20px 0 400px 20px; font:12px Arial; }

h1 { font-size:14px; }

ol { margin:20px; line-height:160%; }

#out {

position:relative;

width:500px;

height:300px;

margin:100px 0 100px 80px;

border :1 px固态# 369;

Overflow :隐藏;

}

#content {

width:520px; /*比母容器大20px,使实际滚动条偏离可见区域*

height:100%;

background : # eee URL (http://www.zb w123.com/web master/ximen scroll bar/images/BG _高贵芹菜_仁爱豌豆. jpg ) nng

Overflow :自动;

-moz-user-select:none;

}

#scrollBar,#scrollBarHandle, scroll_bar_top, scroll_bar_top_a, scroll_bar_bottom, scroll

后台- image : URL (http://www.zb w123.com/web master/ximen scroll bar/images/un _ BG _ scroll bar.gif );

}

#scrollBar {

位置: absolute;

top:0;

right:0;

z-index:9;

width:14px;

height:100%;

背景报告:报告- y;

背景定位:-42px 0;

浮点:左;

}

#scrollBarTop、#scrollBarHandle、#scrollBarBottom {

位置: absolute;

left:0;

cursor:default;

}

#scrollBarTop,#scrollBarBottom {

width:100%;

height:14px;

color:#fff;

文本对齐3360中心;

}

#scrollBarTop { top:0; }

#scrollBarBottom { bottom:0; }

# scroll bar handle { width :100 %; 背景报告:报告- y; 背景定位:-28px 0; }

. scroll _ bar _ top { background-position :0; }

. scroll _ bar _ top _ a { background-position :-14px 0; }

. scroll _ bar _ bottom { background-position :-56px 0; }

. scroll _ bar _ bottom _ a { background-position 3360-70px 0; }

fsdfs

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

11111111

fsdfs

文章评论

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。