HTML::O...:Marquee(3)
π NAME π
HTML::Object::DOM::Element::Marquee(3) β which the header squishes into HTML::O...:Marquee(3) like a little gremlin, but we know her β is from the User Contributed Perl Documentation and is literally the HTML Object DOM Marquee Class. Bestie, we are so back in 1998, but make it Perl. π
β¨ SYNOPSIS β¨
use HTML::Object::DOM::Element::Marquee;
my $marquee = HTML::Object::DOM::Element::Marquee->new ||
die( HTML::Object::DOM::Element::Marquee->error, "\n" );
πΈ VERSION πΈ
v0.2.0
π DESCRIPTION π
Deprecated: this feature is no longer recommended. Some browsers might still support it, but it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. π
No cap, this is giving βmuseum exhibit, do not touch,β but the full tea is right there.
𧬠INHERITANCE π§¬
The way that this class is stacked is iconic, honestly:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-------------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Marquee |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-------------------------------------+
π§Έ PROPERTIES π§Έ
Inherits properties from its parent HTML::Object::DOM::Element. Slay, lineage.
behavior
This is the HTML attribute that reflects how the text is scrolled within the marquee. Possible values are "scroll", "slide" and "alternate". If no value is specified, the default value is "scroll".
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/behavior
bgColor
This is the HTML attribute that reflects the background color through color name or hexadecimal value.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/bgColor
direction
This is the HTML attribute that reflects the direction of the scrolling within the marquee. Possible values are "left", "right", "up" and "down". If no value is specified, the default value is "left".
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/direction
height
This is the HTML attribute that reflects the height in pixels or percentage value.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/height
hspace
This is the HTML attribute that reflects the horizontal margin.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/hspace
loop
This is the HTML attribute that reflects the number of times the marquee will scroll. If no value is specified, the default value is "undef" ("β1" under JavaScript), which means the marquee will scroll continuously.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/loop
scrollAmount
This is the HTML attribute that reflects the amount of scrolling at each interval in pixels. The default value is 6.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/scrollAmount
scrollDelay
Sets the interval between each scroll movement in milliseconds. The default value is 85. Note that any value smaller than 60 is ignored and the value 60 is used instead, unless trueSpeed is true.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/scrollDelay
trueSpeed
This is the HTML attribute that reflects whether to ignore scrollDelay small value. By default, scrollDelay values lower than 60 are ignored. If trueSpeed is true, then those values are not ignored.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/trueSpeed
vspace
This is the HTML attribute that reflects the vertical margin.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/vspace
width
This is the HTML attribute that reflects the width in pixels or percentage value.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/width
π οΈ METHODS π οΈ
Inherits methods from its parent HTML::Object::DOM::Element. Periodt.
start
Under perl, this does nothing and always returns "undef" β obviously. Under JavaScript, this starts scrolling of the marquee.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/start
stop
Under perl, this does nothing and always returns "undef" β obviously. Under JavaScript, this stops scrolling of the marquee.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/stop
π EVENT HANDLERS π
None of the following events are fired automatically under perl, obviously, but you can trigger them yourself. Main character energy: you have to make the plot happen. π
onbounce
Fires when the marquee has reached the end of its scroll position. It can only fire when the behavior attribute is set to alternate.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/onbounce
onfinish
Fires when the marquee has finished the amount of scrolling that is set by the loop attribute. It can only fire when the loop attribute is set to some number that is greater than 0.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/onfinish
onstart
Fires when the marquee starts scrolling.
See also Mozilla documentation β https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement/onstart
π AUTHOR π
Jacques Deguest <jack@deguest.jp>
π SEE ALSO π
- Mozilla documentation β
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMarqueeElement - Mozilla documentation on marquee element β
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee
π COPYRIGHT & LICENSE π
Copyright(c) 2022 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay bye bestie, this page is signing off from perl v5.42.2, dated 2026-02-15 β and the marquee has officially left the chat. π«Άπβ¨
π¦ where this page comes from
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms