Libro de Visitas Gratis
Inicio | Directorio de Páginas | Diseño Gráfico | Gadgets | Posicionamiento | Webmasters| Buscador de Artículos | Glosarios

Conversión de unidades de fluidos (liquidos)

Añade Tu Web Al Directorio de NocionDigital.com
<HTML>
<HEAD>

<!-- Cut-N-Paste JavaScript from ISN Toolbox
Copyright 1996, Infohiway Server Network.  Restricted use is hereby
granted (both personal and commercial use OK so long as this code is
not *directly* sold), providing this notice is buried somewhere deep
in your HTML document.  A link to http://www.infohiway.com is always
appreciated, but is absolutely and positively not necessary. :-) -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide JavaScript from Java-Impaired Browsers
function initArray() {
  this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
    this[i] = initArray.arguments[i];
    }
  }
/* Please don´t ask about this work-around. It functions... We´re sure arrays
    will be better supported soon. */
var isn03 = new initArray("4b","5b","8b","8b");
isn03[0] = "~01~10.0166667~20.0020833~30.00052083~40.0001302~50.0000651~60.000016276~73.87e-7~8";
isn03[1] = "~060~11~20.125~30.03125~40.0078125~50.00390625~60.000976562~72.3251e-5~8";
isn03[2] = "~0480~18~21~30.25~40.0625~50.03125~60.0078125~70.0001860~8";
isn03[3] = "~01920~132~24~31~40.25~50.125~60.03125~70.000744047~8";
isn03[4] = "~07680~1128~216~34~41~50.5~60.125~70.00297619~8";
isn03[5] = "~015360~1256~232~38~42~51~60.25~70.00595238~8";
isn03[6] = "~061440~11024~2128~332~48~54~61~70.023809523~8";
isn03[7] = "~02580480~143008~25376~31344~4336~5168~642~71~8";


function fluCon() {
  // First, get the variables checked by the user
  for (var i = 0; i < 8; i++) {
    if (document.isnform03.flui[i].checked) {
      flui = i;
      fluinm = document.isnform03.flui[i].value;
      }
    }
  for (var i = 0; i < 8; i++) {
    if (document.isnform03.fluo[i].checked) {
      fluo = i;
      fluonm = document.isnform03.fluo[i].value;
      }
    }
  // Now grab the numeric input by user and parse to be sure numeric
  useri = document.isnform03.fluinp.value;
  if (useri == 0) {
    useri = 1;
    document.isnform03.fluinp.value = useri;
    }
  mulstr = isn03[flui];
  picker = "~" + fluo;
  ps = mulstr.indexOf(picker);
  fluo++;
  picker = "~" + fluo;
  ps1 = mulstr.indexOf(picker);
  mulstr = mulstr.substring((ps + 2),ps1);
  ps = (useri * mulstr);
  picker = "";
  picker += ps
  ps1 = picker.indexOf(".");
  if (ps1 > -1) {
    // Correct for binary/floating point conversion error
    ps = ps + .000001;
    picker = "";
    picker += ps;
    ps2 = picker.indexOf("e");
    if (ps2 < 0) {
      picker = picker.substring(0,(ps1 + 6));
      }
    if (ps2 == 0 || ps2 > 0) {
      ps3 = picker.indexOf("00000");
      if (ps3 > 0) {
        picker = picker.substring(0,ps3 + 1) + picker.substring(ps2,picker.length);
        }
      }
    }
  picker = useri + " " + fluinm + " = " + picker + " " + fluonm
  document.isnform03.fluout.value = picker;
  }
// End Hiding -->
</script>


</head>

<BODY bgcolor="white">

<TABLE BORDER=1 WIDTH=486>
<TR><TD COLSPAN=9 ALIGN=CENTER><FORM NAME="isnform03"><FONT COLOR="blue"><B>U.S. Fluid or Liquid Equivalents</b></font></td></tr>
<TR><TD COLSPAN=9 VALIGN=TOP><FONT SIZE=1><B>First, type the number you wish converted here: </b>
<INPUT TYPE="text" NAME="fluinp" SIZE=30 VALUE="" onChange="fluCon();"><BR><B>Then, click radio buttons for desired conversion:</font></td></tr>
<TR><TD ALIGN=CENTER><FONT COLOR="red" SIZE=1><B>From:</b></font></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Minims<BR><INPUT TYPE="radio" NAME="flui" VALUE="Minims" CHECKED onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Drams<BR><INPUT TYPE="radio" NAME="flui" VALUE="Drams" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Ounces<BR><INPUT TYPE="radio" NAME="flui" VALUE="Ounces" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Gills<BR><INPUT TYPE="radio" NAME="flui" VALUE="Gills" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Pints<BR><INPUT TYPE="radio" NAME="flui" VALUE="Pints" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Quarts<BR><INPUT TYPE="radio" NAME="flui" VALUE="Quarts" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Gallons<BR><INPUT TYPE="radio" NAME="flui" VALUE="Gallons" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Barrels*<BR><INPUT TYPE="radio" NAME="flui" VALUE="Barrels" onClick = ""></td></tr>
<TR><TD ALIGN=CENTER><FONT COLOR="red" SIZE=1><B>To:</b></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Minims<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Minims" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Drams<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Drams" CHECKED onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Ounces<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Ounces" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Gills<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Gills" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Pints<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Pints" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Quarts<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Quarts" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Gallons<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Gallons" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Barrels*<BR><INPUT TYPE="radio" NAME="fluo" VALUE="Barrels" onClick = ""></td></tr>
<TR><TD COLSPAN=9 ALIGN=CENTER VALIGN=TOP><FONT SIZE=1><INPUT TYPE="button" VALUE=" Click for Conversion " onClick="fluCon();"> <INPUT TYPE="reset" VALUE=" Reset Values "><BR><INPUT TYPE="text" NAME="fluout" SIZE=60 VALUE="" onClick="fluCon();"><BR>*42 Gallon Unrefined petroleum oil - no "standard" liquid barrel
</font></td></tr>
</table></form>

</body>
</html>
 
Hits
DOCUMENTOS RELACIONDOS
1740
El tag ... .
2119
Recortar texto.
2871
Detección del navegador.
6059
Simple contador de descargas sin MySQL.
5580
Mensaje mientras se carga la página.
2952
Pantalla tipo Matrix.
2581
Borrar frames no deseados de tus paginas.
3495
Mostrar código fuente.
3505
Cambiar el tiempo máximo de ejecución de los Scripts.
2276
Separar el contenido de una variable.
2246
Menu con CSS.
9908
Convertir a números romanos.
3461
Contraseñas de un solo uso.
1742
xPronor: Localizador y re-emplazador.
1994
Recursividad.
3313
Maximizar una ventana.
1434
Notas sobre el lenguaje.
6340
Presentación con letras ampliandose y moviendose.
2047
Tres en Rayas.
1741
Barajas y cartas.


www.nociondigital.com - Todo para un mundo digital. Páginas Webs, Buscadores y Webmasters....