Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>Telesurveillance</title>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <script>
- function startTeleSurveillance() {
- donne=document.getElementById('t').value;
- tabl=donne.split("\n")
- for(i=0;i<tabl.length;i++)
- {
- Iframe = document.createElement('iframe');
- r=tabl[i].split(' ')
- r=r[0].split(' ')
- Iframe.src=r[0]
- Iframe.style.width="640px";
- Iframe.style.height="480px";
- Iframe.setAttribute('onClick',"alert('"+tabl[i]+"')");
- document.getElementById('cathodiques').appendChild(Iframe);
- }
- }
- </script>
- </head>
- <body>
- <textarea id="t" style="width:400px;">Liens séparés par saut de ligne (peut également contenir des infos de localisation)...</textarea>
- <input type="button" onClick="startTeleSurveillance()" value="J'accepte ce nouveau métier !" \>
- <div id="cathodiques"></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement