Changes between Version 1 and Version 2 of ZooWebSite/2015/Footer


Ignore:
Timestamp:
Jan 6, 2015, 3:29:47 PM (10 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooWebSite/2015/Footer

    v1 v2  
    6565        <!-- /container -->
    6666
    67 <script src="js/jquery-1.10.2.js"></script>
    68 <script src="js/bootstrap.js"></script>
    69 </body>
    70 <script>
    71 $(function(){
    72 var shrinkHeader = 80;
    73 $(window).scroll(function() {
    74         var scroll = getCurrentScroll();
    75         if ( scroll >= shrinkHeader ) {
    76                 $('.navbar-brand').addClass('navbar-shrink');
    77                 $('.navbar-inverse').addClass('navbar-colored');
    78                 $('.navbar-nav').css({"margin":"0 0 0 15px"});
    79                 $(".sun").show();
    80         $('.navbar-lower').addClass('navbarlower-colored');
    81         }
    82         else{
    83                 $('.navbar-brand').removeClass('navbar-shrink');
    84                 $('.navbar-inverse').removeClass('navbar-colored');
    85                 $('.navbar-nav').css({"margin":"25px 0 0 25px"});
    86                 $(".sun").hide();
    87                 $('.navbar-lower').removeClass('navbarlower-colored');
    88         }
    89 });
    90 function getCurrentScroll() {
    91         return window.pageYOffset;
    92         }
    93 });
    9467
    95 $('.navbar-lower').affix({
    96   offset: {top: 60}
    97 });     
    98 
    99 $(window).load(function(){
    100   $( ".ct" ).animate({
    101       opacity: 1,
    102      }, 5000, function() {
    103      $(".bird").show();
    104       birdSound.play();
    105      });
    106    var birdSound = document.getElementById('birdsound');
    107    var birdTxt=document.getElementById('birdc');
    108    birdTxt.onmouseover=function(){
    109  birdSound.play();
    110  return false;
    111 };
    112  
    113 africa=document.getElementById("africasound");
    114 africa.volume=0.3;
    115  
    116 $('.a-btn-2, .tx').hover(function(){
    117         $('.cblock').toggleClass('furhover')
    118         })
    119 });
    120 </script>
    12168</html>

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png