Home › Forums › JavaScript › Best practices for dealing with lightbox effects on responsive sites? › Re: Best practices for dealing with lightbox effects on responsive sites?
I suppose they aren’t required: It’s an aesthetic the client really likes.
[Example](http://iamshawnrice.com/demo/hgld/portfolio/the-rock-tenor/ “Example”)
Built with [this code](http://pastebin.com/HXyfCtwX “”)
I am using conditional php to draw 2 galleries from the same image uploads: using [orangebox](http://orangebox.davidpaulhamilton.net/ “”) for full and tablet sizes and [photoswipe](http://www.photoswipe.com/ “”) for the mobile galleries.
The issue comes to videos. Ideally, I would like to fire a lightbox for full/tab sizes and then use the native video handling for mobile (using vimeo+ to handle the media).