Se afișează postările cu eticheta compatibilitate. Afișați toate postările
Se afișează postările cu eticheta compatibilitate. Afișați toate postările

Transitions and transformations with css3 and jquery fallback for ie

.home-section:hover img{
-webkit-transform: rotate(315deg) scale(0.5);
 -moz-transform: rotate(315deg) scale(0.5);
 -o-transform: rotate(315deg) scale(0.5); 
-ms-transform:scale(0.5,0.5) rotate(315deg) ; /* the order is important */
 transform: rotate(315deg) scale(0.5); /* future standard */
-webkit-transition: all 1s ease-in;
-moz-transition: all 1s ease-in;
-o-transition: all 1s ease-in; 
-ms-transition: all 1s ease-in; /* future IE 10 */
transition: all 1s ease-in; /* future standard */
}

.home-section img{
-webkit-transition: all 2s ease-in-out;
 -moz-transition: all 2s ease-in-out;
 -o-transition: all 2s ease-in-out;
 -ms-transition: all 2s ease-in-out; /* future IE 10 */
transition: all 2s ease-in-out; /* future standard */
}
For IE 9:
 
 <!--[if lte IE 9]>
  <script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
</script>
<script type="text/javascript" src="jquery-css-transform.js"></script>
<script type="text/javascript" src="jquery-animate-css-rotate-scale.js">
</script>
<script type="text/javascript">
$().ready(function() {
$('.home-section').hover(function () {								   
$(this).find('img').animate({rotate: '+=315deg', scale: '-=0.5'}, 1000);
},function () {								   
$(this).find('img').animate({rotate: '-=315deg', scale: '+=0.5'}, 2000);
});
});			
	</script>
   <![endif]-->  
  
   

Where to find jquery-animate-css-rotate-scale.js :
http://www.zachstronaut.com/posts/2009/08/07/jquery-animate-css-rotate-scale.html Thanks Zach!

More on CSS3 Transitions and transformations:
http://msdn.microsoft.com/en-us/library/ff974936%28v=vs.85%29.aspx
http://css3please.com/

Se zvoneste ca ie6 se va retrage

Mai devreme sau mau tarziu ie6 se va retrage din competitie.



Iata ce propun altii:
http://iedeathmarch.org/

Acum sa ne uitam si pe statistici:



Sursa www.w3schools.com/browsers/browsers_stats.asp

Scaderea procentului de la 55.7% la 0.1% al ie5-ului din 2002 in 2008 (5ani si jumate) ne duce la concluzia ca si ie6 va avea aceeasi evolutie sau poate una ceva mai rapida, ca urmare a numarului mare de noi browsere; cum procentul de 55.6% a fost atins de ie6 in septembrie 2006, ne putem astepta la o scadere a procentului de utilizare sub 1% in anul 2011 (si sub 3% in 2010).

Daca vreti sa vedeti si cateva statistici de la noi din tara, www.trafic.ro va ofera procentaje asemanatoare:



statistici furnizate de trafic.ro pentru siteul romanesc gsp.ro (Gazeta Sporturilor)

browser archive

Visit http://browsers.evolt.org/ It is a browser archive where you'll
> find old copies of all the main browsers. They provide also standalone
> copies of ie versions you can
> install without overwriting previous installed versions.