Ok, I see... but since we don't have access to see your code, know how the pieces fit together or see it in action, this will be very hard to diagnose...
Have you reached out to your site developers? Maybe they can help with the coding and support the issue you are facing?
Or if you can provide ...