The HTMLMarqueeElement interface provides methods to manipulate elements.
The HTMLMarqueeElement interface provides methods to manipulate elements.
(behavior this)
Property.
Sets how the text is scrolled within the marquee. Possible values scroll, slide and alternate. If no value is specified, the default is scroll.
Property. Sets how the text is scrolled within the marquee. Possible values scroll, slide and alternate. If no value is specified, the default is scroll.
(bg-color this)
Property.
Sets the background color through color name or hexadecimal value.
Property. Sets the background color through color name or hexadecimal value.
(direction this)
Property.
Sets the direction of the scrolling within the marquee. Possible are left, right, up and down. If no value is specified, the default is left.
Property. Sets the direction of the scrolling within the marquee. Possible are left, right, up and down. If no value is specified, the default is left.
(height this)
Property.
Sets the height in pixels or percentage value.
Property. Sets the height in pixels or percentage value.
(hspace this)
Property.
Sets the horizontal margin.
Property. Sets the horizontal margin.
(loop this)
Property.
Sets the number of times the marquee will scroll. If no value specified, the default value is −1, which means the marquee will continuously.
Property. Sets the number of times the marquee will scroll. If no value specified, the default value is −1, which means the marquee will continuously.
(onbounce this)
Property.
Fires when the marquee has reached the end of its scroll position. can only fire when the behavior attribute is set to alternate.
Property. Fires when the marquee has reached the end of its scroll position. can only fire when the behavior attribute is set to alternate.
(onfinish this)
Property.
Fires when the marquee has finished the amount of scrolling that set by the loop attribute. It can only fire when the loop attribute set to some number that is greater than 0.
Property. Fires when the marquee has finished the amount of scrolling that set by the loop attribute. It can only fire when the loop attribute set to some number that is greater than 0.
(onstart this)
Property.
Fires when the marquee starts scrolling.
Property. Fires when the marquee starts scrolling.
(scroll-amount this)
Property.
Sets the amount of scrolling at each interval in pixels. The value is 6.
Property. Sets the amount of scrolling at each interval in pixels. The value is 6.
(scroll-delay this)
Property.
Sets the interval between each scroll movement in milliseconds. default value is 85. Note that any value smaller than 60 is ignored the value 60 is used instead, unless trueSpeed is true.
Property. Sets the interval between each scroll movement in milliseconds. default value is 85. Note that any value smaller than 60 is ignored the value 60 is used instead, unless trueSpeed is true.
(set-behavior! this val)
Property.
Sets how the text is scrolled within the marquee. Possible values scroll, slide and alternate. If no value is specified, the default is scroll.
Property. Sets how the text is scrolled within the marquee. Possible values scroll, slide and alternate. If no value is specified, the default is scroll.
(set-bg-color! this val)
Property.
Sets the background color through color name or hexadecimal value.
Property. Sets the background color through color name or hexadecimal value.
(set-direction! this val)
Property.
Sets the direction of the scrolling within the marquee. Possible are left, right, up and down. If no value is specified, the default is left.
Property. Sets the direction of the scrolling within the marquee. Possible are left, right, up and down. If no value is specified, the default is left.
(set-height! this val)
Property.
Sets the height in pixels or percentage value.
Property. Sets the height in pixels or percentage value.
(set-hspace! this val)
Property.
Sets the horizontal margin.
Property. Sets the horizontal margin.
(set-loop! this val)
Property.
Sets the number of times the marquee will scroll. If no value specified, the default value is −1, which means the marquee will continuously.
Property. Sets the number of times the marquee will scroll. If no value specified, the default value is −1, which means the marquee will continuously.
(set-onbounce! this val)
Property.
Fires when the marquee has reached the end of its scroll position. can only fire when the behavior attribute is set to alternate.
Property. Fires when the marquee has reached the end of its scroll position. can only fire when the behavior attribute is set to alternate.
(set-onfinish! this val)
Property.
Fires when the marquee has finished the amount of scrolling that set by the loop attribute. It can only fire when the loop attribute set to some number that is greater than 0.
Property. Fires when the marquee has finished the amount of scrolling that set by the loop attribute. It can only fire when the loop attribute set to some number that is greater than 0.
(set-onstart! this val)
Property.
Fires when the marquee starts scrolling.
Property. Fires when the marquee starts scrolling.
(set-scroll-amount! this val)
Property.
Sets the amount of scrolling at each interval in pixels. The value is 6.
Property. Sets the amount of scrolling at each interval in pixels. The value is 6.
(set-scroll-delay! this val)
Property.
Sets the interval between each scroll movement in milliseconds. default value is 85. Note that any value smaller than 60 is ignored the value 60 is used instead, unless trueSpeed is true.
Property. Sets the interval between each scroll movement in milliseconds. default value is 85. Note that any value smaller than 60 is ignored the value 60 is used instead, unless trueSpeed is true.
(set-true-speed! this val)
Property.
By default, scrollDelay values lower than 60 are ignored. If is true, then those values are not ignored.
Property. By default, scrollDelay values lower than 60 are ignored. If is true, then those values are not ignored.
(set-vspace! this val)
Property.
Sets the vertical margin.
Property. Sets the vertical margin.
(set-width! this val)
Property.
Sets the width in pixels or percentage value.
Property. Sets the width in pixels or percentage value.
(start this & args)
Method.
Starts scrolling of the marquee.
Method. Starts scrolling of the marquee.
(stop this & args)
Method.
Stops scrolling of the marquee.
Method. Stops scrolling of the marquee.
(true-speed this)
Property.
By default, scrollDelay values lower than 60 are ignored. If is true, then those values are not ignored.
Property. By default, scrollDelay values lower than 60 are ignored. If is true, then those values are not ignored.
(vspace this)
Property.
Sets the vertical margin.
Property. Sets the vertical margin.
(width this)
Property.
Sets the width in pixels or percentage value.
Property. Sets the width in pixels or percentage value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close