社区
CSS
帖子详情
关于滚动字幕
flbz
2003-01-03 01:33:30
<a href="#" onclick='???????????'>开始滚动</a>
<marquee behavior="scroll" scrollamount="2" scorlldelay="2" >
文字
</marquee>
如何让我点了“开始滚动”文字才开始滚动
...全文
280
5
打赏
收藏
关于滚动字幕
开始滚动 文字 如何让我点了“开始滚动”文字才开始滚动
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
春风老少年
2003-01-06
打赏
举报
回复
我K~!三楼的,不是这么夸张吧~~~~,这可用属性也忒多了点不~~
japhone
2003-01-04
打赏
举报
回复
受益非浅
wangxj0600
2003-01-03
打赏
举报
回复
来晚了一步,分数有没有了。marquee可以使用下面的属性和方法事件
Properties
accessKey , begin , behavior , bgColor , canHaveChildren , canHaveHTML , className , clientHeight , clientLeft , clientTop , clientWidth , contentEditable , currentStyle , dataFld , dataFormatAs , dataSrc , dir , direction , firstChild , hasMedia , height , hideFocus , hspace , id , innerHTML , innerText , isContentEditable , isDisabled , isTextEdit , lang , language , lastChild , loop , nextSibling , nodeName , nodeType , nodeValue , offsetHeight , offsetLeft , offsetParent , offsetTop , offsetWidth , onOffBehavior , outerHTML , outerText , parentElement , parentNode , parentTextEdit , previousSibling , readyState , recordNumber , runtimeStyle , scopeName , scrollAmount , scrollDelay , scrollHeight , scrollLeft , scrollTop , sourceIndex , style , STYLE , syncMaster , tabIndex , tagName , tagUrn , title , trueSpeed , uniqueID , vspace
Methods
addBehavior , appendChild , applyElement , attachEvent , blur , clearAttributes , click , cloneNode , componentFromPoint , contains , detachEvent , dragDrop , fireEvent , focus , getAdjacentText , getAttribute , getBoundingClientRect , getClientRects , getElementsByTagName , getExpression , hasChildNodes , insertAdjacentElement , insertAdjacentHTML , insertAdjacentText , insertBefore , mergeAttributes , releaseCapture , removeAttribute , removeBehavior , removeChild , removeExpression , removeNode , replaceAdjacentText , replaceChild , replaceNode , scrollIntoView , setActive , setAttribute , setCapture , setExpression , start , stop , swapNode
Events
onactivate , onbeforecut , onbeforedeactivate , onbeforeeditfocus , onbeforepaste , onblur , onbounce , onclick , oncontextmenu , oncontrolselect , oncut , ondblclick , ondeactivate , ondrag , ondragend , ondragenter , ondragleave , ondragover , ondragstart , ondrop , onfilterchange , onfinish , onfocus , onhelp , onkeydown , onkeypress , onkeyup , onlosecapture , onmousedown , onmouseenter , onmouseleave , onmousemove , onmouseout , onmouseover , onmouseup , onpaste , onpropertychange , onreadystatechange , onresize , onresizeend , onresizestart , onscroll , onselectstart , onstart , ontimeerror
Collections
all , attributes , behaviorUrns , childNodes , children , filters
Behaviors
clientCaps , download , homePage , httpFolder , saveFavorite , saveHistory , saveSnapshot , time , time2 , userData
Styles
border-top-color margin-top width border-bottom-width padding-right padding border-right-width cursor zoom filter text-indent visibility font-style border-left-color margin-left text-autospace left layout-grid-line font-variant line-break background-position-x background-position-y background text-align border-bottom-color text-justify position background-position clear border-right-color border-right word-spacing top padding-left layout-grid-mode height padding-bottom right font-size border-bottom letter-spacing display float font-family margin-right text-underline-position behavior word-break text-transform background-repeat border-top-style layout-grid-char background-image bottom clip writing-mode text-decoration color border-style border-top-width border-top z-index margin-bottom page-break-after layout-flow font border-left-style border-width margin unicode-bidi background-color font-weight line-height border-bottom-style layout-grid layout-grid-type border-left-width border-left padding-top border-color border border-right-style
i三千
2003-01-03
打赏
举报
回复
好,又学了一招~
jzsh2000
2003-01-03
打赏
举报
回复
<body onLoad="marq.stop()">
<a href="#" onclick="marq.start()">开始滚动</a><br>
<a href="#" onclick="marq.stop()">停止</a>
<marquee behavior="scroll" scrollamount="2" scorlldelay="2" id="marq">
文字
</marquee>
</body>
c#
滚动
字幕
的实现
在C#中,利用Graphics.DrawString方法可以轻松实现
滚动
字幕
。通过调整DrawString方法中PointF对象的X坐标,即可控制文本的
滚动
效果。这是一个简单的水平
滚动
字幕
实例。
unity3d
滚动
字幕
本文介绍了在Unity3D中创建局部
滚动
字幕
的步骤。首先,创建一个camera和3D文本对象,并为文本设置新的layer。接着,调整camera的设置,使其只渲染text层,并使用正交投影。在运行时,通过添加脚本来控制文本的
滚动
速度,实现
字幕
的动态
滚动
效果。
滚动
字幕
的代码
本文提供了一套用于创建向上
滚动
字幕
的HTML代码示例,利用`
`标签,设置`behavior`为`scroll`,`direction`为`up`,并调整了宽度、高度、循环次数等属性,以实现
字幕
的自动
滚动
效果。鼠标悬停时,
字幕
会暂停,离开则继续
滚动
。
字幕
滚动
c语言程序,MFC实现
字幕
滚动
效果
这篇博客详细介绍了如何使用C++的MFC库来实现
字幕
滚动
效果。通过创建对话框工程,添加控件,设置定时消息,初始化字体,创建并控制
字幕
滚动
,以及设置
字幕
背景,实现了在Windows应用中动态
滚动
显示
字幕
的功能。
滚动
字幕
怎么制作,视频的
滚动
字幕
如何制作?
本文介绍了一种使用媒体梦工厂快速批量为视频添加
滚动
字幕
的方法。通过简单的几步设置,即可实现
字幕
的批量添加,包括
字幕
内容、字体、字号、颜色及
滚动
方向等。
CSS
61,122
社区成员
60,705
社区内容
发帖
与我相关
我的任务
CSS
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
复制链接
扫一扫
分享
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章