HTML::O...:Marquee(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– 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 πŸ”—

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