Support for embedded PDF files is historically quite poor on devices like the iPhone and iPad. On the rare occasions you wish to disable swipe support, remove the TouchSwipe plugin code from the top of your topbox.js file and everything within the 'swipe support' comments towards the bottom of your topbox.js file. We are using the excellent TouchSwipe jQuery Plugin to accomplish this. Swipe support is already enabled by default there is nothing further you need to add. Left to navigate to the next gallery item. Swipe to the right to navigate to the previous gallery item or swipe to the Swipe support lets the end user navigate through a TopBox gallery using finger swipe gestures on their smartphone or tablet device. This, with next and previous buttons, and swipe support on touch screens:Ĭlick me! Example Image Gallery Example Gallery Example Gallery Example Gallery Example Gallery By giving two or more items a data-lightbox-gallery data attribute, you can effortlessly 'chain' multiple items together like The example TopBoxes presented above open and close singular items. Some of these video providers require additional code adding to your webpage or verification of your webpage link hence we don't detect these specific video providers automatically like we do with Brighteon, Dailymotion, YouTube or Vimeo. You may be wondering what's the difference between iframe and video-iframe lightbox types? The latter has its height permanently locked to 56.25% tall (16:9 ratio) making it good to use for embedded video types like Internet Archive, Veoh, Vidyard, Wistia, and many others. Video iFrames require a data-lightbox-type="video-iframe" attribute.įor example, our iFrame example above has the following markup:.Inline requires a data-lightbox-type="inline" attribute. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |