Olá amigos, estou com uma duvida
Esse codigo na tabela que abre o link.
<%
Dim PAGINA
PAGINA = Request.QueryString("PAGINA")
if PAGINA = "" then
PAGINA = "Principal"
end if
%>
<% If PAGINA = "" or PAGINA = "Principal" then %>
<!--#include file="Principal.asp"-->
<% end If %>
Certo tudo funcionando corretamente pra abri o link e so colocar a href assim Default.asp?Pagina=Principal
Mas agora tenho uma duvida quando eu clico em um link dentro da principal ele abre uma nova janela.
O que eu faço ?
Vou ter que criar para cada link ? são muitas !
<% elseIf PAGINA = " A PAGINA " then %>
<!--#include file=" A PAGINA .asp"-->
Query String Dnovo!
Started By Dj_Webdesigner, 08/02/2006, 23:04
5 replies to this topic
#1
Posted 08/02/2006, 23:04
Acessem e turbinem o seu celular com downloads gratuitos são mais de 17.000 mil arquivos para o seu celular :- ) WapTurbine.com <<< Acesse
#2
Posted 09/02/2006, 12:35
vc vai ter que fazer um pra cada.... ou usar o case....
não é tão dificil fazer é mais uma questão de CTRL C CTRL V
<%if inc ="" then %><!--#include file ="front/front.asp"--><%end if%>
<%if inc ="register" then %><!--#include file ="register/register.asp"--><%end if%>
<%if inc ="news" then %><!--#include file ="news/news.asp"--><%end if%>
<%if inc ="downloads" then %><!--#include file ="downloads/downloads.asp"--><%end if%>
<%if inc ="feedback" then %><!--#include file ="feedback/feedback.asp"--><%end if%>
<%if inc ="password" then %><!--#include file ="password/password.asp"--><%end if%>
<%if inc ="vote" then %><!--#include file ="vote/vote2.asp"--><%end if%>
<%if inc ="photos" then %><!--#include file ="photo/photo.asp"--><%end if%>
<%if inc ="forum" then %><!--#include file ="forum/forum.asp"--><%end if%>
<%if inc ="forumadd" then %><!--#include file ="forum/add.asp"--><%end if%>
<%if inc ="forumread" then %><!--#include file ="forum/read.asp"--><%end if%>
<%if inc ="forumsearch" then %><!--#include file ="forum/search.asp"--><%end if%>
<%if inc ="forumreply" then %><!--#include file ="forum/reply.asp"--><%end if%>
<%if inc ="links" then %><!--#include file ="links/links.asp"--><%end if%>
<%if inc ="linksadd" then %><!--#include file ="links/linksadd.asp"--><%end if%>
<%if inc ="linksview" then %><!--#include file ="links/linksview.asp"--><%end if%>
<%if inc ="messagebox" then %><!--#include file ="messagebox/messagebox.asp"--><%end if%>
<%if inc ="messageboxdelete" then %><!--#include file ="messagebox/delete.asp"--><%end if%>
<%if inc ="messageboxread" then %><!--#include file ="messagebox/read.asp"--><%end if%>
<%if inc ="messageboxsend" then %><!--#include file ="messagebox/send.asp"--><%end if%>
um exemplo que tirei de um portal que tenho aki ...
Valeu
não é tão dificil fazer é mais uma questão de CTRL C CTRL V
<%if inc ="" then %><!--#include file ="front/front.asp"--><%end if%>
<%if inc ="register" then %><!--#include file ="register/register.asp"--><%end if%>
<%if inc ="news" then %><!--#include file ="news/news.asp"--><%end if%>
<%if inc ="downloads" then %><!--#include file ="downloads/downloads.asp"--><%end if%>
<%if inc ="feedback" then %><!--#include file ="feedback/feedback.asp"--><%end if%>
<%if inc ="password" then %><!--#include file ="password/password.asp"--><%end if%>
<%if inc ="vote" then %><!--#include file ="vote/vote2.asp"--><%end if%>
<%if inc ="photos" then %><!--#include file ="photo/photo.asp"--><%end if%>
<%if inc ="forum" then %><!--#include file ="forum/forum.asp"--><%end if%>
<%if inc ="forumadd" then %><!--#include file ="forum/add.asp"--><%end if%>
<%if inc ="forumread" then %><!--#include file ="forum/read.asp"--><%end if%>
<%if inc ="forumsearch" then %><!--#include file ="forum/search.asp"--><%end if%>
<%if inc ="forumreply" then %><!--#include file ="forum/reply.asp"--><%end if%>
<%if inc ="links" then %><!--#include file ="links/links.asp"--><%end if%>
<%if inc ="linksadd" then %><!--#include file ="links/linksadd.asp"--><%end if%>
<%if inc ="linksview" then %><!--#include file ="links/linksview.asp"--><%end if%>
<%if inc ="messagebox" then %><!--#include file ="messagebox/messagebox.asp"--><%end if%>
<%if inc ="messageboxdelete" then %><!--#include file ="messagebox/delete.asp"--><%end if%>
<%if inc ="messageboxread" then %><!--#include file ="messagebox/read.asp"--><%end if%>
<%if inc ="messageboxsend" then %><!--#include file ="messagebox/send.asp"--><%end if%>
um exemplo que tirei de um portal que tenho aki ...
Valeu
Não me adicione no MSN pq eu não vo te ajuda... se insistir eu vo ser grosso!!!
Ta com dúvida pergunta aqui no fórum...
Grato
Ta com dúvida pergunta aqui no fórum...
Grato
#3
Posted 09/02/2006, 22:51
Acho que da no mesmo nao ?
So mais uma pergunta porque quando eu tenho executar uma categoria de um banco de dados nao funciona.
Tipo assim:
<% elseIf PAGINA = "ToquesWav" then %>
<!--#include file="waplink/exibir_mp3.asp?cat=22"-->
Por que nao funciona ?
Assim funciona:
<% elseIf PAGINA = "ToquesWav" then %>
<!--#include file="waplink/exibir_mp3.asp"-->
So mais uma pergunta porque quando eu tenho executar uma categoria de um banco de dados nao funciona.
Tipo assim:
<% elseIf PAGINA = "ToquesWav" then %>
<!--#include file="waplink/exibir_mp3.asp?cat=22"-->
Por que nao funciona ?
Assim funciona:
<% elseIf PAGINA = "ToquesWav" then %>
<!--#include file="waplink/exibir_mp3.asp"-->
Acessem e turbinem o seu celular com downloads gratuitos são mais de 17.000 mil arquivos para o seu celular :- ) WapTurbine.com <<< Acesse
#4
Posted 10/02/2006, 16:11
Pq no include ele procura so o arquivo e não aceita querystring ....
Valeu
Valeu
Não me adicione no MSN pq eu não vo te ajuda... se insistir eu vo ser grosso!!!
Ta com dúvida pergunta aqui no fórum...
Grato
Ta com dúvida pergunta aqui no fórum...
Grato
#5
Posted 10/02/2006, 20:45
Como eu faço pra fazer isso se eu colocar direto no link, ele abre uma nova janela.
Edição feita por: Dj_Webdesigner, 10/02/2006, 20:46.
Acessem e turbinem o seu celular com downloads gratuitos são mais de 17.000 mil arquivos para o seu celular :- ) WapTurbine.com <<< Acesse
#6
Posted 10/02/2006, 23:29
não sei como vc ta fazendo os links mas tenta colocar o target self
target="_self"
ele se refere para abrir no mesmo quadro ..
Valeu
target="_self"
ele se refere para abrir no mesmo quadro ..
Valeu
Não me adicione no MSN pq eu não vo te ajuda... se insistir eu vo ser grosso!!!
Ta com dúvida pergunta aqui no fórum...
Grato
Ta com dúvida pergunta aqui no fórum...
Grato
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)