Squash

Prince Speed Eyeguard Goggles

£25.00

This lightweight aerodynamic sporty frame provides superior optical quality. Popular nylon frame with rubberized temple grips to hold frame in place during play. Distortion free polycarbonate shield lenses with anti-fog and anti-scratch coating. Adjustable headstrap included and a micro fibre cleaning pouch. window.scroll_in_progress = 0; function scroll_carousel(scrollarea,direction){ //if scroll_in_progress is set to 1, return false because the first scroll hasn't finished if(scroll_in_progress == 1){ return false; } //set scroll_in_progress to true scroll_in_progress = 1; //set variables total_width = document.getElementById(scrollarea).scrollWidth; viewable_width = document.getElementById(scrollarea).clientWidth; viewable_width = viewable_width + 18; //make viewable width a negative number if direction is backward - viewable width is the max amount we scroll by if(direction == 'backward'){ viewable_width = (viewable_width * -1); //remove the 18px we added on earlier //viewable_width = viewable_width - 18; } cur_x = document.getElementById(scrollarea).scrollLeft; target_x = (cur_x * 1)+(viewable_width * 1)*1; difference_x = target_x - cur_x; //set scroll speed/framerate var steps = 120;//how many steps should it take within the timeline (specified below). This changes how smooth the animation is var timeline = 1000;//ms from current scroll position to new one //set the amount to incremebet by increment_x = difference_x / steps; var count = 0; var inter=setInterval(doMove,(timeline/steps)); function doMove(){ //Set new scroll offset_x document.getElementById(scrollarea).scrollLeft = (cur_x+(increment_x*count)*1); count++ //clear interval if(count == steps-1 || (document.getElementById(scrollarea).scrollLeft == '0' && direction == 'backward') || (document.getElementById(scrollarea).scrollLeft == total_width && direction == 'forward')){ clearInterval(inter); scroll_in_progress = 0; return true; } } }

Condition: New