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. Using this method to upload a Javascript file But then, when I try to reference it from the Squarespace site, I get a CORS error: Access to script at 'https://static1.squarespace.com/static/57014b5b746fb963478e3d4f/t/5d7ba83d4e25b616833d896b/1568385085375/runtime-es2015.js' (redirected from 'https://brooke-meek.squarespace.com/s/runtime-es2015.js') from origin 'https://brooke-meek.squarespace.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Am I doing something wrong here?
  2. Does anyone know for the theme Hawley, using the Hover: Follow Cursor effect for the portfolio titles to create an effect similar to this fiddle? I'm not sure which class ID's to use and where to insert the javascript code. Thank you in advance!
  3. I've added jquery to my site, and I'm trying to override the form submission to post the form to an external api via Ajax but I'm not having any luck. I tried adding a listener to the submit but but it didn't trigger. $('input[type="submit"').on( "click", function() { alert("Button triggered"); }); Can anyone help out? Thanks.
  4. Hi everyone, I have a tourism website and want to be able to link to 2-3 specific pages using a series of floating flag icons on the top right of my website, each flag would link to a different translation. Does anyone have any idea how i could do this? I would want it to always remain at the top right of the page and they dont need to scroll down as i scroll, they can just stay static at the top right. The template I am using is pacific in case that makes a difference. Thanks so much!
  5. Does anyone know how to change the button text "Post Comment..." on blog commenting? I'm working with 7.1 for this particular site. I believe this has to be done via JS based on instructions I've seen for changing "Read More" text, etc. Thanks in advance!
  6. Hi all. I'm building a website for a non-profit club and in that website, I would like to add a timeline of their history. I have managed to generate a lovely, interactive timeline for them through TimelineJS using Javascript. Obviously in the trial version of the website, I am able to test it out, embedding it with an <iframe></iframe> tag. However, for a couple of reasons, the Personal plan is the only one they are going to be able to use, which means although I can add custom code, including HTML and CSS, I am unable to add the TimelineJS timeline to the site, which
  7. I was trying to add a "Go To Cart" button below the default "Add To Cart" button. I was able to inject another element with jquery like this: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(function() { $("<a class='btn btn--border theme-btn--primary-inverse' href='/cart/'>Go to Cart</a>").insertAfter(".sqs-add-to-cart-button-wrapper"); }); </script> But of course it doesn't get all the button styling. So I tried to add div parents to match other buttons on the site that look like this:
  8. I have an animation that needs to call a .js and .png file. I have made several attempts to embed the html into squarespace, but it does not work. All I need to know is: Is this possible to do, or am I wasting my time?
  9. Site URL: https://www.thirstforallah.com Hey all. I created 2 footers with the intent to hide one depending on the language of the page . I used the Brad Good method to create a multilingual site. I am unsure how to code to hide the second footer when I am on home/en/** and hide the first footer when on home/ba/**,etc. Anyone have any ideas? Thanks!
  10. Site URL: https://www.squarelemons.com Hey everyone, Please list any plugins you would like me to build, and I will add them to Squarelemons. Would love to hear your thoughts! Thanks so much, Brendan Kennedy
  11. Site URL: http://www.tvline.co.uk Please help. I am trying to add what I think is HTML (below) to my site on squarespace but the error I get says I need to upgrade to a full business plan to use JavaScript, though HTML is allowed? <script data-ad-client="ca-pub-8673100889707303" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> I am not a coder so not sure how to get around this and squarespace can't help me as they don't get involved when it comes to adding code. Any advice would be most appreciated.
  12. Site URL: https://www.drneilkudler.com/questionnaire/ I am at my wits end with this form. I implemented this JotForm a few months ago and recently when patients come to the questionnaire page the form will pop up just for a second and disappear completely. When I go into edit mode there is a little "scripts disabled" warning at the bottom of the block. I've tried just using the iFrame with out the javacript coding. I've made sure that all of the web addresses in the form code start with https. I've followed just about every tutorial out there. Does anyone have any insight as to wh
  13. Site URL: https://theartisanstudio.uk/ I began my question here:
  14. Site URL: https://voaki.com I just started using my website, and the loading speed of it is not good - according to GTmetrix the site has a bad JavaScript slowing down problem. I don't understand why. I used to have a countdown counter on the site, but I even removed that and it didn't have any effect. Now I don't have any custom Javascript there (or not sure if Google Analytics, Facebook pixel or the CrazyEgg heat maps are in Javascript? Could someone help me interpret this instruction on Javascript slowing down the site from GTmetrix: https://gtmetrix.com/defer-loading-of-javascript.h
  15. Hola everyone! I have a plugin (javascript) that launches a pop over box. I am having trouble either styling the script or adding the script to a button. Here is the script. Trying to make it look like the button above in the screen grab <script src="https://www.riskalyze.com/hosted/v2/0a1d6c37ef7ffe925794/rq/lt/lg/btn.js" type="text/javascript" data-button-color="#ff8949" data-button-title="TAKE OUR INVESTMENT RISK TOLERANCE QUESTIONNAIRE"> </script> Any help would be appreciated. Cheers, Alex
  16. Site URL: https://www.goinggosnell.com/blog/2019/7/15/nordstrom-anniversary-sale Hi! So I do several blogger's websites and they all sell on LikeToKnowIt which uses outdated code to embed the affiliate links for them to sell. I usually disable ajax loading to work around that their code is outdated but now even that isn't working. If you look at this link, you'll see it just keeps turning to load the items but its not displaying. Can someone help? https://www.goinggosnell.com/blog/2019/7/15/nordstrom-anniversary-sale This is one of the code blocks embedded
  17. I added flexbox and bootstrap elements to a page for style purposes and responsive design elements. It worked but caused the footer to change font colors and sizes and changed the mobile display entirely.
  18. My countdown counter is messing up my font size. My coding skills are limited, but if I interpret the code right, I think there's CSS inside javascript, and the CSS makes the counter number size as 40 px. It does however seem to be messing up with the fonts that follow. How could I make it more selective so that it would only be applied to the counter number font size? (This snippet: p { text-align: center; font-size: 40px; margin-top: 0px; }) Thanks in advance for any input. // Set the date we're counting down to var countDownDate = new Date("Aug 21, 2020 00:00:00").getTime(); //
  19. Site URL: http://bostonbiketaxi.com When I attempt to write some code in a code block using JavaScript, the Display Source option grays out and prohibits me from checking/unchecking. So I am effectively prohibited from using JavaScript in a code block. The option to check/uncheck the Display Source box works as expected when HTML is selected, but not for JavaScript. What could be happening here?
  20. Hi there, I'm working with a Summary Block of a Gallery of team photos on a clients site. I want the Lightbox effect, but I don't want it to only show the content on hover. I'd like the image to justify left and text to sit right of the image. Does anyone know how to make this happen by injecting CSS? Thanks!
  21. Hello Everyone! New to Squarespace. Was wondering if there were any way to have images replace text for page links in the header navigation? For example...if I have the text "Home" as my first link in the header navigation...could I theoretically replace this with an image of a "Home" that links to the same page? Whether it be with proprietary Squarespace options or CSS/Java...I can't seem to find a method to accomplish this with. Thank you for any help in advance!
  22. Site URL: https://oleander-wedge-k254.squarespace.com/ Hi there, I'm trying to add parallax scrolling into my site using the below code I found on a YouTube tutorial. Even though we've got the - height: 100% - bit in there ... 1. the background images only take up the top portion of the container on certain screen sizes 2. my foreground images come out HUMONGOUS on mobile (this is secondary and seems like a separate issue) Any advice on how to use parallax but keep the background images filling the height of the container in any viewing format? Thanks so much!!
  23. Site URL: https://redsteelhvac.com/contact-services So, I know you can take information from a URL query and easily have it inserted into hidden form fields you create, and I know that there is no easy way to do that with the standard form fields that SquareSpace creates, however I'm wondering if there is any JavaScript that can be or has been written to accomplish this. Basically, we are trying to allow a user that clicks our link from an email campaign to not have to type in all the required information since it's easily attainable from that click. Makes it easier for mobile users to actua
  24. I am using Squarespace dev mode. I am getting the data from Firebase. So I am creating my own web pages to work with. I need a collection like EVENT. The page has 'event' list and clicking on the individual event, the link should take me to event landing page. like blog list and blog item. Can somebody please tell me how can I do that or am i allowed to create my own collection? I appreciate your help.
  25. Dear All I am not technical guy. however, i am learning new. I am trying to add a search bar at the header. for which i have to inject java code and css etc. the problem i face is when i try to update css. the existing css i have already there would no longer work. (FYI: i have already pasted a css for logo transparency) when i paste a new css code the logo transparency would stop to work. Please suggest what i am doing wrong and what is the correct way to do it.
×
×
  • Create New...