Difference between revisions of "Team:Lethbridge HS/Team"
Line 1: | Line 1: | ||
− | |||
<html lang="en"> | <html lang="en"> | ||
<head> | <head> | ||
Line 12: | Line 11: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
− | + | $(document).ready(function() { | |
+ | $('.bio-slide').addClass('removeTeamPopUpStart'); | ||
+ | $('.bio-slide').addClass('removeTeamPopUp'); | ||
+ | $('.team-member img').click(function(){ | ||
+ | |||
+ | var parent = $(this).parent(); | ||
+ | var popUp = $(parent).next(); | ||
+ | var selected_member = $(this).data('type'); | ||
+ | |||
+ | |||
+ | $('.bio-slide.'+selected_member+'').removeClass('removeTeamPopUp'); | ||
+ | $('.bio-slide.'+selected_member+'').removeClass('removeTeamPopUpStart'); | ||
+ | $('.bio-slide.'+selected_member+'').addClass('activeTeamPopUp'); | ||
+ | |||
+ | $('.dark-cover').addClass('display-dark-cover'); | ||
+ | |||
+ | }); | ||
+ | |||
+ | $('.exit_bio').click(function(){ | ||
+ | |||
+ | var parent = $(this).parent(); | ||
+ | var popUp = $(parent).next(); | ||
+ | var selected_member = $(this).data('type'); | ||
+ | |||
+ | |||
+ | $('.bio-slide.'+selected_member+'').addClass('removeTeamPopUp'); | ||
+ | |||
+ | $('.dark-cover').removeClass('display-dark-cover'); | ||
+ | |||
+ | }); | ||
jQuery(document).ready(function() { | jQuery(document).ready(function() { | ||
Revision as of 04:30, 6 September 2015
Team
An overview of our project
School
Government
Community
SOmething