Avatar

This code works on IE6, im not a web developer and i know a little JS, im a perl coder, i had try to make it work on Firefox but only had a little success.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
  <tr>
    <td height=1>
    </td>
  </tr>
  <tr>
    <td valign=top>
        <div id="centro_normal" style="display: block;">
<!--      <iframe id="treeFrame" width="30%" height="100%" src="$urlProcesa?plantilla=$uriPlantilla/catTree.html&id_sis=$sistemaActual->{'sistemas.c_id_sis'}&bri=$FORM{'bri'}"></iframe>
          <iframe id="contenidoFrame" width="70%" height="100%" src="about:blank" frameborder=0></iframe>-->
          <iframe id="displayFrame" width="100%" height="100%" src="about:blank"></iframe>
        </div>
        <div id="centro_edit" style="display: none;">
          <table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
            <tr>
                <td>
                  <iframe id="editFrame" width="100%" height="100%" src="about:blank" frameborder=0></iframe>
                </td>
            </tr>
            <tr>
                <td height=25 align=center>
                  <img border=0 src="images/botones/aceptar.gif" onClick="aceptarHtml();">&nbsp;&nbsp;&nbsp;&nbsp;<img border=0 src="images/botones/cancelar.gif" onClick="cancelarHtml();">
                </td>
            </tr>
          </table>
        </div>
    </td>
  </tr>
</table>
<script language="javascript1.2">
        displayFrame.document.open();
        displayFrame.document.writeln();
        displayFrame.document.writeln('<frameset cols="0,200,*" frameborder="yes" border="1" framespacing="0">');
        displayFrame.document.writeln('    <frame name="searchFrame" src="$urlProcesa?plantilla=$uriPlantilla/buscar.html&id_sis=$sistemaActual->{'sistemas.c_id_sis'}&bri=$FORM{'bri'}" frameborder="yes">');
        displayFrame.document.writeln('    <frame name="treeFrame" src="$urlProcesa?plantilla=$uriPlantilla/catTree.html&id_sis=$sistemaActual->{'sistemas.c_id_sis'}&bri=$FORM{'bri'}" frameborder="yes" marginwidth="0" marginheight="0">');
        displayFrame.document.writeln('    <frame name="contenidoFrame" src="about:blank" scrolling="AUTO" frameborder="yes" marginwidth="5" marginheight="5">');
        displayFrame.document.writeln('  </frameset>');
        displayFrame.document.close();
</script>

Refactorings

No refactoring yet !

5a00a3a98dcf6f9cd717440fd2b606e5

Eineki

April 27, 2010, April 27, 2010 11:45, permalink

No rating. Login to rate!

Is my previous post still pending approval?

928b47489462b9301d8e7026d9b074cf

tribadiainterna

July 17, 2010, July 17, 2010 01:27, permalink

No rating. Login to rate!

it was very interesting to read.
I want to quote your post in my blog. It can?
And you et an account on Twitter?

928b47489462b9301d8e7026d9b074cf

harakter

July 31, 2010, July 31, 2010 23:27, permalink

No rating. Login to rate!

I would like to exchange links with your site refactormycode.com
Is this possible?

Your refactoring





Format Copy from initial code

or Cancel