Jump to content

Order of Code Blocks Causing One To Stop Working?

Recommended Posts

Hi,

I'm rebuilding a site for a client and they have 3 javascript calculators they had built for them which are added into separate code blocks in separate sections on a page (7.1 classic editor). The issue is one of them will only work when it is the last section!!! And it ideally needs to be the second section!

But as soon as it is moved from being the last section its breaks it. Anyone have any ideas on what could be causing the problem.

Working when in last position (final calculator - 'How Much Return Could Your Investment Generate?' - the one with a graph)
https://ruby-grapefruit-37nm.squarespace.com/tools

NOT working when in second position ( 'How Much Return Could Your Investment Generate?' - graph and sliders now not working/showing/enabled)
https://ruby-grapefruit-37nm.squarespace.com/tools-test

Any ideas would be appreciated

Link to comment
  • Replies 1
  • Views 530
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.