Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.




<body  >

 <a href=""> See the rest article on this on by BLOG</a>
<FORM name="form1">
        winner is <INPUT type="text" name="mytext" value="TBD" size="3" >

<img src="" onLoad="winner(1);"> CGI
<img src="" onLoad="winner(2);">Nonsense:
 deliberately a dead address that will not return quickly
<img src="" onLoad="winner(3);">
<img src="" onLoad="winner(4);">github
<img src="" onLoad="winner(5);">Blogspot
  Problem is this one will cache in the browser and will always win. 

<!-- iframe id="TVchanger" name="changer" src="" marginwidth="0" marginheight="0" width="800" frameborder="0" height="600" scrolling="no"></iframe>&nbsp;</p !-->
  <div id="content"> </div>






var outs = " ";
var cn1=0;
var channel=0;
var maxchannel=10;

function winner(cnl) {

     if(channel === 0){
        channel = cnl;
     document.form1.mytext.value = channel;
     } //document.getElementById('TVchanger').src= "" + channel + ".html"
     //   document.getElementById('TVchanger').value= "" + channel + ".html"

 outs = outs + " : " + cnl;
         document.getElementById("content").innerHTML = "The winner was " + outs ;
   //  }