Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Bom dia Galera,
Alguém pode me ajudar?
Eu gostaria que não importa-se o link que a pessoa entrar o título na barra de endereço fosse sempre o mesmo, como faço isso?
Ex.: www.meudominio.com.br
Se a pessoa clicar no link cadastro não fique: "www.meudominio.com.br/cadastro"
Gostaria que continua-se "www.meudominio.com.br"
Tem como fazer isso?
Obrigado a todos.
Mas eu utilizo asp e não php.
O começo do meu index esta assim:
<!--#include file="conexao.asp"-->
<STYLE type=text/css>
@import url("style.css");
</STYLE>
<%
Session.LCID = 1046
Session.TimeOut = 600
%>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>:: Cadastro de Clientes ::</title></HEAD>
<BODY>
<table width="754" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><img src="../base_rsvp/images/banner_clientes.jpg" width="754" height="100" border="0"></td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top"><table width="754" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#6699CC">
<tr>
<td height="17" bgcolor="#666666" class="style15"><div align="center" class="style4">..:: Cadastro de Clientes ::..</div></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>Ficaria assim usando o iframe:
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body><iframe name="if" src="fm.html" width="900" height="500"/>
</body>
</html>
fm.html
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','550','height','400','src','asasd','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','asasd' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="550" height="400">
<param name="movie" value="asasd.swf">
<param name="quality" value="high">
<embed src="asasd.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object>
</noscript>
bbbbbbbfsdbdfbdfb
asasd.fla(primeiro frame)
import flash.events.MouseEvent;
import flash.net.URLRequest;
bt.addEventListener(MouseEvent.CLICK,btfunc);
function btfunc(e:MouseEvent):void{
var url:URLRequest = new URLRequest('pag2.html');
navigateToURL(url, 'if');//o nome do iframe é if
}
Ou então você pode usar ajax com o asp.
Ok, vou fazer um teste assim.
Obrigado a todos.
Da para usar o iframe
http://www.w3schools.com/tags/tag_iframe.asp