TailorFit
Rudolf Theunissen
Wersja: 1.5.9
Numer wersji wtyczki
Strona wtyczki
Oficjalna witryna wtyczki
Github
Repozytorium Github
Wersja jQuery: jquery >=1.5
Wersja jQuery z którą współpracuje plugin
Licencja: MIT
Licencja
Zobacz więcej
TailorFit
Autor | Rudolf Theunissen |
Wersja: | 1.5.9 |
Strona wtyczki: | Strona wtyczki |
Github: | Github |
Wersja jQuery: | jquery >=1.5 |
Licencja: | MIT |
Data opublikowania: | 2013-04-19 |
Historia wersji
Wersja | Data publikacji |
---|---|
1.5.9 | 2013-04-19 |
1.5.7 | 2013-04-19 |
1.5.5 | 2013-04-19 |
Tagi
Instalacja
- JS
$('#parent > img').load(function(){
// maxWidth, maxHeight, maintain aspect ratio
$(this).tailorfit({
maxWidth : this.width,
maxHeight : this.height,
ratio : this.width / this.height
});
});