Afinando
This commit is contained in:
@ -1,5 +1,19 @@
|
||||
function resize() {
|
||||
let p = 400 / 1030
|
||||
$('.container').each(function(i, el) {
|
||||
let height = $(this).height
|
||||
let width = $(this).width
|
||||
|
||||
$(this).width = height * p;
|
||||
})
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.sticky').sticky({
|
||||
context: '#column'
|
||||
})
|
||||
|
||||
$('.shopping.cart').innerText = 0
|
||||
|
||||
window.onresize = resize;
|
||||
})
|
||||
|
Reference in New Issue
Block a user