clary Posted October 24, 2020 Share Posted October 24, 2020 Site URL: https://guitar-perch-t8w6.squarespace.com/get-data The content of an iframe appears in edit mode but not at all when published. I'm wondering if it's because I'm requesting from an http site and not an https one. The code I'm working with is: <div style="border: 0px solid #D5CC5A; overflow: hidden;"><iframe style="border: 0px none; margin-top: -85px; height: 985px; width: 100%;" src="http://bmpdatabase.org/tools/stats_map/v2/#/map?owner=bmpdatabase" scrolling="no"> </iframe></div> Any help would be appreciated! Link to comment
tcp13 Posted October 24, 2020 Share Posted October 24, 2020 (edited) Hi @clary, Yup - you guessed it! Here's the error showing in Chrome console: You should be able to simply change the http to https, since the page you're embedding appears to already support it: <div style="border: 0px solid #D5CC5A; overflow: hidden;"> <iframe style="border: 0px none; margin-top: -85px; height: 985px; width: 100%;" src="https://bmpdatabase.org/tools/stats_map/v2/#/map?owner=bmpdatabase" scrolling="no"> </iframe> </div> With this expected result: Hope this helps! -Tyler Edited October 24, 2020 by tcp13 Hey, I’m Tyler. 👋 I’ve been a professional Squarespace user since 2016. I’m a recovering startup founder, currently on sabbatical after selling my Squarespace business. I now spend my free time working on weird side projects and half-baked ideas. Link to comment
clary Posted October 24, 2020 Author Share Posted October 24, 2020 It worked! You are my new best friend. *sends drinks down bar to New Best Friend. tcp13 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment