Help Center

Local Navigation

CSS property: marquee-play-count

Availability

BlackBerry® Device Software 4.7.1 or later

Usage

all non-replaced block-level elements, table cells, and inline-block elements

Inherited

no

Default value

1

The marquee-play-count property specifies the number of times the BlackBerry® Browser scrolls the content when you specify overflow: scroll for the element.

The marquee-play-count value is reset each time the block box is displayed within the BlackBerry Browser viewport. For example, if the browser displays the element's block box when it renders the page is rendered, the content begins to scroll for the specified number of iterations. If, when the user moves through the page, the block box moves out of and then back into the browser viewport, the marquee-play-count value is reset to the original value and the content begins to scroll again for the specified number of iterations.

Property values

Value

Description

number

This value specifies the number of iterations. This value can be any non-negative integer.

infinite

This value indicates that the content scrolls through the block box continuously while the content is visible in the browser viewport, or for 100 iterations, whichever is first.

Index


Was this information helpful? Send us your comments.