Ir para conteúdo
Fórum Script Brasil

fercosmig

Moderadores
  • Total de itens

    4.048
  • Registro em

  • Última visita

Posts postados por fercosmig

  1. <script language="JavaScript" type="text/javascript">

    <!--

    function altera_form(valor){

    switch (valor) {

    case 'não':

    v_dois = 'Nome: <input type="text" name="txtnome" />';

    v_tres = 'Endereço: <input type="text" name="txtendereco" />';

    break;

    case 'sim':

    v_dois = 'cidade: <input type="text" name="txtcidade" />';

    v_tres = 'estado: <input type="text" name="txtestado" />';

    break;

    default:

    v_dois = '';

    v_tres = '';

    }

    document.getElementById('dois').innerHTML = v_dois;

    document.getElementById('tres').innerHTML = v_tres;

    }

    //-->

    </script>

    </head>

    <body>

    <form action="" name="formulario">

    <table border="0" width="100%"><tr><td id="um">

    <select name="cboEstagioPrefeitura" id="select" onChange="altera_form(this.value);">

    <option value="vazio">Selecione

    <option value="não">NÃO

    <option value="sim">SIM

    </select>

    </td></tr>

    <tr><td id="dois"></td></tr>

    <tr><td id="tres"></td></tr>

    </table></form>

    fiz um exemplo ae, só adaptar.

    abraços

  2. <Input type="radio" OnClick="if (document.getElementById('teste').style.display == '') { document.getElementById('teste').style.display = 'none' } else { document.getElementById('teste').style.display = '' }">

    <b>sistemas afetados</b>

    <br>

    <div id="teste" style="width: 80; display: none; padding: 8px; background-color: #E7ECF1; border: solid 1px #ACB6C0">

    <input name="a" type="checkbox" value="t1"/>Teste 1<br>

    <input name="a" type="checkbox" value="t2"/>Teste 2<br>

    <input name="a" type="checkbox" value="t3"/>Teste 3<br>

    <input name="a" type="checkbox" value="t4"/>Teste 4<br>

    <input name="a" type="checkbox" value="t5"/>Teste 5

    </div>

    um exemplo ae! só adaptar

    abraços

  3. no 1º link tem um esqueminha bem light

    1-Go to "Control Panel"-"Administrative Tools"-"Internet Information Services".

    2-Expand the tree to "COMPUTERNAME"-"Web Sites"-"Default Web Site".

    3-Right-click on "Default Web Site" and select "Properties". (Alternately, select "Default Web Site" and press Alt+Enter.)

    4-Select the "Home Directory" tab.

    5-Click the "Configuration" button.

    6-From the "Mappings" tab, select the "Add" button.

    7-Click the "Browse..." button, choose "Dynamic Link Libraries *.dll" from the "Files of Type" dropdown, and select c:\WINDOWS\System32\inetsrv\asp.dll.

    8-Type ".html" (without quotes) in the "Extension" box.

    9-Select the "Limit to:" radio button, and type in "GET, POST" (without quotes) in the box next to it.

    10-Click the "OK" button and close all the dialogs. (If the "OK" button is greyed out, then make sure all the entries are correct and try clicking in the file name box.)

    e no link tem as telas pra você acompanhar!

    abraços

×
×
  • Criar Novo...