Implementation of announcement information modules on various information websites, BBS and other websites
Drag a repeater control and bind it to the information to be displayed in the database.
In repeater's
<ItemTemplate>... </ItemTemplate>
Add the marquee tag. The attributes of the marquee tag are set as follows:
<Marquee width = "100%" height = "150" behavior = "scroll" direction = "up" scrollamount = "1" onmousemove = "this. stop () "onmouseout =" this. start () "> displayed content </marquee>
Behavior
Set the scroll mode:
Alternate: Indicates rolling back and forth between the two ends.
Scroll: indicates that the scroll from one end to the other will be repeated.
Slide: Scroll from one end to the other end without repeating.
Direction
Set the scroll direction of the subtitles.
Up: up
Down: down
Left: left
Right: right
Scrollamount
Sets the rolling speed of subtitle activity, in pixels.
* For your personal opinions, please advise me if you have any good methods.