Ticket #10456: _template_test2.html

File _template_test2.html, 734 bytes (added by Jakub Ś, 7 years ago)
Line 
1<!DOCTYPE html>
2<html>
3         <head>
4                <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
5                <title>test</title>             
6                <base href="http://www.w3schools.com/images/" target="_blank">         
7                <script>
8                        function test(){
9                                document.getElementsByTagName('iframe')[0].contentWindow.document.getElementsByTagName("body")[0].setAttribute('style', 'background-image: url("../../../../../c.jpg")');
10                        }
11                </script>
12        </head>
13<body onload="test();">
14        <h1>Editable section</h1>
15<iframe sandbox="allow-same-origin allow-top-navigation allow-forms allow-scripts" width=500 height=500 srcdoc="<!DOCTYPE html><html><head><title>test</title></head><body><div><p>test</p></div></body></html>"></iframe>
16
17
18</body>
19</html>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy