Live site: https://sophiechung91.wixsite.com/chatty
Everything was working fine (on all browsers on the live site), until I checked my site recently and now my logo scroll (viewport enter and leave) effect suddenly won’t work on the live site on chrome, despite working fine on preview and on live on other browsers such as safari.
The custom buttons that apply to my featured repeaters also won’t work on live site on chrome, despite working in preview and safari (live).
I don’t know what to do as it’s working on other browsers and was working up until now.
If there are any suggestions I’d gladly welcome them!
Code:
let zoomOptions1 = {
“duration” : 500 ,
“delay” : 0
};
let fadeOptions2 = {
“duration” : 500 ,
“delay” : 0
};
let zoomOptions = {
“duration” : 1000 ,
“delay” : 90
};
$w( “#text84” ).hide();
export function box3_viewportEnter(event) {
$w( “#box5” ).show();
$w( “#text2” ).show( “fade” , fadeOptions2);
$w( “#box4” ).show();
}
export function box2_viewportLeave(event) {
$w( “#text44” ).hide( “zoom” );
}
export function box4_viewportEnter(event) {
$w( “#text2” ).hide( “zoom” , zoomOptions1);
}
export function box5_viewportEnter(event) {
$w( “#text44” ).show( “zoom” , zoomOptions);
}
export function box2_viewportEnter(event) {
$w( “#box4” ).hide();
$w( “#box5” ).hide();
}
export function button19_click(event) {
$w( ‘#dataset2’ ).next( “float” );
$w( ‘#dataset3’ ).next( “float” );
$w( ‘#dataset4’ ).next( “float” );
}
export function button20_click(event) {
$w( ‘#dataset2’ ).previous( “float” );
$w( ‘#dataset3’ ).previous( “float” );
$w( ‘#dataset4’ ).previous( “float” );
}