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


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Selling & Scheduling Your Services
    • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges


Expert ID

  1. I'm working on implementing a third party solution for ratings and reviews (deliberately omitting the name) that's JavaScript based. I've found how to add code blocks, easy enough. However, what I'm struggling to find is if there is an easy way to pull in a value from my products, such as, name, description, image/thumbnail url, etc. I would like to pass these into the JS I'm adding. At a bare minimum, I need to pull in an id value. I realize I could manually change these values for each page, but that seems like it would be difficult to maintain in the long term. My hope is I can add some typ
  2. Site URL: https://www.newmonday-sprint.de/medienplanung Hi everyone, in this page you will see a GetResponse form embedded in Squarespace. The weird thing happening is that any image on the page is not visible anymore and I can´t understand why. The only visible images are the ones used as background. I have tried changing image format, position, creating a different section... nothing seems to work. Ideas? thanks!
  3. Site URL: http://www.hausline.be/contact I have a problem where the script that changes the default values of the contact form (first name and last name) are changed to my language, but it is only executed when I refresh the page. On first load the scripts doesn't change anything. This is the code I used, after some extensive searching here on the forums. <script> function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload();
  4. Site URL: https://www.smore.com/clippy-js Hi there - Can someone please give me a hand adding this to my site: https://www.smore.com/clippy-js. I'm looking for the 'Clippy' version to be added so when users first visit they are greeted with it - and then on every page after also. I am using Squarespace v7.1. Thanks!
  5. Site URL: https://jolsonweddings.com/stories I'm looking for a way to target and replace commas in my blog summery block, so that the metadata below the title displays as "Destination Wedding" instead of "Destination, Wedding". I'm hoping there's a way to target and replace the comma with some kinda of script, I was able to do something similar with my homepage using the following code: Can't seem to do the same with the Blog Summary though, anyone have any ideas?
  6. Site URL: http://bit.ly/39WMa9Q Hi everyone, I'm curious if anyone knows enough Squarespace behind the scenes to help me understand how a particular site customized their template. I'm familiar with basic CSS tweaks and styling themes, but not fully in a Squarespace context. I don't know the ins-and-outs of SQ templates, available content types, etc so could really use some pointers with the following example ... Here's the site I'm looking at - http://bit.ly/39WMa9Q . First of all, looking at the code, I know based on their template ID that it's a custom one based on Farro/Haute famil
  7. Hi, I am a graphic designer that works for a property management company. I have moved half of our websites from wordpress to squarespace. All of our websites use a property management leasing platform ! The one problem I am running into is the chat feature through the leasing platform. It has worked in the past on old wordpress sites-like the first screenshot attached! However, on squarespace when I plugin the snippet code to the footer as I have previously done on wordpress-it remains at the very bottom of the page and even looks different! ( see screenshot
  8. Site URL: http://www.andyancreative.co/work-2 Hello! I need help writing code to restart a gif on hover within the index thumbnails. I'm working on my portfolio and the block I'm trying to target is the logo collection block on http://www.andyancreative.co/work-2 (second row on the right). I have the image changing to a gif on hover but would like the gif to restart every time when you're hovering over it. I'm not sure css code or javascript is needed but thanks in advance!
  9. Hi, I want to have a list of images on an index page, some of them with link to a layout page and other ones just displayed on the page, but with no link. I don't see a way to do it with the tool, so I'm trying to do it with Javascript removing the link on the specific div. Any idea?
  10. Hello Squarespace offers a lot as is but sometimes you need to add some HTML or CSS markup or at times you might need to go beyond markup and actually get programmatic and use javascript. I have no affiliation with Traversy Media other than being a patron of his via Patreon but I do learn a lot from his online courses and thought you might too. He has plenty offered for free on Youtube and aside from a good starting point course on Modern HTML & CSS From The Beginning (Including Sass) he has more on Udemy. Follow those links if you want to expand your knowledge on coding. Al
  11. so i want to have users to agree on two things (in checkboxes) before they can submit a form to me.(just like you cant proceed without agreeing the term and conditions on some websites/services) how would i do that?is there a way in javascript to check by the ID of the checboxes if they are checked or not (true/false), and if they arent checked - and try to submit the form -> they will get a pop-up saying they must check the inboxes before submitting the form?thanks
  12. Hello hello. I'm using a custom font for my site-title and I was wondering how to change the text content of the site title on one particular page. So far I have figured out that I can't do this with css and should be looking for a javascript command. Can anyone help
  13. Site URL: http://thesoulpatty.com I have read and also watched the custom css coding for a block inside of squarespace but need some good ol fashion learn through seeing specifically on the Lizard template. My site is not published rather in dev mode but I want to add a rollover effect of a transparency color on top of the gallery image and also move the title text to the center of the image vs. the bottom of the block. I know I have not given a direct link to the site but I nee to keep it off hte web until finished. Anyone who can offer some custom css advice on this I would appreciate.
  14. I am looking to customize an order email - specifically order confirmed & fulfilled, based on which product my customer has purchased. I have a client who is selling a subscription based package. Once the customer orders, they are to receive an email with a link to an instructional video on how to use the package. I am hoping that I can save her a step in having to manually email her customers this link by being able to add the link directly to the order confirmed and order fulfilled email. Something like: {.if hasPhysicalProductId=xxxxx} You will find your instructional video tu
  15. I'd like to change the logo on two pages of my site. Specifically, I want to change the logo on this page http://jolenetaschner.com/ceramics to say Ceramics rather than Photography, and possibly change it to say Blog rather than Photography on this page too: http://jolenetaschner.com/blog/. Is this something that can be done? (Ideally, can it be done easily, since I know nothing about writing code?)Thanks in advance for your help!Jolene
  16. Site URL: https://www.fresherlife.co.uk/student-jobs Hello guys, I have some code that uses Javascript, this code works on ever other platform but for some reason does not work with squarespace? AJAX is already disabled and other parts of my site have working javascript. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>sort</title> <style> *
  17. Site URL: http://taylorroy.com/nautilab I use Squarespace for my portfolio site. They have a "block" that allows me to use embedded Adobe XD code (below) to show my app prototype. The prototype works fine but when the page loads, it automatically shifts half way down the page to the prototype. (Link to page) ``` <center> <iframe id="nautilab" width="414" height="736" src="https://xd.adobe.com/embed/afb3c48a-11a6-4296-73d9-068cd5b0c5ef-d982" allowfullscreen" frameborder="0"> </iframe> </center> ``` I would like for my page to remain at the to
  18. Hi, I have a Nuevo template website with 3 parallax images. I am trying to add custom JS to dymanically resize said parallax images. The code is tested and works when injected into the Chrome / Firefox console yet whenever I try to compile it in my Local Development environment, there is no change to the image size. The js is stored in the Scripts folder as a separate file containing the following code: document.onload = (function () { const resizeImgs = () => { let imgs = document.querySelectorAll('.Parallax-item > .Index-page-image > img'); let div
  19. Im trying to do some javascript operations on a customType text input. I've got customContent.services like so: service_1:https://link_to_service.one|service_2:https://link_to_service.two I've writtena small js function to split this string and create an array of javascript objects like so: [ { service: service_1, link: https://link_to_service.two }, { service: service_2, link: https://link_to_service.two } ] Now I would like to take this array and render it using json-t (or any other simple method). Problem is, I can't seem to add this to the current context {@} t
  20. I can open map on a button click in Javascript, but I need to be able to open a map with a gps coordinates that change what I would like is to open a map block with these new coordinates. If that is not possible set the button code to open the map also with these new coordinates. <html> <body> <p id="demo"></p> <form> <label><b>message1</b></label> <input type="text" name="message" id="msg1"> <label><b>Number</b></label> <input type="text" name="message" id="msg2"> </form> <
  21. I want to setup a javascript page on my website where I have a xml file that has a name comment and gps coordinates. The user types in the name and and it searches the xml file and spits out the comment and coordinates. My main question is where can I upload file for my page to search and how( what path do I use to read it in)
  22. I have a simple xml file that has 2 tags <Name> and <Comment> I would like to read it in then when the user searches the name it spits out the comment. I am stuck on how to read in the xml file could someone give me an example on how to do this please
  23. Hi I'm a Squarespace noob. 1. The objective: to populate a Squarespace page with data/html from a backend system, using Ajax. 2. Testing javascript: I've created a Code Block on a page, and added some simple, vanilla javascript: <div id="displayDiv"></div> <script type="javascript"> document.getElementById("displayDiv").innerHTML ="<h2>Omkara's lab block</h2>"; </script> 3. As expected I get a "Embedded scripts" for the block and are asked to "view in safe mode" 4. Once I enter safe preview mode I am (as expected) told to log out and vie
  24. Right now I am making a website for someone and they want a very specific design. They have a number of product pages and on the homepage they want a little gallery block that shows several of the most popular ones. But in this gallery block they want a blurb of whats on the product page, as well as a button that takes you to it. They also want the other featured pages to be displayed off to the right. I am attaching an image of what I mean, I realize that it may require a lot of CSS and javascript but does anyone know how they would go about approaching something like this?
  25. Hi Is there any way to be able to edit a product using my own javascript so that the product image (or preview) changes according to the users choices, and then send that data to the checkout form fields. I hope that makes sense. Basically, I want to sell personalised images. But I want the user to be able to choose all the different parts of the image (and colours). As they are doing this, I want the preview to update automatically with their choices. Then, when they click on the checkout button, I would like all the personalised data to pre populate the correct field in the che
×
×
  • Create New...