The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Object::DOM::Element::Marquee - HTML Object DOM Marquee Class

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. Though some browsers might still support it, 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.

INHERITANCE

    +-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +-------------------------------------+
    | 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

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

bgColor

This is the HTML attribute that reflects the background color through color name or hexadecimal value.

See also Mozilla documentation

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

height

This is the HTML attribute that reflects the height in pixels or percentage value.

See also Mozilla documentation

hspace

This is the HTML attribute that reflects the horizontal margin.

See also Mozilla documentation

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

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

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

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

vspace

This is the HTML attribute that reflects the vertical margin.

See also Mozilla documentation

width

This is the HTML attribute that reflects the width in pixels or percentage value.

See also Mozilla documentation

METHODS

Inherits methods from its parent HTML::Object::DOM::Element

start

Under perl, this does nothing and always returns undef obviously.

Under JavaScript, this starts scrolling of the marquee.

See also Mozilla documentation

stop

Under perl, this does nothing and always returns undef obviously.

Under JavaScript, this stops scrolling of the marquee.

See also Mozilla documentation

EVENT HANDLERS

None of the following events are fired automatically under perl, obviously, but you can trigger them yourself.

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

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

onstart

Fires when the marquee starts scrolling.

See also Mozilla documentation

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation, Mozilla documentation on marquee element

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.