Difference between revisions of "Template:AUC TURKEY"

Line 162: Line 162:
 
#scrollUp:hover {
 
#scrollUp:hover {
 
     margin-bottom: 0;
 
     margin-bottom: 0;
 +
}
 +
#temperature {
 +
    position: fixed;
 +
top:60px;
 +
left: 40px;
 +
    font-size: 40px;
 +
color:orange;
 
}
 
}
 
</style>
 
</style>
<script>
+
<script type="text/javascript">
 
/*!
 
/*!
 
  * scrollup v2.4.1
 
  * scrollup v2.4.1
Line 265: Line 272:
 
             $('body').animate({ backgroundColor: beginning_color }, 0);
 
             $('body').animate({ backgroundColor: beginning_color }, 0);
 
         } else { }
 
         } else { }
 +
var temperature=80*percentScrolled-24;
 +
$("#temperature").html(temperature+" &deg;C");
 
     });
 
     });
 
</script>
 
</script>
Line 340: Line 349:
 
</ul>
 
</ul>
 
</div>
 
</div>
 +
<div id="temperature">37 &deg;C</div>
 
<div id="contentContainer">
 
<div id="contentContainer">
 
</html>
 
</html>

Revision as of 09:05, 28 June 2015

37 °C