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

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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 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: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
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 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

Greeting, it's 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: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
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 comment

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.