mehscollider
New member
Hello,
I made a viewer with 3 hotspots. Each hotspot has a Javascript action which calls a function (I put the same name on the hotspot configuration) but the function is not getting called.
I defined the functions on a script tag below the Webrotate code:
Could you guide me about this issue? This is kind of urgent because I want to show your product on a new website.
I made a viewer with 3 hotspots. Each hotspot has a Javascript action which calls a function (I put the same name on the hotspot configuration) but the function is not getting called.
I defined the functions on a script tag below the Webrotate code:
Code:
<script language="javascript" type="text/javascript">
jQuery(document).ready(function(){
jQuery('#wr360PlayerId').rotator({
licenseFileURL: 'license.lic',
configFileURL: "https://nuu-group.sfo2.cdn.digitaloceanspaces.com/clients/augmenta/Model/360_assets/Main/Main.xml",
graphicsPath: "https://nuu-group.sfo2.cdn.digitaloceanspaces.com/clients/augmenta/Model/imagerotator/html/img/basic/",
zIndexLayersOn: false,
responsiveBaseWidth: 600,
responsiveMinHeight: 400,
googleEventTracking: false,
});
});
</script>
<script>
function ventralFunc(ventral) {
$('initial-state, .honeycomb, .hydro').hide();
$('ventral').show();
}
function honeyFunc() {
$('initial-state, .ventral, .hydro').hide();
$('honeycomb').show();
}
function hydroFunc() {
$('initial-state, .ventral, .honeycomb').hide();
$('hydro').show();
}
</script>
Could you guide me about this issue? This is kind of urgent because I want to show your product on a new website.