Created
December 7, 2016 20:31
-
-
Save lode/194d78a81e788dd6c54724f73a0ca0f6 to your computer and use it in GitHub Desktop.
Lightspeed 360º foto plaatsen - javascript voorbeeld generiek
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://domein.nl/object2vr/object2vr.js"></script> | |
<script type="text/javascript"> | |
setTimeout(function(){ | |
jQuery(document).ready(function(){ | |
if (jQuery('meta[name="keywords"]').attr('content').indexOf('360') != -1) { | |
object2vr({ | |
locationBase: 'http://domein.nl/object2vr/klantnaam' + window.location.pathname, | |
mimicElement: jQuery('.zoombox .images .zoom.first'), | |
}); | |
} | |
}); | |
}, 100); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment