3c3
<
Supervising Changing Everything - RJM Programming - January, 2015
---
> Changing Everything - RJM Programming - January, 2015
7,11d6
<
< var xf=null;
< var yf=null;
<
<
70,71c65,66
< yf.body.innerHTML = yf.body.innerHTML.replace(/\/option/g, '/input').replace(/option /g, 'input type="button" ').replace(/\/select/g, '/span').replace(/select /g, 'span ');
< buttonMorse = yf.body.innerHTML;
---
> document.body.innerHTML = document.body.innerHTML.replace(/\/option/g, '/input').replace(/option /g, 'input type="button" ').replace(/\/select/g, '/span').replace(/select /g, 'span ');
> buttonMorse = document.body.innerHTML;
73c68
< yf.body.innerHTML = buttonMorse;
---
> document.body.innerHTML = buttonMorse;
75,76c70,71
< yf.body.innerHTML = yf.body.innerHTML.replace(/\/option/g, '/input').replace(/option /g, 'input type="button" ').replace(/\/select/g, '/span').replace(/select /g, 'span ');
< buttonNonMorse = yf.body.innerHTML;
---
> document.body.innerHTML = document.body.innerHTML.replace(/\/option/g, '/input').replace(/option /g, 'input type="button" ').replace(/\/select/g, '/span').replace(/select /g, 'span ');
> buttonNonMorse = document.body.innerHTML;
78c73
< yf.body.innerHTML = buttonNonMorse;
---
> document.body.innerHTML = buttonNonMorse;
83c78
< yf.body.innerHTML = optionMorse;
---
> document.body.innerHTML = optionMorse;
85c80
< yf.body.innerHTML = optionNonMorse;
---
> document.body.innerHTML = optionNonMorse;
94,96c89,91
< if (subwas == '' && mode != "option") subwas = yf.body.innerHTML;
< if (mode != "option") yf.body.innerHTML = yf.body.innerHTML.replace(/this.type/g, 'thisDOTtype');
< k = yf.body.innerHTML.indexOf(mtable[0]);
---
> if (subwas == '' && mode != "option") subwas = document.body.innerHTML;
> if (mode != "option") document.body.innerHTML = document.body.innerHTML.replace(/this.type/g, 'thisDOTtype');
> k = document.body.innerHTML.indexOf(mtable[0]);
99c94
< yf.body.innerHTML = eval("yf.body.innerHTML.replace('>" + mtable[i] + "<', '>" + mtable[i + 1] + "<')");
---
> document.body.innerHTML = eval("document.body.innerHTML.replace('>" + mtable[i] + "<', '>" + mtable[i + 1] + "<')");
101,102c96,97
< yf.body.innerHTML = yf.body.innerHTML.substring(0,k) + eval("yf.body.innerHTML.substring(k).replace('" + mtable[i] + "', '" + mtable[i + 1] + "')");
< if ((i + 2) < mtable.length) k = k + yf.body.innerHTML.substring(k).indexOf(mtable[i + 2]);
---
> document.body.innerHTML = document.body.innerHTML.substring(0,k) + eval("document.body.innerHTML.substring(k).replace('" + mtable[i] + "', '" + mtable[i + 1] + "')");
> if ((i + 2) < mtable.length) k = k + document.body.innerHTML.substring(k).indexOf(mtable[i + 2]);
105,106c100,101
< yf.body.innerHTML = yf.body.innerHTML.replace(/thisDOTtype/g, 'this.type');
< if (mode == 'option') optionNonMorse = yf.body.innerHTML;
---
> document.body.innerHTML = document.body.innerHTML.replace(/thisDOTtype/g, 'this.type');
> if (mode == 'option') optionNonMorse = document.body.innerHTML;
109,110c104,105
< yf.body.innerHTML = subwas;
< if (mode == 'option') optionMorse = yf.body.innerHTML;
---
> document.body.innerHTML = subwas;
> if (mode == 'option') optionMorse = document.body.innerHTML;
114c109
< yf.body.innerHTML = eval("yf.body.innerHTML.replace('>" + mtable[i] + "<', '>" + mtable[i - 1] + "<')");
---
> document.body.innerHTML = eval("document.body.innerHTML.replace('>" + mtable[i] + "<', '>" + mtable[i - 1] + "<')");
116c111
< if (mode == 'option') optionMorse = yf.body.innerHTML;
---
> if (mode == 'option') optionMorse = document.body.innerHTML;
121,136d115
< function togglea(mis) {
< if (mis == "Bigger") {
< document.getElementById("a1").style.display='block';
< document.getElementById("a2").style.display='block';
< } else {
< document.getElementById("a1").style.display='none';
< document.getElementById("a2").style.display='none';
< }
< }
<
< function connect_to_iframe() {
< xf = document.getElementById("myiframe");
< yf = (xf.contentWindow || xf.contentDocument);
< if (yf.document) { yf = yf.document; }
< }
<
139,140c118,119
<
< Changing the Iframe's Look Below ... Time
---
>
> Changing the Look Big Time
143,145c122,167
< Toggle Iframe dropdown OPTION and INPUT button
< Toggle Iframe Morse Code for Characters
<
---
> Toggle dropdown OPTION and INPUT button
> Toggle Morse Code for Characters
>
>
>
>
>