Methods

getContent()
Returns the actual content of the Marquee

This method does not accept any arguments

$(‘.str’).liMarquee(‘getContent’);

addContent(string)
Adds to marquee the new content

string

Type: string
The new content.

$(‘.str’).liMarquee(‘addContent’,’New Content’);

removeContent()
Remove from marquee all content

This method does not accept any arguments

$(‘.str’).liMarquee(‘removeContent’);

changeOptions(options)
Restarts line with the new settings

options

Type: object
The new options.

$(‘.str’).liMarquee(‘changeOptions’,{direction:’right’,circular:false});

destroy()
Removes all the functionality of Marquee. It returns the element in the condition before the initialization of the plug-in

This method does not accept any arguments

$(‘.str’).liMarquee(‘destroy’);

stop()
Stop movement Marquee

This method does not accept any arguments

This method does not accept any arguments

$(‘.str’).liMarquee(‘stop’);

start(delay)
Start movement Marquee

options

Type: Number
The delay before starting the animation, ms. Default Value: 0

$(‘.str’).liMarquee(‘start’, 300);

resetPosition()
Reset start end end position of marquee Animation

This method does not accept any arguments

$(‘.str’).liMarquee(‘resetPosition’);