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

Issues embedding bootstrap data table using code block


bklawguy

Question

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 post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0

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

image.thumb.png.8ed16b003bc11971b71ba6b219d440dc.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement, Advanced Product Delivery Date Time PickerGeolocation Automatic Currency Converter, Sortable Table from GSheet
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post
  • 0

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 post
  • 0

The table is displaying correct as I can see

image.thumb.png.e4ddd43f6e3e1eb3ef64b02f0e23af7d.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement, Advanced Product Delivery Date Time PickerGeolocation Automatic Currency Converter, Sortable Table from GSheet
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...