Inserting .js and html files into a site page
-
I use an editor program called Squiffy to create text adventure games.
The “BUILD” button (compile) creates 4 files that can be uploaded to the TextAdventures hosting site where folks can play the game. The site is buggy and not secure.
The files types are attached to the end of this post for your reference.
I used the iframe technique to port the game to my self hosted site on a “hidden” page. Pretty simple and the iframe version is handled nicely by the adaptive nature of my Theme (Brigsby) However, there is a lot of communication back and forth grabbing images from my site server to the TextAdventures serve and then sent back again to my iframe embedded page. Gets kinda buggy sometimes and TextAdventures sometimes does not refresh their site very often so it takes forever to see code changes take place.
-
So, I would like to find out of there is a fairly easy way to use the information in the four files and paste them properly into the page on my WP site without modifying the site code. I already utilize the custom css dialog on a page site to customize THAT page, etc. But am lost for how to incorporate properly the code in the four files.
style.css
story.js
jquery.min.js
index.html
- The topic ‘Inserting .js and html files into a site page’ is closed to new replies.