My CSS and global variables in my html is not being recognized. I discovered that @Daniel 's comment is why.
Can someone please elaborate on how can include the javascript and css I have in the into an iframe and have it read when I serve it on a Wordpress site.
Is this something I can do within the Tumult interface? Do I create a resource file? I tried creating an html file with the js and the css inside and iframe and added it to the resource files. No luck.
Or is it a file that I have to add outside the app? If so where?
This is what I have in the head html:
<script type="text/javascript">
// global variables
var totalSelectOne = 0;
var totalSelectTwo = 0;
var arrayAccum = [0.00,0.00,0.00,0.00,0.00];
var maxDistanceHold = [0.00,0.00,0.00,0.00,0.00];
var electricHold = [0.00,0.00,0.00,0.00,0.00];
var hydroFuelHold = [0.00,0.00,0.00,0.00,0.00];
</script>
<style type="text/css">
.activeButton{
border-style: solid!important;
border-width: 3px!important;
border-color: #438730!important;
}
</style>
Thanks!
https://www.greensight.no/testapp/
prototypeV7.zip (650.5 KB)