Team:UB Indonesia/backup
From 2014.igem.org
(Difference between revisions)
Line 367: | Line 367: | ||
<div class="col-12 col-lg-4 col-sm-6"> | <div class="col-12 col-lg-4 col-sm-6"> | ||
<a href="#"><p><i class="icon icon-user"></i></p></a> | <a href="#"><p><i class="icon icon-user"></i></p></a> | ||
- | <h2 class="font-thin"><font color="#fff">Members</font></h2> | + | <h2 class="font-thin"><a class="open_fancybox" href="http://fancyapps.com/fancybox/demo/1_b.jpg"><font color="#fff">Members</font></a></h2> |
</div><!-- /col12 --> | </div><!-- /col12 --> | ||
<div class="col-12 col-lg-4 col-sm-6"> | <div class="col-12 col-lg-4 col-sm-6"> | ||
Line 450: | Line 450: | ||
}); | }); | ||
+ | |||
+ | $(".open_fancybox").click(function() { | ||
+ | |||
+ | $.fancybox.open([ | ||
+ | { | ||
+ | href : 'http://fancyapps.com/fancybox/demo/1_b.jpg', | ||
+ | title : 'Imunology', | ||
+ | |||
+ | }, | ||
+ | { | ||
+ | href : 'http://fancyapps.com/fancybox/demo/2_b.jpg', | ||
+ | title : '2nd title' | ||
+ | }, | ||
+ | { | ||
+ | href : 'http://fancyapps.com/fancybox/demo/3_b.jpg', | ||
+ | title : '3rd title' | ||
+ | } | ||
+ | ], { | ||
+ | padding : 0 | ||
+ | }); | ||
+ | |||
+ | return false; | ||
+ | |||
+ | }); | ||
</script> | </script> |
Revision as of 10:38, 16 October 2014