Skorzystałem z galerii do której tutorial znajduje się pod adresem http://tutorialzine.com/2009/11/hovering-g...ry-css3-jquery/.
Wszystko działa super pod chromem, ale pod IE7 oczywiście zdjęcia nie przekręcają się ponieważ jak wiadomo IE to IE i nie lubi normalnych rozwiązań

znalazłem w komentarzach rozwiązanie do tego problemu, a mianowicie:
Cytat
To support the Internet Explorer Browser 7.0, we have to use the following method:
filter: progid:DXImageTransform.Microsoft.Matrix()
To make things working, add the following php-code, to calculate the cos and sin:
Then we can use it in the style property:
Full code:
Hope, thats helps.
filter: progid:DXImageTransform.Microsoft.Matrix()
To make things working, add the following php-code, to calculate the cos and sin:
$deg2radians = pi() * 2 / 360; $rad = $rot * $deg2radians; $cosTheta = cos($rad); $sinTheta = sin($rad);
Then we can use it in the style property:
filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod=\’auto expand\’, M11=’.$cosTheta.’,M12=’.-$sinTheta.’,M21=’.$sinTheta.’,M22=’.$cosTheta.’);
Full code:
Hope, thats helps.
Dodałem obliczanie cosinusów i sinusów do kodu php galerii, tylko nie wiem w którym miejscu wstawić styl. Do arkusza dodałem
* html .pic{ filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod=\’auto expand\’, M11=’.$cosTheta.’,M12=’.-$sinTheta.’,M21=’.$sinTheta.’,M22=’.$cosTheta.’); }
ale niestety nie działa.
Pozdrawiam!