View Single Post
  #343  
Old 07-01-2021, 10:35 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Just a tip, if you want to iframe something quickly, like a support app, that resizes automatically, you can add code like this to a static page or wherever...
Code:
<iframe class="w-100 border-0" id="myIFrame" name="myIFrame" src="./path/to/your/app" onload="updateIframe()" scrolling="no"></iframe> <script src="{$AltSkinDir}/js/plugins/iframe/dynifs.min.js"></script> <script> function updateIframe() { DYNIFS.resize('myIFrame'); } setInterval(updateIframe, 500); </script>
You can see a demo here.
__________________
xcartmods.co.uk
Reply With Quote