-
Posts
6 -
Joined
-
Last visited
Reputation Activity
-
gingershermanllc reacted to paul2009 in Warning / Disclaimer for Link on site
This guide explains where to find this setting. Squarespace keep moving the navigation options around!
-
gingershermanllc reacted to paul2009 in Warning / Disclaimer for Link on site
If the site will be on a Business Plan or above, here's something to get you started. Add it to Code Injection > Footer. This guide explains where to find this setting (Squarespace keep changing the navigation settings!).
<!--- Inform user before allowing them to leave the site accidentally ----> <script> Array.from(document.querySelectorAll("a")).filter(l => l.hostname !== location.hostname).forEach(el => el.addEventListener("click", clickExt)); function clickExt(e) { if (confirm("You're about to leave our website. Do you want to continue?")) { return; } else { e.preventDefault(); return false; } } </script> This is very basic but it will should get you started by launching a basic browser popup whenever an external link is clicked. This will give visitors the opportunity to change their mind before leaving the site:
With some additional HTML/JS, this could be improved by replacing the built-in browser popup with a custom one that includes the features that you need, for example:
Did this help? Please give feedback by clicking an icon below ⬇️
-
gingershermanllc reacted to ehdavis09 in Push to Google Search Console
Is there a way to automatically have that feature enabled? It would be great to not have to manually toggle this on every time I create a blog post. Thanks!
-
gingershermanllc reacted to Ziggy in Slideshow Gallery Height - Not filling frame - Squarespace 7.1
No, I don't think there's a way to fill the fluid engine block dimensions.
-
gingershermanllc got a reaction from stvdiomonti in More Than 5 Colors
Hi there! Is there an easy way to add more than just 5 colors to the color palette? Perhaps there's a way to do this via code. Thanks!
-
gingershermanllc reacted to Rebecca_Grace_Designs in Auto Scroll Carousel Block Squarespace 7.1
**UPDATED***
For anyone still looking, I found a workaround for autoplaying a Summary Carousel Block. It autoclicks the next button every three seconds.
Inject this is Settings > Advanced > Code Injection > Footer
<script>
window.onload = function() {
var nextArrow = document.querySelector(".summary-carousel-pager-next");
function clickNext() {
nextArrow.click();
}
setInterval(clickNext, 3000);
};
</script>
I updated this code to remove the use of JQuery (for page speed reasons) as well as to help with the refresh timeframe.
-
gingershermanllc reacted to tuanphan in Missing list section in 7.1?
When adding a section, you need to choose this, then you can select List Section
-
gingershermanllc reacted to Ziggy in More Than 5 Colors
No, not in a way that will add the color to the picker in the Styles menu.
-
gingershermanllc reacted to Klintholm in Counter widget/add on
Is there a way to make the speed variable? So that it speeds and slows down at the beginning and end?
-
gingershermanllc reacted to rachelquagliani in Counter widget/add on
Hi folks, have found this thread super helpful (thanks everyone who has contributed!) but cannot figure out how to make this counter responsive on mobile! Is someone able to share their code that has worked please? Thanks in advance!