Difference between revisions of "Team:Hong Kong UCCKE/HP/Silver"

Line 91: Line 91:
  
 
$('.popup').magnificPopup({
 
$('.popup').magnificPopup({
 +
  delegate: 'a', // child items selector, by clicking on it popup will open
 
   type: 'image',
 
   type: 'image',
 +
  gallery: {
 +
    enabled:true
 +
  },
 +
  image: {
 +
    titleSrc: 'title'
 +
  },
 
   callbacks: {
 
   callbacks: {
 
     open: function() {
 
     open: function() {
Line 99: Line 106:
 
       $('#top_menu_14').fadeIn();
 
       $('#top_menu_14').fadeIn();
 
     }
 
     }
  },
 
  image: {
 
    titleSrc: 'title'
 
 
   },
 
   },
 
});</script>
 
});</script>
  
 
</html>
 
</html>

Revision as of 12:29, 31 October 2017