Template:CodeTest: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 21: Line 21:
         if(event.data==="expand"){
         if(event.data==="expand"){
             frame.style = "position: fixed;inset: 0px;height: 100vh;width: 100vw;z-index:1000000;border: 0px;"
             frame.style = "position: fixed;inset: 0px;height: 100vh;width: 100vw;z-index:1000000;border: 0px;"
         } else {
         }  
if(event.data==="contract"){
             frame.style = "";
             frame.style = "";
         }
         }

Latest revision as of 17:09, 21 January 2025