Demo page: move the mouse pointer over the example divs.
$('#div-id').travelling();
Travelling with vertical movement
$( '#travelling-1' ).travelling();
Travelling of multiple elements
$( '#travelling-2' ).travelling({ inactive_zone: 10, // pixels arround div center where the velocity = 0 max_velocity: 100, // max velocity fps: 20 // frames per second });
Traveling of a simple list
$( '#travelling-3' ).travelling({ max_velocity: 10 // max velocity });