Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Zig

Abri busca numa <iframe>

Recommended Posts

tenho o seguinte código

 

busca.asp

<%busca=request("busca")if request("botao")="Continuar" then%>	<script language="JavaScript1.2">	window.meio.location = "principal.asp?depart=busca&busca=<%=busca%>" 	</script><%end if%><form method="post" action="index.asp" name="form"><table width="109" border="0" cellspacing="0" cellpadding="0">	<tr>   <td height="10" colspan="2" align="center"></td>    </tr>	<tr>   <td height="29" colspan="2" align="center"><div align="left"><img src="../images/busca.jpg" width="80" height="21"></div></td>    </tr>	<tr>   <td width="69" align="center" valign="top"><div align="left">    <input type="text" name="busca" size="10" maxlength="50" onKeyDown="btn_enter();">     </div></td>  <td width="40" valign="top">   	<img src="images/bot_OK.gif" style="cursor:hand;" onclick="btn_aceita('sim');" >  	<input type="hidden" name="botao" value="<%=botao%>">  </td>	</tr></table></form>
principal.asp


<table width="778" border="0" cellspacing="0" cellpadding="0" align="center">

<tr>

<td bgcolor="#FFFFFF">

<!--#include file="includes/inc_topo.asp"-->

<table width=778 border=0 cellpadding=0 cellspacing=0 style="border-right linenums:1'><!--#include file="includes/inc_conexao.asp"--><!--#include file="includes/inc_conexao2.asp"--><%dim Conn, Conn2codepage="cp00"referer=Request.ServerVariables("http_referer")pos1=instr(1,referer,"/")pos2=instr(pos1+1,referer,"/")pos3=instr(pos2+1,referer,"/")if pos1>0 and pos2>pos1 and pos3>pos2 then referer=mid(referer,pos2+1,pos3-pos2-1)else referer="Linha Digitada"end ifif request("botao")="" then call abre_conexao2%> <!--#include file="includes/inc_funcoes.asp"--> <!--descomentar depois isso - include file="includes/inc_contador.asp"--> <%call fecha_conexao2end ifcall abre_conexao%><!--#include file="includes/inc_inicio.asp"--><BODY BGCOLOR=#708EC2 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onmouseover="MM_displayStatusMsg('EpidemiaUrbana & HipHopBrasil - Cultura & Compromisso.');return document.MM_returnValue"><table width="778" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="#FFFFFF"> <!--#include file="includes/inc_topo.asp"--> <table width=778 border=0 cellpadding=0 cellspacing=0 style="border-right: 1px solid #f0f0f0;"> <tr> <td valign="top" height="879" width="153"> <table width="146" border="0" cellspacing="0" cellpadding="0" height="22"> <tr> <td> <table width="140" border="0" cellspacing="0" cellpadding="0" height="707"> <tr> <td height="779" valign="top"> <table width="100%" height="783" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="14"> </td> </tr> <tr> <td height="294" bgcolor="#416094"> <!--#include file="includes/inc_menu.asp"--> </td> </tr> <tr> <td height="383" valign="middle" bgcolor="#416094"> <div align="center"><br> <img src="images/banner.jpg" width="128" height="256"></div> </td> </tr> <tr> <td> <img src="images/menu3.jpg"> </td> </tr> <tr> <td height="81"> <div align="center"><img src="images/img_pag.jpg" width="78" height="48"></div> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> <td valign="top" height="879" width="499" align="center"> <iframe name="meio" frameborder="0" align="top" scrolling="no" width="100%" height="100%" src="principal.asp"></iframe> </td> <td height="879" width="126" valign="top" align="center"> <table width="115" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="73%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="center"> <!--#include file="includes/inc_busca.asp"--> </td> </tr> <tr> <td></td> </tr> <tr> <td> <div align="left"><img src="images/lancamentos.jpg" width="95" height="21"></div> </td> </tr> <tr> <td height="159" align="center"> <!--#include file="includes/inc_ofertas_canto.asp"--> </td> </tr> <tr> <td height="2"> </td> </tr> </table> </td> </tr> </table> <table width="89%" border="0" cellspacing="0" cellpadding="0" align="center" height="133"> <tr> <td height="158"><!--#include file="includes/inc_dez_mais.asp"--> </td> </tr> <tr> <td height="52"> <div align="center"><img src="images/sedex.gif" width="88" height="31"> </div> </td> </tr> </table> </td> <tr valign="middle" bgcolor="#00468E"> <td height="27" colspan="3" align="right"> <div align="center"><font color="#FFFFFF">Rua Silva Bueno </font></div> </td> </tr> </table> </td> </tr></table><!--#include file="includes/inc_fim.asp"--><%call fecha_conexao%>

Quero q o resultado da busca apareça num <iframe>, postei aqui, pq o problema tá no JavaScript

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.