ZooWebSite/2015/Scripts/Welcome

Version 4 (modified by nickboz, 9 years ago)

--

<script src="/js/jquery-1.10.2.js"></script> <script src="/js/bootstrap.js"></script> <script> $('.navbar-lower').affix({offset: {top: 60}}); $('[data-toggle="tooltip"]').tooltip(); $(function(){ var shrinkHeader = 80; $(window).scroll(function() {

var scroll = getCurrentScroll(); if ( scroll >= shrinkHeader ) {

$('.navbar-brand').addClass('navbar-shrink'); $('.navbar-inverse').addClass('navbar-colored'); $('.navbar-nav').css({"margin":"0 0 0 15px"}); $(".sun").show();

$('.navbar-lower').addClass('navbarlower-colored'); } else{

$('.navbar-brand').removeClass('navbar-shrink'); $('.navbar-inverse').removeClass('navbar-colored'); $('.navbar-nav').css({"margin":"25px 0 0 25px"}); $(".sun").hide(); $('.navbar-lower').removeClass('navbarlower-colored');

}

}); function getCurrentScroll() {return window.pageYOffset;} });

$(window).load(function(){

$('.topr').prepend('<li><a id="volb" class="vc hello" href="#" data-toggle="tooltip" data-placement="left" title="Toogle music"><i class="glyphicon glyphicon-volume-off"></i></a></li>'); $('#volb').tooltip(); $( ".ct" ).animate({opacity: 1}, 5000, function() {$(".bird").show();birdSound.play();}); var birdSound = document.getElementById('birdsound'); var birdTxt=document.getElementById('birdc'); birdTxt.onmouseover=function(){ birdSound.play();

return false; };

function toggleSound() {

var audioElem = document.getElementById('africasound'); if (audioElem.paused) {

audioElem.play();

$('#africasound').volume=0.3; $('#volb').html('<i class="glyphicon glyphicon-volume-up"></i>')

} else {

audioElem.pause(); $('#volb').html('<i class="glyphicon glyphicon-volume-down"></i>');

}

$("#africasound").bind('ended', function(){

$('#volb').html('<i class="glyphicon glyphicon-volume-down"></i>')

});

}

$("#volb").click(function() {

toggleSound(); });

});

(function(i,s,o,g,r,a,m){iGoogleAnalyticsObject?=r;i[r]=i[r](i[r].q=i[r].q
function(){
[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-64467652-1', 'auto'); ga('send', 'pageview');

</script>

Search

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