Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     // Apply the YoxView image viewer to the desired elements.
  2.    $('.yoxview-process').once('yoxview').yoxview({
  3.          titleAttribute: 'alt', //Drupal doesn't really use the picture title tag, so setting this to alt shows the alt tag in the info bar
  4.          autoHideMenu: 'false', //Keeps the X in the upper right corner, I think people can get confused if they don't see that X
  5.          titleDisplayDuration: 0, //The info bar is only flashed if hovered over, I don't think the alt tag needs to be displayed by default
  6.    });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement