function touchMusic(section, event) { if (section == 'start') { var touchobj = event.changedTouches[0]; startx_sections = parseInt(touchobj.clientY); dist_sections = 0; } if (section == 'move') { var touchobj = event.changedTouches[0]; dist_sections = parseInt(touchobj.clientY) - startx_sections; } if (section == 'end') { if (dist_sections > 100) { Music('hide'); } } };
Инфа — 90%
+ 0 −