fluid-marquee JS Library Examples

Download Back To CSSScript.Com

A zero-dependency JS marquee library with smart overflow detection, drag-to-scrub, vertical scroll, and compositor-thread animation.

Announcement Wall

Two opposing rails form a bold entry point for campaign messages.

Featured
NOW OPEN
Weekend Studio Sessions
NEW DROP
Spring Motion Collection
DELIVERY
Complimentary over $75
Limited Editions
24 / 7 SUPPORT
Next-Day Dispatch
MEMBERS
Early Access Window

Basic Text Rail

A continuous line of store announcements at the default pace.

Basic
Free shipping on orders over $50
New arrivals every week
Members receive early access
30-day returns
Support available daily

Slow Pace

Relaxed movement for longer reading time.

speed="48"
Calm
Measured
Steady
Readable
Unhurried

High Velocity

Fast motion for short energetic messages.

speed="320"
Rapid
Flash
Express
Go
Rush

Reverse Direction

A negative speed sends content the other way.

speed="-128"
Reverse 01
Reverse 02
Reverse 03
Reverse 04
Reverse 05

Reverse Interactive

Drag either way, hover to pause, or click to hold.

Try It
Drag me
Hover pause
Click hold
Reverse resume
Flick momentum

Content That Fits

Short items rest in place until space becomes tight.

auto
Small
Centered
Still

Forced Motion

The same compact content moves continuously.

infinite
Small
Centered
Moving

Hover Pause

Move the pointer over the rail, then away to resume.

hover
Hover here
Temporary pause
Leave to resume
No click lock
Pointer only

Click Pause

Click the rail to lock it; click outside to release it.

click
Click this rail
Pause remains
Release outside
Touch ready
Hover passes

Hover and Click

Both pause modes operate together in one rail.

pausable
Hover pauses
Click locks
Outside unlocks
Smooth return
Two modes

Drag to Scrub

Pull or swipe the rail, then release for momentum.

draggable
Grab
Slide
Flick
Glide
Return

Drag and Pause

Scrub, throw, hover, or tap within the same sequence.

Touch
Drag rail
Tap toggle
Flick throw
Hover inspect
Momentum
Smooth return
Mouse ready
Touch ready

Slow Inspection Rail

Reduced speed and pause controls give longer messages room to breathe.

speed="64" + pausable
New material archive
Hover to inspect each detail
Crafted in small batches
Click to keep a message still
Delivery updates available
Extended reading time
Steady motion
Quiet rhythm

Controlled Playback

Use the button or interact with the rail directly.

API
Playback
Pause
Resume
Drag
Event State
Public Control
idle

Editable Sequence

Add and remove moving items while the rail runs.

API
Item 1
Item 2
Item 3

Color Tiles

Block elements can travel through the same rail.

Shapes
Lime
Mint
Coral
Gold
Pearl
Carbon

Image Strip

Drag a continuously moving selection of photographs.

Media
Misty shoreline Mountain valley Cliffside landscape Woodland path Mountain horizon Portrait in sunlight Dog resting outdoors

Narrow Container

A constrained rail remains smooth inside a compact content region.

max-width: 540px
Focused panel
Limited width
Still moving
Precise fit
Focused flow

Vertical Feed

A stacked ticker travels upward in a fixed-height window.

vertical
01 New Arrival
02 Dispatch
03 Restock
04 Archive
05 Member Drop

Vertical Interactive

Drag vertically, hover to pause, or click to hold.

Try It
Drag Vertical
Hover Pause
Click Hold
Flick Throw
Momentum
Touch Motion
Smooth Resume

Mixed Content

Text, images, and graphic tiles share a single moving timeline.

Composition
Editorial
Waterfall landscape
+
Collection 04
Castle landscape
Live