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

Search the Community

Showing results for tags 'ajax'.

  • 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
    • Resources
  • 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
  • German Circle Members's Topics

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. So I developed a solution that is hosted on Azure. This service dynamically creates images based on user input. I want to make sure that others don't embed my link into their page. Basically I need a mechanism to authenticate HTTP requests on my server to ensure they came from my SquareSpace website. My initial thought was that I could use a shared secret, like it used for the API integrations but I don't know how to get SquareSpace to hash something and stick it in the front-end for me. How can I get something hashed or is there a hash value that is already included in some variable some place that I can send along and verify?
  2. Hello I have a Calendly Integration on a webpage that doesn't load properly unless I disable AJAX loading. The thing is that I want AJAX loading enabled, so I would like to paste some code in the heading of the page using Page Injection that disable AJAX loading for this single page. Can anyone help me with the exact code needed to do this? Thanks in advance
  3. Site URL: https://dachshund-apricot-e6ab.squarespace.com/ Hi Guys! I am trying to load a page's content into another page's specific div. The content is loading perfectly only trouble is that the image and videos are not appearing. PASSWORD:1234 Target Page (on which the content has to be displayed): Target Page 2 — Overbound (squarespace.com) Source Page (whose content has to be displayed): Source Page 2 — Overbound (squarespace.com) My Code: <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script> $(document).ready(function(){ $("#collection-62925dc5a8b48b3bc07393bd section[data-section-id=62925dc5a8b48b3bc07393bf]").load("https://dachshund-apricot-e6ab.squarespace.com/source-page-2 #page"); }); </script> What could be the solution? Thanks in advance
  4. Site URL: https://eduard-slinin.squarespace.com/ I'm building a website in 7.1 and I need to disable Ajax scrolling for a custom plugin I've installed. With the new site styles editor on the righthand side of the page I can't find the section to disable Ajax scrolling anymore. Do you know where I can find this now? website is: https://eduard-slinin.squarespace.com/. password is : working Thanks!
  5. I want to be able to link xml data. I’m following along a tutorial for Ajax with Mozilla and I know it works. I also know other people have had success with Mercury, but, whenever I try to do it, it fails. Can someone please walk me through that and how to get the exact path to use for the Ajax file?
  6. Hi everyone, I've inserted the following HTML code block into my section: <html> <form action="https://getform.io/f/061fe877-cd4b-4e98-9f70-f5fb2eeb3716" method="POST" enctype="multipart/form-data" style="background-color:#005019"> <h3 align="center" style="border:white; border-width:5px; border-style:solid"><b>Submit your application here:</b></h3> <table> <tr> <td align="right"><b>First Name:</b></td> <td align="left"><input type="text" name="First Name:" required > </td> </tr> <tr> <td align="right"><b>Last Name:</b></td> <td align="left"><input type="text" name="Last Name:" required > </td> </tr> <tr> <td align="right"><b>Phone Number:</b></td> <td align="left"><input type="tel" name="Phone Number:" required ></td> </tr> <tr> <td align="right"><b>Email Address:</b></td> <td align="left"><input type="email" name="Email Address:" required ></td> </tr> </table> <p align="center"> <input type="file" name="files[]" multiple required> </p> <p align="center"> <button type="submit"><b>Submit</b> </button> </p> </form> </html> Which generates the following form: Upon filling out the form and clicking submit, I receive an email with the submitted information -- however, the website page that the form is submitted on just goes blank, when it should be redirecting to the following URL: https://getform.io/thank-you. It seemingly also gets stuck on that blank page because when I refresh it, it still remains blank. Instead of redirecting, I think it would be nice if the form would just display something like 'thank you, your submission has been received'. Unfortunately, I'm uninformed when it comes to anything related to coding and basically pieced the above HTML together using Google search results. Any help is greatly appreciated, thank you!
  7. Hi all, So, I use quite a few plugins on my website. All of these plugins call a different version of the ajax library. What is the reason for this? Is it because they will only work with the specific version or is it simply that at the time the plugin was developed, that was the latest version available? Multiple ajax libraries choke the browser and slow the website down. Can this be remedied by simply using the latest version of the ajax library? Thanks Akanksha
  8. Site URL: https://www.harborcarenh.org/ Hi folks, Longtime fan, first-time caller here. I inherited responsibilities for a Squarespace website and am much more familiar with Joomla, WordPress and Drupal, but I've found this forum a huge help. The native Squarespace search engine on this website doesn't work well. I suspect this is due to the architecture of the website -- with LONG index pages containing many other pages, the end result being that the core is somehow confused -- but I thought a workaround would be to install a Google Programmable Search on the site. I've always found that using Google products improves search results, but that may be voodoo. Unfortunately, I can add the code for this search bar to inside pages (and they load fine), but whenever I bring those pages to the primary navigation or footer position, the system loads a page without the search. Again, this is a guess, but I believe this is an AJAX loading issue conflicting with the Google script. This is what the Google code looks like: <script async src="https://cse.google.com/cse.js?cx=93d5adf5b23ee11a5"></script> <div class="gcse-search"></div> Has anyone experienced this issue? Or can anyone suggest why the Squarespace search engine is fairly inept? Thanks, Randy
  9. Site URL: https://www.onlinekarma.ch/ It would be great if you could enable Ajax Loading (asynchronous JavaScript and XML) aka. Lazy Loading for the Bedford Template. Are there plans to implement this? It would help for page-speed and thus SEO. Thank you.
  10. Site URL: https://www.pestack.com/vendor-profiles I use a Ajax-based third party application called Knack which I use to power a database platform with many pages. I host this content on my Squarespace page via an embed block. The problem is that Squarespace does not generate the hundreds of pages in this database platform within the sitemap, and Google is therefore not picking up any of these pages. All that the sitemap shows is the URL for the single page where the embed is. This is bad for SEO! Is there some piece of code or approach I can use to get Squarespace to generate the pages within the sitemap? Any help or tips greatly appreciated! Thanks
  11. Squarespace AJAX page loading kills scripts on page. They will not load without a page refresh. Code written to every page initialized with the redirect value will just cause a redirect loop... How do I write a script that doesn't redirect the page initially that is in the header and LISTENS for an AJAX page refresh... and THEN gets reinitialized with a new value to redirect the page? (I've actually asked this question already but my posts aren't getting answered at all, so I'm starting to wonder what the coding and customization board is for if one can't ask a coding and customization question...)
  12. 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 anyone have a current way around this?
  13. Hi I have added page code injection to a number of pages on my clients site to change the background colour: <style> section {background-color: #ffffff;!important;} </style> But now the site is live, it only seems to work if you refresh the page. Can I convert that style code to css code? Thanks!
  14. Site URL: http://addisonstreetspa.com/book-private I deployed a Mindbody widget using a code box, and the widget displays fine but is not clickable. Mindbody support says to disable ajax loading, but Squarespace v7.1 does not support ajax loading, so this fix is no longer applicable. Has anyone had this problem and found a fix for it??
  15. Site URL: https://www.flowfitstudio.com/schedule I have a Vagaro booking widget embedded on my site that won't load. The interesting part is that it loads when I view on mobile and disconnect from wifi, but does not load when viewing on desktop or on mobile when connected to wifi. I've researched this issue and have tried manually disabling Ajax loading by adding the following code to the Header box under Code Injection: <script src="https://content1.getnarrativeapp.com/ss-ajax-loader.js"></script> I tried doing it this way because I do not see the option to disable Ajax loading under Site Styles. This unfortunately did not fix the issue for me. Here is the page: https://www.flowfitstudio.com/schedule Here is the embed data: <div id='frameTitle' class='embedded-widget-title' style='font-size: 23px; color: #333;font-family:Arial, Helvetica, sans-serif; line-height:24px; padding: 18px 10px 8px; text-align: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;'></div> <div class="vagaro" style="width:250px; padding:0; border:0; margin:0 auto; text-align:center;"><style>.vagaro a {font-size:14px; color:#AAA; text-decoration:none;}</style><a href="https://sales.vagaro.com/">Powered by Vagaro</a>&nbsp;<a href="https://sales.vagaro.com/salon-software">Salon Software</a>,&nbsp;<a href="https://sales.vagaro.com/spa-software">Spa Software</a>&nbsp;&amp;&nbsp;<a href="https://sales.vagaro.com/fitness-software">Fitness Software</a><script type="text/javascript" src="https://www.vagaro.com//resources/WidgetEmbeddedLoader/OZqnDJWqD3OcT3qnV3Dy6ZuQlXiz3avV34mC2PeFJ4mC30m9dSycXCu7gevEhAJDXwQ0?v=yMoWiANQbQzJAwksZ6jK1qT2t5vTDseu1XI5dLITxoyW#"></script></div>
  16. I'm creating a GET request from my square space site to Big commerce using ajax API call. But facing 401 unauthorized error. I've attached my code I'm using right now - hope someone can help me out of this problem. const username = "username"; const password = "password"; function make_base_auth(user, password) { var tok = user + ':' + password; var hash = btoa(tok); return "Basic " + hash; } $.ajax({ url: "https://api.bigcommerce.com/stores/{store-hash}/v3/catalog/products", async: true, crossDomain: true, beforeSend: function(xhr) { xhr.setRequestHeader('Authorization', make_base_auth(username, password)); }, headers: { "X-Auth-Client": "secret-key", "X-Auth-Token": "token", "Content-Type": "application/json", "cache-control": "no-cache", }, type: "GET", dataType: "jsonp", success: function(data) { console.log(data) } }); ..
  17. What’s up everyone, I was wondering if anyone in the community would know how to implement a “lazy load” or “Ajax load” so that images load when they’re appeared instead of right when the page loads. I think https://grovemade.com looks super cool, I think they’re using JavaScript to load a super small version of their images then adding a CSS blur so the perceived load time is a lot faster. Can this be done with a Squarespace template?
  18. Site URL: https://www.dexterlakeclubband.com/ On my homepage I have two code blocks that won't load properly. Both display beautifully after I refresh the page. One is an Instagram post that I've used the embed code from IG, the second is a review widget from Wedding Wire. I know the likely issue is Ajax loading being enabled on my Brine Template. However, I don't want to disable ajax-loading for my entire site. Can anyone help me with changes to the html or code so that these elements will be "ajax-enabled" and load properly the first time?
  19. Site URL: https://www.sculptedbybee.com/ I have installed a sentry log in widget that is functional to a point, however it does not disappear after logging you in nor does it land you on the correct page. I have to manually close the log in box and choose the member page. My squarespace template does not have a disable ajax option, is there a workaround?
  20. I'm using Markdown to create an expanding accordion menu. When you first view the page, the text is hidden. You can click to expand a drop down accordion menu that displays nested text. The issue is that the expanded text messes up the way elements below it on the page display. It looks like the images and backgrounds below the markdown do not respond to the expanded text and remain in their initial position, but the text below the markdown does respond to the expanded text and moves further down the page. The result is that the text appears to overlay or overflow on top of the content beneath the markdown. I already contacted Squarespace support and they verified that this issue was not a known issue, that it is not currently in the works for resolution, and that it has nothing to do with my custom CSS. They suggested I ask the forum, so I'm coming to you guys! The structure for the site I'm using to illustrate this is as follows:Brine templateIndex with pagesSolid color blocks are their own pagesFull bleed images with parallax are their own pages with the image set as the background for the page Here is the Markdown basic structure: <details> <summary>Click to expand!</summary> content goes here </details> Illustrated on this Github forum here: https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab I saw in other questions that some issues with Markdown could be resolved by disabling Ajax loading. I have disabled it and still see the issue. Would love some help with this! Website: teese.squarespace.comPassword: teese
  21. Hi, Am using contact form on Squarespace. After form submission gets all values in a javascript file. Tried below ways: POST-SUBMIT REDIRECT -> http://rpadmanaban-dev.apptivo.net/create.js This field did not accept the script file Another Way: Code injection fields ->this script called the form reload functionality. I need after submission called the script file
  22. Site URL: https://mommytomom.com/ Hi everyone. I would like to enable Ajax loading on my site but it doesn't work with my social sharing buttons and code I use on a few pages. I am not very knowledgeable with coding so I wanted to ask here if there is anything I can do. Is there a code you can add that makes the page refresh each time? I disabled Ajax for now but can turn it back on to troubleshoot if needed. The social buttons I'm referring to are through Shareaholic, they only show up if you refresh the page. Thanks in advance for any help :) Code injection <!-- BEGIN SHAREAHOLIC CODE --> <link rel="preload" href="https://cdn.shareaholic.net/assets/pub/shareaholic.js" as="script" /> <meta name="shareaholic:site_id" content="73ca7139ab230a40546bce24cbe1c713" /> <script data-cfasync="false" async src="https://cdn.shareaholic.net/assets/pub/shareaholic.js"></script> <!-- END SHAREAHOLIC CODE --> The other code I'm referring to I only have on my secondary navigation pages that I want to look like landing pages. It removes the header and footer. https://mommytomom.com/want-to-work-from-home Pages settings, advanced <style> .Header, .Footer, .Mobile-bar, .Mobile-bar--top, .sqs-announcement-bar-custom-location{ display:none !important; } </style>
  23. Site URL: https://www.losremediosdelayayacbd.com/ good morning, I have a problem with my website. When I refresh the web or access any page of the website, a text appears (script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">) at the top of the web (both in the squarespace web editor and when I do it once the web is published in google). I would like to remove this text that is quite annoying and aesthetically looks very bad and unprofessional. pd: I hope that changing it will not modify any aspect of the web. thank you!!! (password: CBD)
  24. Site URL: https://www.sprowt.uk Hi, I need some help. I am having trouble embedding some code into my site that would allow me to have an embedded flodesk form. It is not appearing, and google suggest that I should disable the ajax. But, I can't seem to find it in the new site design, apparently there is is meant to be a site loading section that I don't have. Can anyone help?? Thank you
  25. Site URL: https://www.thelosttwo.com/blog/four-seasons-beverly-hills Hi All, I am having trouble adding the booking.com affiliate map widget to: https://www.thelosttwo.com/blog/four-seasons-beverly-hills. I copy and paste it but it just shows up as "booking.com" and the map is nowhere to be found. My ajax loading is disabled. This is the code: <ins class="bookingaff" data-aid="2180661" data-target_aid="2180661" data-prod="map" data-width="400" data-height="300" data-lang="ualng" data-dest_id="0" data-dest_type="landmark" data-latitude="34.0730472" data-longitude="-118.3893444" data-landmark_name="300 Doheny Dr" data-mwhsb="0" data-address="Four Seasons Hotel Los Angeles At Beverly Hills, 300 Doheny Dr, Los Angeles, CA 90048, United States"> <!-- Anything inside will go away once widget is loaded. --> <a href="//www.booking.com?aid=2180661">Booking.com</a> </ins> <script type="text/javascript"> (function(d, sc, u) { var s = d.createElement(sc), p = d.getElementsByTagName(sc)[0]; s.type = 'text/javascript'; s.async = true; s.src = u + '?v=' + (+new Date()); p.parentNode.insertBefore(s,p); })(document, 'script', '//aff.bstatic.com/static/affiliate_base/js/flexiproduct.js'); </script> Is there anything I need to change? Thank you!
×
×
  • Create New...