08-17-2016 01:17 PM
08-18-2016 12:19 AM
08-18-2016 11:07 AM
therealvr said:
Cool website and cool idea!
Is the code to make those background pics move with your mouse insanely tricky/difficult? Would love insights on how to do this.
Keep up the good work.
jQuery(function($) { | ||
| ||
$("#shapely_home_parallax-1 .parallax-window") | ||
.viewer360({ | ||
src: "/wp-content/uploads/2016/07/salmon-river-sunset-medium.jpg", | ||
lowResSrc: "/wp-content/uploads/2016/07/salmon-river-sunset-small.jpg", | ||
fov: 40, | ||
srcHFOV: 94, | ||
srcVFOV: 60, | ||
lowResBlurRadius: 20, | ||
}); | ||
| ||
$(".chomolungma-section .viewer") | ||
.viewer360({ | ||
src: "/wp-content/uploads/2016/07/everest-base-camp-large.jpg", | ||
lowResSrc: "/wp-content/uploads/2016/07/everest-base-camp-small.jpg", | ||
fov: 40, | ||
srcHFOV: 94, | ||
srcVFOV: 60, | ||
lowResBlurRadius: 20, | ||
bindHeight: $(".chomolungma-section"), | ||
}); | ||
| ||
$(".klamath-section .viewer") | ||
.viewer360({ | ||
src: "/wp-content/uploads/2016/07/klamath-katamin-large.jpg", | ||
lowResSrc: "/wp-content/uploads/2016/07/klamath-katamin-small.jpg", | ||
fov: 40, | ||
srcHFOV: 94, | ||
srcVFOV: 60, | ||
lowResBlurRadius: 20, | ||
bindHeight: $(".klamath-section"), | ||
}); | ||
| ||
}); | ||
</script> |