Slider animation depending on window size
<p>I was wondering if it is possible to make "animation" to go to specific (fixed) position depending on screen resolution (window size)?
Because if I resize window or website is opened in other resolution screen, animation doesn't fit properly to site. Fluid design would solve the problem, but I don't have time for making that kind of changes..
Thank you in advance!</p>

<pre><code>$("img.topimage").hide(); 

  // slide in 
  var car = $('&lt;img src="images/ccc.png" /&gt;'); 

     car.css('position', 'absolute'); 
     car.css('top', 123); 
     car.css('left', -690); 
     car.css('z-index', 1000); 

  $('html').append(car); 

  car.animate({ 
     left: '+=1025'// 
  }, { 
     duration: 2000, 
     complete: function() { 
        create_slides(); 

        $("img.topimage").show(); 

        car.remove(); 
     } 
  } 
  );  
</code></pre>
