Jump to content

Issues embedding bootstrap data table using code block

Recommended Posts

Site URL: https://www.nacmiaslaw.com/table-trial

Hi Everyone,

Was embedding a table created with some indexed bootstrap code and it's posing some issues once on site. 

HTML works perfectly fine when opened independently in a browser window, so I'm a bit confused by why the transition on site leaves so much to be desired? 

Attached are images of the code displayed on Squarespace vs in browser independently.

Any help would be greatly appreciated! I'm far from pro, but feel like I'm close to a solution for this :) 

Thanks y'all! 

 

Screen Shot 2020-06-18 at 4.59.39 PM.png

Screen Shot 2020-06-18 at 5.01.36 PM.png

Link to comment
  • Replies 4
  • Created
  • Last Reply

There is a lot of reference issue in squarespace version, did you upload the dependencies on squarespace?

image.thumb.png.8ed16b003bc11971b71ba6b219d440dc.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

No I didn't! Didn't even know that was a thing. Still gotta lot of learning to do :) 

Just followed the tutorial linked below and uploaded the dependencies to the site (with the exception of one that was too big), inked files, and then added injection code to the page header holding the tables:

"<script src="/s/jquerymin.js"></script>
<script src="/s/poppermin.js"></script>
<script src="/s/bootstrapmin.js"></script>
<script src="/s/mdbmin.js"></script>
<script src="/s/datatables2.min.js"></script>
<script src="/s/mdbmin.css"></script>"
<script src="/s/bootstrap.min.css"></script>"

Still no go, but maybe the site needs time to process it?

Link to comment

The table is displaying correct as I can see

image.thumb.png.e4ddd43f6e3e1eb3ef64b02f0e23af7d.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.