jQuery FocusPoint
Jonathon Menz
Wersja: 1.0.3
Numer wersji wtyczki
Strona wtyczki
Oficjalna witryna wtyczki
Github
Repozytorium Github
Wersja jQuery: jquery >=1.9
Wersja jQuery z którą współpracuje plugin
Licencja: MIT
Licencja
Zobacz więcej
jQuery FocusPoint
Autor | Jonathon Menz |
Wersja: | 1.0.3 |
Strona wtyczki: | Strona wtyczki |
Github: | Github |
Wersja jQuery: | jquery >=1.9 |
Licencja: | MIT |
Zgłoś błąd: | Zgłoś błąd |
Data opublikowania: | 2014-08-19 |
Historia wersji
Wersja | Data publikacji |
---|---|
1.0.0 | 2014-08-19 |
Tagi
Instalacja
- Biblioteki
- HTML
- JS
<link href="focuspoint.css" rel="stylesheet" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="jquery.focuspoint.min.js"></script>
<div class="focuspoint" data-focus-x="0.33" data-focus-y="-0.249" data-image-w="700" data-image-h="500">
<img src="http://jquery.netid.pl/media/sample/700x500/1.jpg" alt="" />
</div>
$(document).ready(function() {
$('.focuspoint').focusPoint();
});