Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'javascript'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers šŸ‡«šŸ‡·'s Topics
  • France Designers šŸ‡«šŸ‡·'s Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me




Expert ID

  1. Site URL: https://indigo-chipmunk-42dl.squarespace.com/config/ Hi, I am creating a site and i want to have a folder which when the title of folder is clicked in the navigation bar, it redirects to a page I have tried injecting javascript code for a redirection but it isn't working and I can't seem to make the folder clickable When reading around the subject, I seen people were saying ajax loading needs to be disabled. However for my site i cannot seem to find this option in design. I don't know if its the template I am already using does not support ajax Does a
  2. Site URL: https://www.frillup.ch/ I am trying to add comment section and ratings for each product on my E commerce. I found something that only allows me to either add ratings or comment box, but not both. I would like some feedbacks from my customers. Can anyone please help me with that? https://www.frillup.ch/
  3. https://codepen.io/chrisdothtml/pen/EaBOLq/ I've been trying to get this to work in a squarespace site, and I simply cannot. I just keep getting a code block showing me html, and not much else: https://ladybug-turbot-p29x.squarespace.com/test password: password Maybe this is an easy fix? Thanks all, I really tried to figure it out!
  4. Site URL: https://dtmg.io Is there a way to add an onclick function to a button's href code? I've been googling and can't find anything. Thank you!
  5. Site URL: https://www.roehrsguitars.net/store/guitar-builder A little background and setup: I'm a software engineer helping a friend out with a tool he wants to build for his site. It's a `guitar builder`, or `custom guitar visualizer`. Basically the whole idea is that it just lets the user visualize what the specs on their finished product might look like. So I built that out using JS and a neat library called Konva.js. Plugged it into his site using the code blocks and it worked like a charm. Now I want to include a 'Review Build' button on the configurator page that will redirect
  6. Hi there, It seems that there is some automatically added structured data to our website. Is it possible to remove it ? - http://prntscr.com/p31y0b Only "Corporation" is added by me, the other is automatically generated and is actually not proper for the type of business. I read an article on why the localbusiness markup is added but there was no answer on how to remove it. Regarding "Organization" and "Website" I have no idea why they marked and how to remove them. Thanks!
  7. Site URL: http://www.analogforevermagazine.com Hello, I think this is an easy question. I did have this working but I have no idea why it no longer is working. All I did is get an updated code from the website I am using to build the ad. I am trying to use this code to inject using sitewide code injection for the header to display a reveal ad. The code is: <!-- Ad Tags for Header Test --> <!-- Ad Group Base Dimensions: 0X0 --> <!-- Tag Ad Server: Generic Tag --> <!-- Group Placement ID: 62c68fc3-5666-40e0-98f2-339e31f3adb0 --> <script type="text/jav
  8. Hi there, Is it possible to add images instead or with text in a drop down menu button for products. Scenario: Product T-shirt, once in detail view there is a button Theme. Now I want the Theme button to be a drop down menu which will show different images like: star wars, flowers, cats, etc. Best case those images can be linked from a database belonging to the homepage.
  9. Hello Everyone, I am trying to solve for a particular issue. I am using summary blocks for a client who will serve content from their blog and shop to specific pages on their website by use of the tag filter. I am wanting to ensure the design of the site continues to feel responsive and tight so I am looking for a way to hide the page section containing the summary block if there is no content being called by the tag. Any help would be greatly appreciated. Best, Patrick
  10. Site URL: https://journeycamera.com/ Semrush is showing errors listed as uncompressed JavaScript and CSS files. Is there help from squarespace on this?
  11. Site URL: https://mostcreativereiner.com/ Hi Everyone! I had an idea to create an interactive claymation portfolio (you can look at my website for some work examples). Anyways, I was thinking of having a tv, where there are three interactive buttons, a channel up and down, and an antenna, which are interactive toggles between video projects. For example, if you were to click on a channel button, it would start an animation where someone clicks the button, and then the channel changes. Any ideas on how to get something like this done on squarespace? I know itd be javascript, bu
  12. Site URL: https://dandelion-prism-pkyc.squarespace.com Site password: 1234 Hi! I'm very new to Squarespace here and have an empty site at the moment. I wanted to add a gradient background to my site that moves with cursor position and I have a head start here. The JS I'm using is from this codepen: https://codepen.io/lsammarco/pen/waMpJw and please ignore the loud colors since this is just a test! šŸ™‚ This is the code that I injected into the header of my home page, and I can see the radial gradient is working, but not the JS functions. When I inspected the page, I'm getting an '$ i
  13. Site URL: http://fredfilms.com/shows I have this script on my blog page: <script> document.querySelectorAll('.BlogList-pagination-link-label').forEach(function(paginationLink) { if (paginationLink.textContent == "Newer") { paginationLink.textContent = "Previous page"; // Customize "Newer" text here } else { paginationLink.textContent = "Next page"; // Customize "Older" text here } }) </script> It has successfully replaced the pagination link titles when I view the site through the squarespace editor, but now that the site is live a
  14. Site URL: https://fredfilms.com I have a custom script on my homepage that loads a different background image each time the page loads. It works great when I view my website within the squarespace editor, but now that the site is live it is doing something weird. I checked in multiple browsers and it's consistently having this same problem. When I refresh my browser it works great! The trouble is that if I navigate to the home page with any of the nav links or the logo in the main nav then I just get a grey background with no image. Any insights into this issue would be GREATLY apprecia
  15. I work for a church and am not super technical. I need to show a directory of churches in our area. I was told to put this into the code injection footer of my site: <script type="text/javascript">(function($){ jQuery(document).ready(function () {$('#kcDiv').load("https://uccwebservices.ucc.org/uccko/churchcontent.aspx?st=ks");}); })(jQuery);</script> And then on the page where I want the directory to be, in HTML, put this: <div id="kcDiv"></div> So that it will display the churches. However, nothing happens. When I go into incognito mode to test thi
  16. Site URL: https://acsolutions.squarespace.com/ Hi, I'm making a product page with custom filters. Each product is a code block, and when the filter is applied the code block is set to display: none; The columns still take up space even when all products in that column are hidden. How can I automatically hide empty columns so the remaining products are always aligned left? Here is what I've tried so far with no success: $(document).ready(function() { var colHeight = $('.col.sqs-col-4.span-4').height(); console.log(colHeight); if(colHeight>=38)
  17. hi everyone.. working on a fundraising site for covid-19 relief.. trying to embed a contribution form via code block but the height is limited, forcing one to scroll to see full form... I also tried putting the code into a squarespace embed block. I tried putting entire embed code i was give, including script, into a squarespace code block. I tried putting entire embed code i was given, including script, into a squarespace embed block. I tried injecting script into site-wide head as well as page specific head. I identified block ID and tried CSS injection to change height of block.
  18. 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!
  19. Hello Everyone ! I have an odd question before I start to get obsessed & deep dive into coding : I came across some beautiful elements on Tympanus website just like this one : https://github.com/codrops/CrossroadsSlideshow/ Is there a way, we can add these types of elements within Squarespace ? Or maybe it's not mean for Squarespace at all. I used to buy some customs elements on webshops & I would get a tutorial telling me how to insert some codding or files into my website. I remember some required to do some advanced manipulation but to be honest I've never fully done it on
  20. Site URL: https://www.alpfaatuic.org/ I added a custom code injection into the header of my squarespace so I can track views from google analytics but cant figure out how to hide the code when people look at the website. Does anyone know what to type to hide it?
  21. Site URL: https://www.progresscreative.com.au/ I'm having an issue with my site after adding a google review plugin towards the base of the home page. After adding the plugin, the site works well on desktop, but when viewing the site on a mobile device, the website menu is now off centre and there's movement on the whole site. Is there some coding I need to specify in the plugin code for the width? Here's the current plugin coding and some screenshots from mobile: <script src="https://apps.elfsight.com/p/platform.js" defer></script> <div class="elfsight-app-bf4b8d7
  22. Site URL: http://www.mightyyoganh.com/ I'm a designer and not at all a developer so I need some help with my client's request. She would like to add a javascript widget as a main navigation item but there is no option to add code to the main nav. The widget is a pop up that would allow the user to sign up for classes through MindBody instead of linking offsite. She provided an example site that has accomplished this: https://bodywisdomstudio.net/ (Login/Register button in main nav) but I'm not savvy enough to parse through the code. Any suggestions?
  23. I am trying to create an acceptance button using the code provided below. I can not figure out how to hide the text above when the text below is shown. I know there are much easier ways to make an acceptance button but this is just how I wanna do mine. Any help on the topic would be greatly appreciated. I honestly don't even know what language this is to be exact. It looks like javascript to me but my friend tells me its not. <script> /* This script is a custom script to control the 'show' / 'hide' extra feature. To use: give each button you want to make an expander a
  24. Site URL: http://bit.ly/ad7am-test1 EDIT 10/26/2020: Solved! See answer below. The webpage Iā€™m trying to diagnose this on is http://bit.ly/ad7am-test1 and the password is < helper >. The default behavior for the gallery is that clicking or touching an image brings up a lightbox, to show the image at the largest it fits in the window, e.g. at 100% of the height of the viewport. I've customized the CSS ā€” because I need viewers to be able to read the text ā€” so that the lightbox instead shows the image at 100% of the width of the viewport.
  • Create New...