当前位置:网站首页>Web scrolling subtitles (marquee example)
Web scrolling subtitles (marquee example)
2022-07-28 06:20:00 【Haile learning】
stay webform Realize the riding light effect on the
The front desk :
<MARQUEE.stop().start() scrollamount=1 scrolldelay=1 direction= left border="1" style="width: 31%; height: 16px;">
<%=Structure%></MARQUEE>
backstage :
public string Structure = "";
On call Structure that will do
Dynamic implementation
The front desk :
<asp:Label runat="server" Text="Label"></asp:Label></div>
backstage :
Label1.Text += "<marquee.stop().start() scrollamount=1 scrolldelay=15 direction= right >";
for (int i = 0; i < dv.Table.Rows.Count; i++){
Label1.Text += string.Format("<a href=\"{0}\">{1}</a> " + " ", "Default2.aspx?id=" + dv.Table.Rows[i][0].ToString(), dv.Table.Rows[i][3].ToString());
}
Label1.Text += "</marquee>";
Marquee Basic grammar
<marquee> ... </marquee>
Setting of mobile attribute , This movement is not limited to text , It can also be applied to pictures , Forms, etc
Direction
<direction=#> #=left, right ,up ,down <marquee direction=left> Move from right to left !</marquee>
The way
<bihavior=#> #=scroll, slide, alternate <marquee behavior=scroll> Walk around in circles !</marquee>
<marquee behavior=slide> Just walk once and rest !</marquee>
<marquee behavior=alternate> Walk back and forth </marquee>
loop
<loop=#> #= frequency ; If not specified, the loop will not stop (infinite) <marquee loop=3 width=50% behavior=scroll> Just go 3 Trip to </marquee> <P>
<marquee loop=3 width=50% behavior=slide> Just go 3 Trip to </marquee>
<marquee loop=3 width=50% behavior=alternate> Just go 3 Trip to !</marquee>
Speed
<scrollamount=#> <marquee scrollamount=20> La la la , I walk so fast !</marquee>
Time delay
<scrolldelay=#> <marquee scrolldelay=500 scrollamount=100> La la la , Let me take a step , Stop. Stop !</marquee>
appearance (Layout) Set up
Alignment mode (Align)
<align=#> #=top, middle, bottom <font size=6>
<marquee align=# width=400> La la la , I can move !</marquee>
</font>
Background color
<bgcolor=#> #=rrggbb 16 Decimal numbers , Or the following predefined colors :
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua <marquee bgcolor=aaaaee> Color !</marquee>
area
<height=# width=#> <marquee height=40 width=50% bgcolor=aaeeaa> area !</marquee>
blank
(Margins)<hspace=# vspace=#>
<marquee hspace=20 vspace=20 width=150 bgcolor=ffaaaa align=middle> area !</marquee>
Direction
<direction=#> #=left, right ,up ,down <marquee direction=left> Move from right to left !</marquee>
The way
<bihavior=#> #=scroll, slide, alternate <marquee behavior=scroll> Walk around in circles !</marquee>
<marquee behavior=slide> Just walk once and rest !</marquee>
<marquee behavior=alternate> Walk back and forth </marquee>
loop
<loop=#> #= frequency ; If not specified, the loop will not stop (infinite) <marquee loop=3 width=50% behavior=scroll> Just go 3 Trip to </marquee> <P>
<marquee loop=3 width=50% behavior=slide> Just go 3 Trip to </marquee>
<marquee loop=3 width=50% behavior=alternate> Just go 3 Trip to !</marquee>
Speed
<scrollamount=#> <marquee scrollamount=20> La la la , I walk so fast !</marquee>
Time delay
<scrolldelay=#> <marquee scrolldelay=500 scrollamount=100> La la la , Let me take a step , Stop. Stop !</marquee>
appearance (Layout) Set up
Alignment mode (Align)
<align=#> #=top, middle, bottom <font size=6>
<marquee align=# width=400> La la la , I can move !</marquee>
</font>
Background color
<bgcolor=#> #=rrggbb 16 Decimal numbers , Or the following predefined colors :
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua <marquee bgcolor=aaaaee> Color !</marquee>边栏推荐
- EXFO 730c optical time domain reflectometer only has IOLm optical eye to upgrade OTDR (open OTDR permission)
- Communication between DSP and FPGA
- 硬件电路设计学习笔记1--温升设计
- (PHP graduation project) based on PHP online travel website management system to obtain
- How does fluke dtx-1800 test cat7 network cable?
- USB Network Native Driver for ESXi更新到支持ESXi7.0 Update 2
- 弹出消息对话框的方法
- MAE 掩码自编码是可扩展的学习
- 关于接触器线圈控制电路设计分析
- 线缆测试中遇到苦恼---某厂商案例分析?
猜你喜欢

Model inversion attacks that exploit confidence information on and basic countermeasures

arduino 读取模拟电压_MQ2气体/烟雾传感器如何工作及其与Arduino接口

使用PowerCli来创建自定义ESXi ISO镜像

开关电源电路EMI设计在layout过程中注意事项

Apache log4j arbitrary code execution replication

When to replace jack socket for dsx-pc6 jumper module?

杭州某公司福禄克FLUKE DTX-SFM2单模模块-修复案例

三、OpenVINO实战:图像分类

Clustering of machine learning

Getting started with latex
随机推荐
Web滚动字幕(MARQUEE示例)
CVE_ 2017_ 11882 vulnerability recurrence (Metasploit opens NT remote desktop to add an account)
Never leave its origin - bluecms1.6 vulnerability of the controller's shooting range
DSX-PC6跳线模块,何时更换JACK插座?
ESXi Arm Edition version 1.10更新
TCL和ELTCL?CDNEXT和CMRL?
Summary of command injection bypass methods
Agilent Agilent e5071 test impedance and attenuation are normal, except crosstalk ng--- Repair plan
Uniapp problem: "navigationbartextstyle" error: invalid prop: custom validator check failed for prop "Navigator
Nanjing University of Posts and Telecommunications CTF topic writeup (I) including topic address
Geek challenge 2019-sql injection five questions PW
论福禄克DTX-1800如何测试CAT7网线?
CalendarExtender控件的中文显示问题
Common CTF encryption methods JS
What are the general wechat applet development languages?
Transformer 自注意力机制 及完整代码实现
A comparative study of backdoor attack and counter sample attack
ESXi 7.0 Update 1c中加入的systemMediaSize启动选项
Clustering of machine learning
USB Network Native Driver for ESXi更新到支持ESXi7.0.1