Search the Community
Showing results for tags 'script'.
-
How to add Javascript to Navigation Button (7.1)
AnnaOS posted a question in Coding and Customization
Site URL: https://jsartistry.squarespace.com/ Heya, I'm trying to add Timely scheduling javascript (i think) to a booking button in the navigation of this website. Basically, I want customers to be able to book their appointment thru the timely platform within my site and i want them to access it thru the navigation button. Thank you 🙂 The code that Timely gave for me to embed a link to the site is below. But I'm not sure how I can relate this to the button. HEADER: <script id="timelyScript" src="//book.gettimely.com/widget/book-button-v1.5.js"></scrip- 11 replies
-
- javascript
- script
-
(and 2 more)
Tagged with:
-
Site URL: https://www.andreasbenckert.com/clei I've had to alter the size of the Gallery-Reel, because I felt it was to large, even after setting it to minimum 30. I ended up solving it by writing a custom CSS, which is: .gallery-reel-wrapper { height:50%; } @media screen and (max-width:640px) { .gallery-reel-wrapper { height:100%; } Problem now is that I get 50% padding under the Gallery-Reel on larger screens. Is there a cleaner way to writing the code or can I add another line to remove it? Appreciate all the help 🙂
-
- custom-css
- gallery
-
(and 2 more)
Tagged with:
-
[Hi I'm Flo] Create a javascript text generator
Floblo posted a question in Coding and Customization
Site URL: http://www.hidearvirgule.com Hello guys, I'm from France, may I ask for your help: I want to make a page where I can generate some random words/ pictures clicking on a button. Is that possible with javascript, and if so, how can I incorporate it in Squarespace page ? Thank you so much for reading me, have a good night Flo- 4 replies
-
- javascript
- code
-
(and 3 more)
Tagged with:
-
Site URL: https://www.livewireradio.org/events/20200121 I'm trying to add scripted Eventbrite ticket sales buttons to our events and would like to style them the same as the buttons already on our site but can't figure out how to do it. I'm hoping I can either use a squarespace button and have it run the script below from Eventbrite, or format the button the Eventbrite code generates to the look the same as the others. Password for site: SSForum The first button is the standard squarespace button with a link. The second button is a scripted button using the code below from
-
Site URL: http://www.flyingcircusparis.com Hi, I want to use product blocks on my site instead of product pages, however i can't find a way to add linebreaks in the titles. Is there a script that can turn the " | " into linebreaks for those elements? or any other way! That would help me lots because on mobile it looks really long. thank you so much
-
Site URL: http://www.flyingcircusparis.com Hello, i would like to show the quick view window on mobile. And on another note, add line breaks on product blocks titles, does anyone has the secret to this? Thanks for the help Camille
-
Hello, I'm trying to inject a piece of Javascript code in to a page that has a form. What I want is to run the Javascript code with an XMLHttpRequest and wait for a response (onloadend) and then continue with the form post to the Squarespace servers. I can pause the execution of the form post, but I don't know how to resume it! I've tried things like: document.getElementsByClassName(the button class)[0].click() and document.querySelector('[data-form-id="<form id>"]').submit() They give 403 Forbidden How would I do it? Thanks!
-
Hey guys, I'm looking to implement this script for a pop up on my site. <script src="https://automation.leadforensics.com/.../static/tracking3.js" async></script> Tried injecting into the header but didn't seem to work. Any thoughts? Website is: https://sepia-tunny-5wmh.squarespace.com/ pw is p3
-
Site URL: http://www.mamapho.com Hi Squarespace forums, I am currently having ADA compliance issue with my webpage and am unsure how to resolve the issue. I am currently using WAVE to check my page for compliance and have just 1 error that I do not know how to remove. The error is currently on all of my pages. I have attached a screenshot of it below and here is a direct link to the WAVE page with my website already put in. My Webpage. The error is a empty button relating to this code. <button class="Mobile-overlay-close" data-controller="MobileOverlayToggle" data-contro
-
Site URL: https://www.loebsgordonpoolcare.com I am attempting to have my chat widget pop up from an image with link. RIght now the widget works perfectly with a floating chat bubble in the bottom corner of the screen. But I would also like to have a contact page where the chat window is initiated with an image or button press. Using a link opens a new page in a full window which looks silly. I have figured out I can add <a href="javascript:zE.activate();">Let's Chat</a> to create a link but cant place that nicely anywhere.
-
Can I create a Scrolling/Floating Logo for Templates?
marcellnagy posted a question in Coding and Customization
Site URL: https://www.dazeddigital.com/beauty Hi! I've recently started discovering the options Squarespace offers for site customization, but was left without answers on this question. Is it possible to create a Floating/Scrolling Logo, like the one the Dazed Beauty site has? If so, how would you/should I go about it? I appreciate the answers!- 8 replies
-
- logo
- custom-css
-
(and 3 more)
Tagged with:
-
Site URL: https://www.libertypartnershr.com/career-page#!/search?page=1 Per my template, I am injecting code into one page only, with the only option to do so into the header. this is fine except I cannot get the Navigation bar to remain at the top of the page, it is pushed down below the content from the code injection...please help and thank you!
-
Site URL: https://www.alexandrapolunin.com/pinterest-anleitung Hi everyone, I'd like to change the font-family for this button which opens a Leadpages pop-up: https://www.alexandrapolunin.com/pinterest-anleitung (The button at the very top called "Will ich haben"). The font family should be Brandon Grotesque. This is the script provided by Leadpages: I've tried changing the font family several times but nothing worked. These are a few ways I've tried: font-family: 'Brandon Grotesque'; font-family: "Brandon Grotesque" Thank you so much for your help! L
-
Site URL: https://cow-bellflower-d5mf.squarespace.com I'm trying to add code that creates a sticky navigation where the logo shrinks and spacing decreases upon scrolling. I've been working on this for a few days and nothing I find online seems to help. Link: https://cow-bellflower-d5mf.squarespace.com Password: temp2020
-
Squarespace editor stopped working after adding script
Sanjeev1236 posted a question in Coding and Customization
Site URL: https://cello-octahedron-fc3t.squarespace.com Hi, I have embedded an RSS feed to my squarespace site and after saving the page, that page is no more editable. Clicking on edit(Pencil) icon doesn't work. It ends up only by deleting the page. I'm using following script for that <script src="https://rss.bloople.net/?url=https%3A%2F%2Fwww.comicsrss.com%2Frss%2Fjumpstart.rss&limit=1&showtitle=false&type=js"></script> Although it's working fine when actually preview the site but squarespace editor is not working, is there any way that we can stop running- 1 reply
-
- squarespace-7.1
- script
-
(and 1 more)
Tagged with:
-
Site URL: https://www.goodbeerhunting.com I'm getting the error Refused to execute script from 'https://www.goodbeerhunting.com/dynamic/1234kdjeld?format=json&callback=jQuery1111035353247486359707_1594910433540&_=1594910433541' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled. I'm not sure what changed or why the MIME type is no longer executable. Anyone else having this type of issue? My code in the js file looks like this: $.getJSON('//goodbeerhunting.com/dynamic/1234kdjeld?format=json&callback=?', function(d
-
Site URL: https://demo-61w23.squarespace.com/ Hello forum members! Does anyone know of a way that I can assign click through links to my parallax banner images in the Brine template? I ultimately want to be able to click on the banner images and open them in a light box. I purchased this lightbox plugin , but it must be used with a link in order to work. I'm open to scrapping this approach, if anyone knows of another way. the password is: demo61w23 thanks in advance! 🙂
-
Hey everyone! I'm currently trying to add an HTML/JavaScript code block that allows a page to make API calls/HTTP requests. I've attached a simple HTML file screenshot with all the code I'm trying to add to the code block. This HTML file, when opened on chrome, successfully queries the API using JavaScript 'fetch' and receives a response which is added to a table and displayed in HTML. Unfortunately when copied on the Squarespace code block, I get a script disabled message on the editing page and then a fetch failed when viewing the page normally. Any help would be greatly apprec
-
I would like to hide the thumbnails from this product page: https://www.loungepair.com/offer-access Can anyone think of some custom script that I can inject to do so?
-
Site URL: https://www.tonetension.com/ tonetension.com password: erikwiss How do I put this logo (uploaded to the css custom files): https://static1.squarespace.com/static/5d85d4c22d59120f5fe31180/t/5e36955d9995006209f21812/1580635485836/Tone+Tension+Bold+white.jpg Onto this specific page: https://www.tonetension.com/full-client-list ? I've tried a few different scripts circulating on the forum, with no success so far. Thanks!!
-
Site URL: http://mamasanshopping.com Hi everyone, I saw an older post that fixed this problem by showing an approximation of the other currency you’d like to show on the website. But for some reason the code in the post had been hidden or deleted. Please help me!
- 1 reply
-
- currency
- code-injection
-
(and 2 more)
Tagged with:
-
I am using a script from a 3rd party company to add a plug-in to the website, i enter the script into a code block and it shows on when viewing it from the computer i added it on. But when i look on another computer the plug-in isnt there. Is worked fine when i first added it but now its been a week and its gone. any help would be great thanks. Below is the script im using (using 4 of them but this is 1 of them) <script type="text/javascript" src="https://4cs.gia.edu/interactive-4cs/js/embed.js?tool=color" charset="UTF-8"></script>
-
Site URL: https://stamba.co/terms Hi all, So we are using a template on our website. We use custom css. On some pages I added some script (for instance script to create a dropdown menu and Shopify buy buttons code blocks). In the Header Code Injection there is only google analytics and a Pixel account. However, we have a slow issue on all pages. The page provided for instance really just has text on it but is still tagged as having a slow issue with Google and GT Metrix both. What could be the problem? I have tried removing all scripts in the header to see if that was the problem
-
Is there a separate javascript code that I can run to active squarespace analytics and the activity protocol? I need to deactivate the squarespace analytics and the activity protocol cookies until the website visitor accepts the data privacy. I cannot use the build-in cookie banner from squarespace as I need to use a more flexible cookie banner script that allows to suppress other cookies as well. Thus, I have deactivated "squarespace analytics" and "activity protocol" by default to be gdpr compliant. I implemented the manual cookie banner script from cookiebot.com which allows to embed a
-
- javascript
- script
-
(and 2 more)
Tagged with: