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

natealex

Member
  • Content Count

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have a weird issue whenever I try to use the innerHTML function in an embedded block. The function does not seem to work properly when multiple blocks are embedded on the same page. Multiple blocks all display the same image even if the code is different. I don't believe this is a coding issue on my end because if I replace innerHTML with textContent, the data pulls correctly. Anyone else have this issue? Images have been attached for clarity. This is the exact same JS, but one uses getElementByID('element').textContent, and the other uses getElementByID('element').innerHTML You can see that the textcontent pull has different data while the innerHTML returns identical data.
  2. The best I've been able to come up with so far creating a page and embedding the art using the embed blocks. This loads up the SVG code properly, but I'd like to have the homepage show previews of these other pages. Any tips?
  3. I am trying to embed SVG code to use as my image rather than using a JPEG snippet of my SVG code. My photo page will be filled with SVG art images rather than photos, so I would much prefer to embed the actual code. Is there a way to do this on squarespace?
×
×
  • Create New...