не работает из-за add, пишет что нет такого метода или он невалиден
dataLayer.ecommerce.add.products.push({name:00, price:00})
function drawLine(section){
//здесь код, как вы берете эту секцию и рисуете
}
series:
[
{
type: 'line',
name: 'temp to press',
data: data
},
{
type: 'line',
name: 'temp to press1',
data: data
}
]
series.forEach( function(item){ drawLine(item) } )
The read-only scrollY property of the Window interface returns the number of pixels that the document is currently scrolled vertically
The pageYOffset property is an alias for the scrollY property
An element's scrollTop value is a measurement of the distance from the element's top to its topmost visible content