squarespace

JavaScript only being called once in Squarespace

强颜欢笑 提交于 2020-01-09 03:57:46
问题 I have some custom JavaScript on my SquareSpace site that manipulates Product titles beyond what you can do with SquareSpace's default style editor. It works when initially loading the page (https://www.manilva.co/catalogue-accessories/) but if you click on any of the categories on the left, the styling resets to the default. I'm assuming the JavaScript is being overwritten by the SquareSpace style, but I can't figure out why. Perhaps I'm calling the function in the wrong place? Any

JavaScript only being called once in Squarespace

血红的双手。 提交于 2020-01-09 03:57:25
问题 I have some custom JavaScript on my SquareSpace site that manipulates Product titles beyond what you can do with SquareSpace's default style editor. It works when initially loading the page (https://www.manilva.co/catalogue-accessories/) but if you click on any of the categories on the left, the styling resets to the default. I'm assuming the JavaScript is being overwritten by the SquareSpace style, but I can't figure out why. Perhaps I'm calling the function in the wrong place? Any

Unable to play Unity web player file embedded in Squarespace page? Will not load?

不打扰是莪最后的温柔 提交于 2019-12-25 07:26:04
问题 Alright, I have built my project for web and have followed several tutorials including this: http://synersteel.com/blog/2015/5/12/unity3d-hosting-a-web-build-on-squarespace-using-dropbox to embed the Unity web player in my squarespace web page. I have hosted Unity 3D file in dropbox and changed the link after u.initPlugin in my HTML file. I did everything as instructed but when I load my web page I get this: This is frustrating as it will not load (the line will not go across). How can I fix

SquareSpace transfer one page to another website

家住魔仙堡 提交于 2019-12-25 01:38:52
问题 I need to transfer a single page over to another SquareSpace website. My client wanted a whole website done but due to budget issues is now only getting a single page for the time being. If it matters, I was building the page on my own account, with the intention of transferring ownership to him once complete. Is there an easy way to transfer just one single index? Its several "pages" worth of content that is to be used as a landing page. I can just do it manually, but if there is a better

If Statement not working with And (&&) Operator

大憨熊 提交于 2019-12-22 10:53:34
问题 I'm having a hard time writing up what seems should be a simple if statement! I need it to say if mod does not equal a, b, or c - then do this. Here is what I was trying but have been unsuccessful: var mod = CURRENT_MODULE_ID; if (mod != "5827289" && mod != "5195103" && mod != "5181422") { doSomething(); } When I type this into my editor it says there is an error, specifically that "The entity name must immediately follow the '&' in the entity reference." .. and is not working when I go to

special character in squarespace (text block)

隐身守侯 提交于 2019-12-14 04:21:35
问题 I wish to use a special character in squarespace 6, using a template with a text block.... how ? I tried with → to include →, but didnt work. I see the code in plain text in the site. 回答1: I talked to the squarespace support and they told me that this is not possible. The best way is to literary copy and paste it into the text block. 回答2: you could use this ascii character in the code block, use <p>→</p> → in the code block and it should solve the problem http://help.squarespace.com/guides

How can I bind events to the Squarespace AjaxLoader?

拥有回忆 提交于 2019-12-13 14:41:18
问题 I'm working on a Squarespace site at the moment, trying to figure out how I can bind a function to their AjaxLoader without much success. Here is a demo site that uses this loader In my console I can see all the XHR requests being triggered when switching between pages, and I've tried using the debug to capture event listeners. I thought something bound to "readystatechange" would work, but it only triggers on the initial page load. $(window).on("readystatechange", doStuff); 回答1: I found a

JS fine in Fiddle but doesn't animate until browser resize on Squarespace site

南笙酒味 提交于 2019-12-13 04:20:53
问题 I'm using jQuery Isotope to animate images on my site. It works fine in jsFiddle but the animation refuses to initialise until I resize the browser on the site itself. I have looked at other related questions and tried wrapping the code in a ready function and looking for hidden characters but nothing seems to work. The site is: http://rgbdrinks.squarespace.com and the fiddle is: http://jsfiddle.net/tutmoses/kxLck/3/ Any help gratefully received. Andrew <div id="container"> <div class="item">

How to make an if statement with JSONT

早过忘川 提交于 2019-12-13 01:25:18
问题 How can I check a property for a specific value?? IE: The JSONT version of if(someProperty == someValue){ //Do some stuff } 回答1: The control-of-flow syntax for if is: {.if pagination} // Do some stuff {.end} But if you're looking to do if/equals then: {.equal? @index 1} // Do some stuff {.end} That said, it appears that JSONT is a forked language without an active community working on any particular implementation so the syntax will vary. In this case, I'm referring to Squarespace's

How do I add a custom CSS image to the target background behind a given layer of text in Squarespace?

∥☆過路亽.° 提交于 2019-12-12 01:14:56
问题 We are working on customising a website for our client in Squarespace (so that they can manage it on their own). I've added a CSS style to the background of a layer of text, but it won't show up. I have imported the image to use into Squarespace and I have the URL. I have also inspected the page element and found the id that I'm wanting to target to. This is my code: #yui_3_17_2_5_1465050472193_17704 { background-image: url("http://static1.squarespace.com/static/55bed56ee4b04fdc6e0dd0d8/t