running floatbox from dir other than root?

Page: 1

Author Post
Member
Registered: Apr 2015
Posts: 2
hi, just wondering if it's possible to run floatbox with the files somewhere other than the root dir of the site? I tried putting them somewhere else and then changing the path in the header <script> to match, but it didn't seem to work.

(asking because I'm using squarespace with some DNS re-routing to another domain name so can't quite find how to access the root dir.)

an example page is: http://josh-granger.squarespace.com/float-test

thanks!
Administrator
Registered: Aug 2008
Posts: 3382
No problem running floatbox from any folder, but you have to make sure you move all the floatbox files into the new folder.

The problem you have on your test page is that you are loading floatbox.css as the script src, instead of loading floatbox.js.
Member
Registered: Apr 2015
Posts: 2
thanks a ton! operator error on that, and great to know it can run from any folder. squarespace informed me that files can be uploaded to an "assets" folder, so I put the files in there, changed the code to what it should be (thanks again), and updated paths, and all is well with the world.

Page: 1