CODE (html):
скопировать код в буфер обмена
скопировать код в буфер обмена
- <html><head></head>
- <body onLoad="chat1();chat2();chat3();">
- $stranica=$_GET['stranice'];
- if($stranica=="1"){
- <iframe id='text1'></iframe>
- <script>
- function chat1(){
- document.getElementById("text1").contentWindow.document.designMode="On";
- }
- <iframe id='text2'></iframe>
- <script>
- function chat2(){
- document.getElementById("text2").contentWindow.document.designMode="On";
- }
- </script>
- }
- elseif($stranica=="2" ){
- <iframe id='text2'></iframe>
- <script>
- function chat3(){
- document.getElementById("text3").contentWindow.document.designMode="On";
- }
- </script>
- }
- </body></html>