Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

boh

  • Loading branch information...
commit 9f647e3681e4921e528bfeb2c947a5b8d3945fd6 1 parent 5e6c4f8
Marcello Romanelli authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/applications/weather/js/ws_small.js
4 public/applications/weather/js/ws_small.js
View
@@ -45,7 +45,7 @@ $(function() {
function updateFirst(response,cityname){
var city = $("#first");
- city.animate({"margin-left": "-525px"},'slow',function(){
+ city.animate({"margin-left": "-525px"},5000,function(){
$("#first_img").attr("src","css/icons/"+response.condition.code +".png");
freeCity($("#first_location").html());
$("#first_location").html(cityname);
@@ -57,7 +57,7 @@ function updateFirst(response,cityname){
$("#first_mintemp").html(response.forecast[0].low_temperature + "º");
});
city.css({"margin-bottom": 10});
- city.animate({"margin-left": 25},'fast');
+ city.animate({"margin-left": "25px"},'fast');
city.effect("bounce", {direction:'left', times:3 }, 300);
}
Please sign in to comment.
Something went wrong with that request. Please try again.