Ir para conteúdo
Fórum Script Brasil

jucacabala

Membros
  • Total de itens

    172
  • Registro em

  • Última visita

Tudo que jucacabala postou

  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
  15. não apresenta erro mas se o associado cadastra um curriculo perfil 3 e ou 4 acaba deletando todos os dados de todos os associados do meu BD
  16. povao é o seguinte, tenho um site que os associados podem cadastrar seu curriculo. tenho 4 tipos de perfis o problema é que ele so podera ter 2 curriculos cadastrados se os perfis forem o 1 e o 3 se o perfil for 3 ou 4 ele so pode ter este curriculo cadastrado então se ele cadastra ou altera o perfil para 3 ou 4 todos os outros curriculos devem ser deletados do BD e se ele cadastra o perfil 1 ou 2 todos os curriculos deste associado com o perfil 3 e 4 devem ser deletados fiz este codigo, mas não funciona codigo = request.form("codigo") str = "select * from associados where codigo ='"&codigo&"' and perfil ='"&perfil&"' " str1 = "INSERT INTO associados (codigo, perfil, tipo, nome, site, telefone2, telefone3, formacao, funcoes, experiencia, idioma, cursos, resumo1, resumo2) " str1 = str1 & "VALUES ('" & codigo & "','" & perfil & "'," & tipo & ",'" & nome &"','" & site & "','" & telefone2 & "','" & telefone3 & "','" & formacao & "','" & funcoes & "','" & experiencia & "','" & idioma & "','" & cursos & "','" & resumo1 & "','" & resumo2 & "')" 'if tipo = 1 or tipo = 2 then 'str2 = "delete from associados where codigo ='"&codigo&"' and tipo= 3 and tipo=4" 'end if 'if tipo = 3 then 'str2 = "delete from associados where codigo ='"&codigo&"' and tipo=1 and tipo=2 and tipo=4 " 'end if 'if tipo = 4 then 'str2 = "delete from associados where codigo ='"&codigo&"' and tipo=1 and tipo=2 and tipo=3 " 'end if call abreConexao set rs = conexaodb.Execute(str)
  17. jucacabala

    Asp Smart Upload

    Dead-Drunk por acaso este seu codigo grava no BD o nome dos arquivos que você faz upload? é que eu tava precisando de uma ajuda, pois tenho dois campos FILE no meu form e queria que cada um dos FILEs fosse gravado no meu BD so que em campos diferentes. se este seu codigo faz isso tem como você postar ele completo para que eu possa ter uma ideia de como se faz? pois sou iniciante em asp e não tenho ideia de como se faz isso. para o upload estou usando o dundas. tambem já usei o Smart olha o script que usei e deu certo: <% Dim mySmartUpload Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload") mySmartUpload.Upload mySmartUpload.Save("pasta onde salvar") %> mas tambem voce pode fazer isso que o bareta falou. http://aspalliance.com/dundas/default.aspx
  18. jucacabala

    Dundas De Novo

    sim os dois campos são do tipo FILE ele envia o arquivo para a pasta mas não grava o nome no banco. voce tem algum exemplo onde eu possa ver como é montado o codigo?
  19. jucacabala

    Dundas De Novo

    bareta não deu certo ele inseri no banco apenas o nome do ultimo campo file
  20. depois de muitas horas procurando encontrei alguém que me deu a resposta certa acho que vale para todos aqueles que procuram solucionar este problema que muitos dizem não ter solução! http://forum.imasters.com.br/index.php?showtopic=35345 agora o codigo para mais de um menu:
  21. jucacabala

    Problemas Com Update

    posta o erro e verifica se os campos numericos estao indo com algum valor pro BD
  22. jucacabala

    Dundas De Novo

    ai para cada insert eu coloco um campo diferente? por exemplo no 1 eu mando gravar no thumb e no segundo insert eu mando gravar na foto? vou dar uma testado e posto o resultado!
  23. jucacabala

    Problemas Com Update

    lembre-se que nos campos tipo "numero" na hora de fazer uma inserção ou um update obrigatoriamente voce tem que passar um valor para o BD. Se no seu form este campo estiver "vazio" seu update com certeza apresentara erro. campo numero = "&numero&" campo string = '"&string&"' campo data = #&data&#
  24. jucacabala

    Problemas Com Update

    tenta assim antes do where
×
×
  • Criar Novo...