Team:Shenzhen SFLS

From 2014hs.igem.org

(Difference between revisions)
(EnvHasBeenSetUp)
Line 163: Line 163:
   </div>
   </div>
   <script>
   <script>
-
     function NCOut () {
+
     function appWrapper () {
-
       var NCComs = $('#navigation-circle').children();
+
       function NCOut () {
-
      NCComs.addClass('animated bounceOutDown');
+
        var NCComs = $('#navigation-circle').children();
-
      NCComs.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
+
        NCComs.addClass('animated bounceOutDown');
-
      $('#navigation-circle')[0].setAttribute('style', 'display: none;');
+
        NCComs.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
-
      $('#tour')[0].removeAttribute('style');
+
        $('#navigation-circle')[0].setAttribute('style', 'display: none;');
 +
        $('#tour')[0].removeAttribute('style');
 +
        });
 +
      }
 +
   
 +
      $('#banner').on('click', function () {
 +
        NCOut();
       });
       });
     }
     }
-
 
+
 
-
     $('#banner').on('click', function () {
+
     if (EnvHasBeenSetUp)
-
       NCOut();
+
       appWrapper();
-
    })
+
   </script>
   </script>

Revision as of 12:45, 20 June 2014

{ "title" : "Main | SFLS" }