Post-Platform Digital Publishing Toolkit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
playground:chair [2025/01/25 14:27] – created ipekplayground:chair [2025/01/26 16:51] (current) wgp
Line 1: Line 1:
-Test+<HTML> 
 +<script> 
 +    function fetch_request(url, callback){ 
 +        // fetching the pad 
 +        fetch(`${url}`,
 +            'method': 'GET', 
 +            'mode': 'cors', 
 +        }) 
 +        .then(response => response.text() ) 
 +        .then(css => inject_css(css) ); 
 +    } 
 +    function inject_css(css){ 
 +        console.log('pad loaded!'); 
 +        let el = document.createElement('style'); 
 +        el.id = "etherstyle"; 
 +        el.innerText = css; 
 +        document.head.appendChild(el); 
 +    }; 
 +    fetch_request("/doku.php?id=stylesheet:style_chair&do=export_text", inject_css); 
 +</script> 
 +</HTML> 
 + 
 +Chairs  
 + 
 +Chairs  
 + 
 +Chairs 
  
playground/chair.1737815242.txt.gz · Last modified: 2025/01/25 16:56 (external edit)