Multiple Panels

Initiate multiple Scotch Panels with a single call.

                
                $('.one-of-many').scotchPanel({
                    clickSelector: '.toggle-panels',
                    containerSelector: '.panel-container', // Selects the nearest matching container
                    direction: 'right',
                    duration: 300,
                    transition: 'ease-in-out',
                    enableEscapeKey: true
                });
                
                

Hello

One

Example

World

Two

Example