melbeedesignstudio Posted January 26, 2022 Share Posted January 26, 2022 (edited) Site URL: http://www.villageofcapitan.org Hello! I am having an issue with a disappearing Javascript widget. I've followed the company's instructions on where to inject the code and place the widget, etc. It does load and appear when you first visit the homepage, but if you go to another page, then return to the homepage, the widget is gone or isn't loading. I tend to avoid Javascript widgets so I am not very knowledgeable about what may be going on. I placed the <div> code where I wanted the widget to appear, then injected a Javascript code (that must be before the </body> tag) into the footer area. Does this have something to do with the Ajax being enabled? Any help is appreciated! Thank you! Edited January 26, 2022 by melbeedesignstudio Link to comment
paul2009 Posted January 27, 2022 Share Posted January 27, 2022 16 hours ago, melbeedesignstudio said: I am having an issue with a disappearing Javascript widget. I've followed the company's instructions on where to inject the code and place the widget, etc. It does load and appear when you first visit the homepage, but if you go to another page, then return to the homepage, the widget is gone or isn't loading. As this 'widget' hasn't been written specifically for Squarespace, you'll need to disable Ajax Page Loading. You'll find the setting within Design > Site Styles. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment