Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swipebox: Stop control bars from hiding

Tags:

jquery

I am using the Swipebox jQuery lightbox.

Under normal circumstances the title of the image and the cursor arrows slide off the top and bottom of the page when swiping through the gallery.

Basically, I want the image title and the control arrows to stay in place (not slide off the page). Does anyone know how to do this?

like image 271
David Brooks Avatar asked Dec 15 '22 04:12

David Brooks


1 Answers

It is in the intial settings, just set it like this:

hideBarsDelay : 3000, // 0 to always show caption and action bar

see https://github.com/brutaldesign/swipebox#options

like image 124
Kout Avatar answered Jan 09 '23 16:01

Kout