Ir para conteúdo
Fórum Script Brasil

jucacabala

Membros
  • Total de itens

    172
  • Registro em

  • Última visita

Sobre jucacabala

  • Data de Nascimento 01/07/1980

Contatos

  • MSN
    julyana_c@hotmail.com
  • Website URL
    http://www.quartocriativo.com.br/
  • ICQ
    0

Perfil

  • Location
    São Paulo

jucacabala's Achievements

0

Reputação

  1. gente parece coisa do demo mas olha so quando mando abrir meu swf ele roda beleza mas quando chamo ele dentro de uma pagina html ele roda so ate o frame 25 e para! é um banner simples, sem nenhuma ação de script, com umas imagens com efeito alfa... o que pode estar acontecendo?
  2. então fica assim (valeu JCMP)
  3. mesmo assim se eu der um response.write id2 ele mostra somente o valor do ultimo registro da tabela...
  4. olás, tentei a tarde inteira mas não rolou... É o seguinte como faço para exibir os dados de uma tabela e verificar se os registro contem em outra tabela e se conter dar um checked no meu checkbox. tem como? :ph34r: desta forma esta dando Checked somente no ultimo id2 da tabela...
  5. já fiz assim e deu certo, da uma olhada neste link que la também tem alguma coisa http://www.visualbasic.mat.br/vb/artigos_b...rch=excel&B3=OK
  6. vamos lá o valor ativo_site = Request.QueryString("ativo_site") vem do link que uso para entrar na pagina. Ele traz apenas os registros que estao ativo no banco onde o ativo_site = 1. Fiz um "SELECT * FROM aluno where ativo_site= "&ativo_site - que me retorna apenas os registros ativos. Fiz um loop e imprime este resultado na tela, isto tambem esta OK. No meu banco de dados na tabela que estou usando eu tenho tres campos que me retornam 0 ou 1, que são: debito, galeria, ativo_site. Na pagina eu coloquei estes campos em um select box que permite o usuario selecionar sim ou não para cada opção. o que preciso fazer é pegar os valores dos select box dos registros alterados e alterar no banco de dados. Da forma que fiz ele altera somente o valor debito. E não sei como faço para alterar os tres valores dos registros alterados... :(
  7. ola galera! bom tenho a seguinte situ: o arquivo include realiza o loop nos registros. o que preciso é recuperar o valor dos selects box galeria e debito que foram alterados pelo usuario na pagina para tambem alterar no banco de dados. como faço isso?
  8. jucacabala

    Upload

    voce pode usar componentes, é bem mais facil http://www.mco2.com.br/suporte_componentes_dundas_upload.asp
  9. esse funciona! <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <title>SYS - Sistema Corporativo J&W </title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <LINK href="estilos.css" type="text/css" rel="stylesheet"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; if (v=='visible') { MostraDiv(true,args[i]); return; } else { MostraDiv(false,args[i]); } } } function MostraDiv(state,valor) { var DivRef = document.getElementById(valor); var IfrRef = document.getElementById('DivMestra'); if(state) { DivRef.style.display = "block"; IfrRef.style.width = DivRef.offsetWidth; IfrRef.style.height = DivRef.offsetHeight; IfrRef.style.top = DivRef.style.top; IfrRef.style.left = DivRef.style.left; IfrRef.style.zIndex = DivRef.style.zIndex - 1; IfrRef.style.display = "block"; } else { DivRef.style.display = "none"; IfrRef.style.display = "none"; } } //--> </script> <style type="text/css"> BODY { MARGIN: 0px } </style> </HEAD> <body> <div id="sistema" style="Z-INDEX: 100; LEFT: 616px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','show','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('sistema','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0" runat="server"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td><a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td></tr> </table> </td> </tr> </table> </div> <div id="produtos" style="Z-INDEX: 100; LEFT: 516px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','show','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('produtos','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="clientes" style="Z-INDEX: 100; LEFT: 347px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','show','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('clientes','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="cobranca" style="Z-INDEX: 100; LEFT: 427px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table width="135" border="0" cellpadding="0" cellspacing="0" onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','show','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('cobranca','','hide','cobranca-sub1','','hide')"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="usuario" style="Z-INDEX: 100; LEFT: 601px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','show','empresa','','hide')" onmouseout="MM_showHideLayers('usuario','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="empresa" style="Z-INDEX: 100; LEFT: 231px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onMouseOver="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','show')" onMouseOut="MM_showHideLayers('empresa','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0" runat="server"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <iframe id="DivMestra" src="javascript:false;" scrolling="no" frameborder="0" style="position:absolute; top:0px; left:0px; display:none;"></iframe> <table cellSpacing="0" cellPadding="0" width="765" border="0"> <tr> <td vAlign="bottom" width="155" rowSpan="4"><a href="home.aspx"><IMG height="75" border="0" src="image/img_logo.gif" width="155"></a></td> <td vAlign="bottom" align="right" colSpan="14" height="53"><table cellSpacing="0" cellPadding="0" width="70%" border="0"> <tr> <td width="80" align="center" class="verdana8bold">&nbsp;</td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td class="verdana8bold" align="center">Olá</td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td width="58"><a href="home.aspx"><img src="image/ico_home.gif" width="58" height="18" border="0"></a></td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td width="60"><A href="JEWLOGINACE00101.aspx"><IMG alt="" src="image/img_logoff.gif" border="0" name="imglogoff"></A></td> <td width="5">&nbsp;</td> </tr> <tr> <td colSpan="13"><IMG height="8" src="image/space.gif" width="1"></td> </tr> </table> </td> </tr> <tr> <td bgColor="#74b84b" colSpan="14"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td width="96" height="28">&nbsp;</td> <td width="71" onMouseOver="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','show')" onMouseOut="MM_showHideLayers('empresa','','hide')"><A href="#"><img src="image/menu2/menu_r2_c12.gif" border="0"></a></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','show','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('clientes','','hide')" width="68"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c2.gif" width="68" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','show','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('cobranca','','hide','cobranca-sub1','','hide')" width="78"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c4.gif" width="78" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','show','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('produtos','','hide')" width="75"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c6.gif" width="75" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','show','empresa','','hide')" onmouseout="MM_showHideLayers('usuario','','hide')" width="65"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c10.gif" width="65" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','show','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('sistema','','hide')" width="67"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c8.gif" width="67" border="0"></A></td> <td width="15">&nbsp;</td> <td width="1" bgColor="#74b84b" rowSpan="2"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b" colSpan="13"><IMG height="1" src="image/space.gif" width="10"></td> </tr> <tr> <td colSpan="15"><IMG height="1" src="image/space.gif" width="10"></td> </tr> <tr> <td bgColor="#858585" colSpan="15"><IMG height="5" src="image/space.gif" width="1"></td> </tr> </table> <table width="765" border="0" cellpadding="0" cellspacing="0"> <tr> <td><form name="form1" method="post" action=""> <select name="select"> <option selected>selecioneselecineselecione</option> </select> <select name="select2"> <option selected>selecioneselecineselecione</option> </select> <select name="select3"> <option selected>selecioneselecineselecione</option> </select> <select name="select4"> <option selected>seleciones</option> </select> <select name="select5"> <option selected>seleciones</option> </select> <select name="select6"> <option selected>seleciones</option> </select> </form></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> </tr> </table> </body> </HTML>
  10. Menu com DIV <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <title>SYS - Sistema Corporativo J&W </title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <LINK href="estilos.css" type="text/css" rel="stylesheet"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; if (v=='visible') { MostraDiv(true,args[i]); return; } else { MostraDiv(false,args[i]); } } } function MostraDiv(state,valor) { var DivRef = document.getElementById(valor); var IfrRef = document.getElementById('DivMestra'); if(state) { DivRef.style.display = "block"; IfrRef.style.width = DivRef.offsetWidth; IfrRef.style.height = DivRef.offsetHeight; IfrRef.style.top = DivRef.style.top; IfrRef.style.left = DivRef.style.left; IfrRef.style.zIndex = DivRef.style.zIndex - 1; IfrRef.style.display = "block"; } else { DivRef.style.display = "none"; IfrRef.style.display = "none"; } } //--> </script> <style type="text/css"> BODY { MARGIN: 0px } </style> </HEAD> <body> <div id="sistema" style="Z-INDEX: 100; LEFT: 616px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','show','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('sistema','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0" runat="server"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td><a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td></tr> </table> </td> </tr> </table> </div> <div id="produtos" style="Z-INDEX: 100; LEFT: 516px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','show','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('produtos','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="clientes" style="Z-INDEX: 100; LEFT: 347px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','show','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('clientes','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="cobranca" style="Z-INDEX: 100; LEFT: 427px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table width="135" border="0" cellpadding="0" cellspacing="0" onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','show','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('cobranca','','hide','cobranca-sub1','','hide')"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="usuario" style="Z-INDEX: 100; LEFT: 601px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','show','empresa','','hide')" onmouseout="MM_showHideLayers('usuario','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="empresa" style="Z-INDEX: 100; LEFT: 231px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onMouseOver="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','show')" onMouseOut="MM_showHideLayers('empresa','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0" runat="server"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <iframe id="DivMestra" src="javascript:false;" scrolling="no" frameborder="0" style="position:absolute; top:0px; left:0px; display:none;"></iframe> <table cellSpacing="0" cellPadding="0" width="765" border="0"> <tr> <td vAlign="bottom" width="155" rowSpan="4"><a href="home.aspx"><IMG height="75" border="0" src="image/img_logo.gif" width="155"></a></td> <td vAlign="bottom" align="right" colSpan="14" height="53"><table cellSpacing="0" cellPadding="0" width="70%" border="0"> <tr> <td width="80" align="center" class="verdana8bold">&nbsp;</td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td class="verdana8bold" align="center">Olá</td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td width="58"><a href="home.aspx"><img src="image/ico_home.gif" width="58" height="18" border="0"></a></td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td width="60"><A href="JEWLOGINACE00101.aspx"><IMG alt="" src="image/img_logoff.gif" border="0" name="imglogoff"></A></td> <td width="5">&nbsp;</td> </tr> <tr> <td colSpan="13"><IMG height="8" src="image/space.gif" width="1"></td> </tr> </table> </td> </tr> <tr> <td bgColor="#74b84b" colSpan="14"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td width="96" height="28">&nbsp;</td> <td width="71" onMouseOver="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','show')" onMouseOut="MM_showHideLayers('empresa','','hide')"><A href="#"><img src="image/menu2/menu_r2_c12.gif" border="0"></a></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','show','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('clientes','','hide')" width="68"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c2.gif" width="68" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','show','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('cobranca','','hide','cobranca-sub1','','hide')" width="78"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c4.gif" width="78" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','show','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('produtos','','hide')" width="75"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c6.gif" width="75" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','show','empresa','','hide')" onmouseout="MM_showHideLayers('usuario','','hide')" width="65"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c10.gif" width="65" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','show','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('sistema','','hide')" width="67"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c8.gif" width="67" border="0"></A></td> <td width="15">&nbsp;</td> <td width="1" bgColor="#74b84b" rowSpan="2"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b" colSpan="13"><IMG height="1" src="image/space.gif" width="10"></td> </tr> <tr> <td colSpan="15"><IMG height="1" src="image/space.gif" width="10"></td> </tr> <tr> <td bgColor="#858585" colSpan="15"><IMG height="5" src="image/space.gif" width="1"></td> </tr> </table> <table width="765" border="0" cellpadding="0" cellspacing="0"> <tr> <td><form name="form1" method="post" action=""> <select name="select"> <option selected>selecioneselecineselecione</option> </select> <select name="select2"> <option selected>selecioneselecineselecione</option> </select> <select name="select3"> <option selected>selecioneselecineselecione</option> </select> <select name="select4"> <option selected>seleciones</option> </select> <select name="select5"> <option selected>seleciones</option> </select> <select name="select6"> <option selected>seleciones</option> </select> </form></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> </tr> </table> </body> </HTML>
  11. eis a solução, que todo mundo fala que não existe, mas EXISTE! copia e cola este codigo em uma pagina e salva como htm, depois voce teste e ve como funciona! <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD> <title>SYS - Sistema Corporativo J&W </title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <LINK href="estilos.css" type="text/css" rel="stylesheet"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; if (v=='visible') { MostraDiv(true,args[i]); return; } else { MostraDiv(false,args[i]); } } } function MostraDiv(state,valor) { var DivRef = document.getElementById(valor); var IfrRef = document.getElementById('DivMestra'); if(state) { DivRef.style.display = "block"; IfrRef.style.width = DivRef.offsetWidth; IfrRef.style.height = DivRef.offsetHeight; IfrRef.style.top = DivRef.style.top; IfrRef.style.left = DivRef.style.left; IfrRef.style.zIndex = DivRef.style.zIndex - 1; IfrRef.style.display = "block"; } else { DivRef.style.display = "none"; IfrRef.style.display = "none"; } } //--> </script> <style type="text/css"> BODY { MARGIN: 0px } </style> </HEAD> <body> <div id="sistema" style="Z-INDEX: 100; LEFT: 616px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','show','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('sistema','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0" runat="server"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td><a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td></tr> </table> </td> </tr> </table> </div> <div id="produtos" style="Z-INDEX: 100; LEFT: 516px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','show','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('produtos','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="clientes" style="Z-INDEX: 100; LEFT: 347px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','show','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('clientes','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="cobranca" style="Z-INDEX: 100; LEFT: 427px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table width="135" border="0" cellpadding="0" cellspacing="0" onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','show','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('cobranca','','hide','cobranca-sub1','','hide')"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="usuario" style="Z-INDEX: 100; LEFT: 601px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 137px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','show','empresa','','hide')" onmouseout="MM_showHideLayers('usuario','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a><br> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <div id="empresa" style="Z-INDEX: 100; LEFT: 231px; VISIBILITY: hidden; OVERFLOW: visible; WIDTH: 135px; POSITION: absolute; TOP: 80px; HEIGHT: 17px"> <table onMouseOver="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','show')" onMouseOut="MM_showHideLayers('empresa','','hide')" cellSpacing="0" cellPadding="0" width="135" border="0" runat="server"> <tr> <td><IMG height="2" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#ffffff"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td> <table class="box2" cellSpacing="0" cellPadding="0" width="135" bgColor="#ffffff" border="0"> <tr> <td bgColor="#74b84b"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td> <a href="#">menu</a> </td> </tr> </table> </td> </tr> </table> </div> <iframe id="DivMestra" src="javascript:false;" scrolling="no" frameborder="0" style="position:absolute; top:0px; left:0px; display:none;"></iframe> <table cellSpacing="0" cellPadding="0" width="765" border="0"> <tr> <td vAlign="bottom" width="155" rowSpan="4"><a href="home.aspx"><IMG height="75" border="0" src="image/img_logo.gif" width="155"></a></td> <td vAlign="bottom" align="right" colSpan="14" height="53"><table cellSpacing="0" cellPadding="0" width="70%" border="0"> <tr> <td width="80" align="center" class="verdana8bold">&nbsp;</td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td class="verdana8bold" align="center">Olá</td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td width="58"><a href="home.aspx"><img src="image/ico_home.gif" width="58" height="18" border="0"></a></td> <td width="15">&nbsp;</td> <td width="2"><IMG height="21" src="image/img_separador.gif" width="2"></td> <td width="15">&nbsp;</td> <td width="60"><A href="JEWLOGINACE00101.aspx"><IMG alt="" src="image/img_logoff.gif" border="0" name="imglogoff"></A></td> <td width="5">&nbsp;</td> </tr> <tr> <td colSpan="13"><IMG height="8" src="image/space.gif" width="1"></td> </tr> </table> </td> </tr> <tr> <td bgColor="#74b84b" colSpan="14"><IMG height="1" src="image/space.gif" width="1"></td> </tr> <tr> <td width="96" height="28">&nbsp;</td> <td width="71" onMouseOver="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','show')" onMouseOut="MM_showHideLayers('empresa','','hide')"><A href="#"><img src="image/menu2/menu_r2_c12.gif" border="0"></a></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','show','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('clientes','','hide')" width="68"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c2.gif" width="68" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','show','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('cobranca','','hide','cobranca-sub1','','hide')" width="78"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c4.gif" width="78" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','show','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('produtos','','hide')" width="75"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c6.gif" width="75" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','hide','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','show','empresa','','hide')" onmouseout="MM_showHideLayers('usuario','','hide')" width="65"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c10.gif" width="65" border="0"></A></td> <td width="15">&nbsp;</td> <td onmouseover="MM_showHideLayers('sistema','','show','produtos','','hide','clientes','','hide','cobranca','','hide','cobranca-sub1','','hide','usuario','','hide','empresa','','hide')" onmouseout="MM_showHideLayers('sistema','','hide')" width="67"><A href="#"><IMG height="28" src="image/menu2/menu_r2_c8.gif" width="67" border="0"></A></td> <td width="15">&nbsp;</td> <td width="1" bgColor="#74b84b" rowSpan="2"><IMG height="5" src="image/space.gif" width="1"></td> </tr> <tr> <td bgColor="#74b84b" colSpan="13"><IMG height="1" src="image/space.gif" width="10"></td> </tr> <tr> <td colSpan="15"><IMG height="1" src="image/space.gif" width="10"></td> </tr> <tr> <td bgColor="#858585" colSpan="15"><IMG height="5" src="image/space.gif" width="1"></td> </tr> </table> <table width="765" border="0" cellpadding="0" cellspacing="0"> <tr> <td><form name="form1" method="post" action=""> <select name="select"> <option selected>selecioneselecineselecione</option> </select> <select name="select2"> <option selected>selecioneselecineselecione</option> </select> <select name="select3"> <option selected>selecioneselecineselecione</option> </select> <select name="select4"> <option selected>seleciones</option> </select> <select name="select5"> <option selected>seleciones</option> </select> <select name="select6"> <option selected>seleciones</option> </select> </form></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> </tr> </table> </body> </HTML>
  12. RESPOSTA no form: <input name="id" type="checkbox" id="id" value="<% = rs.Fields("ID") %>"> na pagina delete: <% DIM conexaodb, rs, str, id ARRcodAltera = trim(request("id")) '-- pega todos IDs selecionados Set objFS = Server.CreateObject("Scripting.FileSystemObject") if len(ARRcodAltera) > 0 then '-- se há conteudo na variavel id = split(ARRcodAltera,",") '-- pega a listagem de IDs separados por virgula e cria matriz call abreconexao for i = 0 to ubound(id) '-- para cada item da matriz '-- selecionar titulo do arquivo set rs = conexaodb.Execute("select titulo from download where id="&id(i)) titulo = rs(0) arquivo = "C:\web\download\"&titulo If objFS.FileExists(arquivo) Then '-- se o arquivo existe apaga o arquivo da pasta e o registro no BD objFS.DeleteFile(arquivo) conexaodb.Execute("DELETE * FROM download WHERE id=" & id(i)) msg = msg & "<br>- " & titulo & " excluido (" & arquivo & ")" else msg = msg & "<br>- " & titulo & " não encontrado (" & arquivo & ")" end if next else msg = "Nenhum arquivo selecionado." end if Set objFS = Nothing %>
  13. ola povao tenho uma pagina de upload para uma pasta e grava o nome do arquivo no banco. Isto esta funcionando OK. tenho uma outra pagina que lista os registros do meu BD. cada um deles possui um checkbox para exclusão, podendo o usuario excluir mais de um registro de uma vez so. Isto tambem esta OK. o que preciso é excluir da pasta todos os arquivos que foram selecionados, usando FSO sei como faço para exluir um arquivo. agora dois não tenho a minima noção. sera que voces podem me ajudar? Beijocas da Ju
  14. solucionado if tipo = 1 or tipo = 2 then str2 = "delete from associados where codigo ='"&codigo&"' and (tipo= 3 or tipo=4)" elseif tipo = 3 then str2 = "delete from associados where codigo ='"&codigo&"' and (tipo=1 or tipo=2 or tipo=4)" elseif tipo = 4 then str2 = "delete from associados where codigo ='"&codigo&"' and (tipo=1 or tipo=2 or tipo=3)" end if
×
×
  • Criar Novo...