Html = my_folder.get_download_stream('NAME_OF_KEPLER_HTML_FILE.html').read()įinally, you can use a small javascript function to add the html to the iframe you previously created : $.Lists Unordered Lists Ordered Lists Other Lists HTML Block & Inline HTML Div HTML Classes HTML Id HTML Iframes HTML JavaScript HTML File Paths HTML Head HTML Layout HTML Responsive HTML Computercode HTML Semantics HTML Style Guide HTML Entities HTML Symbols HTML Emojis HTML Charsets HTML URL Encode HTML vs. My_folder = dataiku.Folder("MY_FOLDER_NAME") If your html is stored in a folder, you can just use the following code (adapted to your situation of course) : import get_kepler_map(): Here, you ca either create directly your interactive map in your backend or create it appart and then use a folder to store the HTML (As you do before). Then, you have to create a Python endpoint that will fetch the information from your folder. For that, you will need a Python backend as well as some basic knowledge of JavaScript.įirst, you can create an iframe into your HTML code that you can name whatever you want It is indeed possible to do so pretty easily. The example illustrates an iframe code used to display another webpage on the current webpage. Commonly it is used to embed videos, external ads, maps and other media. With this frame, you can embed another HTML page or external URL into the current page (parent page). The
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |