|
|
Line 42: |
Line 42: |
| </div> | | </div> |
| </footer> | | </footer> |
− | <script>
| |
− | /*********************************************** Popup Javascript *************************************/
| |
− | function openPopup(wrapperName, backgroundName, contentName) {
| |
− | (wrapperName).style.display="block";
| |
− | (backgroundName).style.display="block";
| |
− | (contentName).style.display="block";
| |
− | (wrapperName).style.opacity="1";
| |
− | (backgroundName).style.opacity="0.8";
| |
− | (contentName).style.opacity="1";
| |
− | $(".masthead").toggleClass("blurredBackground");
| |
− | $("#teamMembers").toggleClass("blurredBackground");
| |
− | $(".footer").toggleClass("blurredBackground");
| |
− | }
| |
− | function closePopup(wrapperName, backgroundName, contentName) {
| |
− | (wrapperName).style.opacity="0";
| |
− | (backgroundName).style.opacity="0";
| |
− | (contentName).style.opacity="0";
| |
− | $(".masthead").toggleClass("blurredBackground");
| |
− | $("#teamMembers").toggleClass("blurredBackground");
| |
− | $(".footer").toggleClass("blurredBackground");
| |
− | setTimeOut(function (){
| |
− | (wrapperName).style.display="none";
| |
− | (backgroundName).style.display="none";
| |
− | (contentName).style.display="none";
| |
− | }, 500);
| |
− | }
| |
− | </script>
| |
| | | |
| <!-- Custom JavaScript --> | | <!-- Custom JavaScript --> |