forked from nihilist/blog-contributions
42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
|
$(function() {
|
||
|
|
||
|
|
||
|
$('.blue').hoverZoom({
|
||
|
overlayColor: '#3498db',
|
||
|
zoom: 0
|
||
|
});
|
||
|
|
||
|
$('.green').hoverZoom({
|
||
|
overlayColor: '#1abc9c',
|
||
|
zoom: 0
|
||
|
});
|
||
|
|
||
|
$('.pink').hoverZoom({
|
||
|
overlayColor: '#bd2e75',
|
||
|
zoom: 0
|
||
|
});
|
||
|
|
||
|
$('.black').hoverZoom({
|
||
|
overlayColor: '#2f2f2f',
|
||
|
zoom: 0
|
||
|
});
|
||
|
|
||
|
$('.alizarin').hoverZoom({
|
||
|
overlayColor: '#e74c3c',
|
||
|
zoom: 0
|
||
|
});
|
||
|
|
||
|
/* USAGE
|
||
|
|
||
|
$('#pink').hoverZoom({
|
||
|
overlay: true, // false to turn off (default true)
|
||
|
overlayColor: '#2e9dbd', // overlay background color
|
||
|
overlayOpacity: 0.7, // overlay opacity
|
||
|
zoom: 25, // amount to zoom (px)
|
||
|
speed: 300 // speed of the hover
|
||
|
});
|
||
|
|
||
|
*/
|
||
|
|
||
|
});
|