Ir para conteúdo
Fórum Script Brasil
  • 0

Problema


paulocholla

Pergunta

pessoal, por favor entrem aki:

MetalVision

no menu da direita, Shows, tem o link pra cada um dos shows, e quando clica no Alternative Caos por exemplo era pra abrir o flyer, mas abre uma janela escrito javascript:; no Endereço!

e no link Shows, do menu esquerdo, quando você clica no mesmo show (o código é o mesmo) não aparece essa janela!!! só o flyer, como deveria ser!

porque??? unsure.gif

Link para o comentário
Compartilhar em outros sites

6 respostass a esta questão

Posts Recomendados

  • 0

como esta seu link?

veja se você não esta mandando o link abrir em nova janela...

ou coloca o codigo aí pra gente ver..

Link para o comentário
Compartilhar em outros sites

  • 0

hum..

tava olhando seu codigo..

ele esta um tanto confuso..

mas acho que vi erro...

olha.. bem no link do menu que dá os erros..:

seu codigo:

onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/alternativecaos.html','FLYER','toolbar=no,scrollbars=no,width=650,height=354')"

href="javascript:;">

ali no final... onde tem o link: href="javascript:;"

seila, coloca href="#"

que ele não abre nada..

tenta ae..

abraços

Link para o comentário
Compartilhar em outros sites

  • 0
hum..

tava olhando seu codigo..

ele esta um tanto confuso..

mas acho que vi erro...

olha.. bem no link do menu que dá os erros..:

seu codigo:

onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/alternativecaos.html','FLYER','toolbar=no,scrollbars=no,width=650,height=354')"

href="javascript:;">

ali no final... onde tem o link: href="javascript:;"

seila, coloca href="#"

que ele não abre nada..

tenta ae..

abraços

humm.. valeu.. vou tentar...

mas lembre-se do que disse: no link shows existem os mesmos shows que no menu da direita, e quando clico eles abrem normalmente....

ah, os menus são arquivos php que eu dei um include com o php no index.php

será que influencia? unsure.gif

Link para o comentário
Compartilhar em outros sites

  • 0

ó, to postando 2 códigos: o da página menu_d.php, que eu dou um INCLUDE com o php em todas as páginas do site, funcionando tipo um template, e o shows.php, que tem os mesmos shows, como mesmo código, mas abre corretamente, sem abrir outra janela.

menu_d.php:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>METALVISION</title>
<base target="target">
</head>






<style>
body
{ color }
td { font-family: verdana;  font-size: 10px; }
a:link {color: #E1E1E1;  font-family: variable; text-decoration: none}
a:visited {color: #E1E1E1;  font-family: variable; text-decoration: none} 
a:active {color:; #E1E1E1;  font-family: variable; text-decoration: none} 
a:hover {text-decoration: none; color: #FFFFFF}

<!--body {
scrollbar-face-color: #CCCCCC;	
scrollbar-shadow-color: #DDDDDD;	
scrollbar-highlight-color: #FAFAFA;	
scrollbar-3dlight-color: #DDDDDD;        
scrollbar-darkshadow-color: #FAFAFA;	
scrollbar-track-color: #FAFAFA;
scrollbar-arrow-color: #000000;}	
-->
</style>









<script language=JAVASCRIPT type=TEXT/JAVASCRIPT>

var url = "http://www.metalvision.com.br";
var title = ":: METALVISION ::";

function bookmark(){
if(document.all)
window.external.AddFavorite(url,title)
}
</SCRIPT>


<script language="JavaScript">
window.defaultStatus = "www. M E T A L V I S I O N .com.br :: O espaço da música e do Underground";
function hidestatus(){
window.status='www. M E T A L V I S I O N .com.br :: O espaço da música e do Underground'
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
</script>






<script language=JavaScript>
  <!--
  
    	function pick(obj) {
      obj.filters.alpha.opacity=100;
      obj.filters.gray.enabled=false;
    	}
    	function unpick(obj) {
      obj.filters.alpha.opacity=50;
      obj.filters.gray.enabled=true;
    	}
  -->
</SCRIPT>



<script language=JavaScript type=text/JavaScript>
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</SCRIPT>












<body topmargin="0" leftmargin="0" background="bb_bg.gif">

<div align="center">
  <center>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="129" id="AutoNumber1" height="249">

    <td width="251" background="shows.jpg" height="302" valign="top">
    <p align="center">
    <br>
    <br>
    
    
    

<b>
<span style="font-size: 7pt; font-weight: 700; text-decoration:none">
<a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/alternativecaos.html','FLYER','toolbar=no,scrollbars=no,width=650,height=354')" href="javascript:;">
<font color="#222222">
29/02 e 07/03
      </font></a>
<br>
<a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/alternativecaos.html','FLYER','toolbar=no,scrollbars=no,width=650,height=354')" href="javascript:;">

<a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/alternativecaos.html','FLYER','toolbar=no,scrollbars=no,width=650,height=354')" href="javascript:;">
<font color="#990000">
Alternative Caos Fest</a>
</font>
</span>
      

</b>



<br>
<br>
    
    
    
<a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/2up_1403.html','FLYER','toolbar=no,scrollbars=no,width=350,height=483')" href="javascript:;">
<b><font color="#222222"><span style="text-decoration: none">
14/03

</span></font></b><font color="#111111"></b></font><br>
     
      <span style="font-size: 7pt; font-weight: 700; text-decoration:none">
    <font color="#990000">
2up & Black Jack</a><br>
      </font>
      </span>
<br>

    
<a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/cef.html','FLYER','toolbar=no,scrollbars=no,width=550,height=540')" href="javascript:;">
<font color="#222222">
<span style="font-size: 7pt; font-weight: 700; text-decoration:none">
27/03</font><font color="#990000"><br>

      Cena Esperança Fest 2</font></a></span><br>
      <br>






<br>



      
    
      
<a href="http://www.thenewmetalparty.hpg.com.br" target="_blank">
<font color="#222222"><span style="text-decoration: none">
<b>28/03</b></font><br>
      </span>
    
      <font color="#990000">
      <span style="font-size: 7pt; font-weight:700; text-decoration:none">
The New Metal Party 6 </a></span>
    </a>

      
      
      </td>
  </tr>
</table>

  </center>
</div>

<center>
              <?php if(empty($page)) {
include("visite.php");
}
else {
include("$page.php");
}
?>

</center>

</body>

</html>
shows.php:
<?php session_start(); ?>


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>.:: M E T A L V I S I O N ::.</title>
</head>



<style>
body
{ color }
td { font-family: verdana;  font-size: 10px; }
a:link {color: #E1E1E1;  font-family: variable; text-decoration: none}
a:visited {color: #E1E1E1;  font-family: variable; text-decoration: none} 
a:active {color:; #E1E1E1;  font-family: variable; text-decoration: none} 
a:hover {text-decoration: none; color: #FFFFFF}

<!--body {
scrollbar-face-color: #CCCCCC;	
scrollbar-shadow-color: #DDDDDD;	
scrollbar-highlight-color: #FAFAFA;	
scrollbar-3dlight-color: #DDDDDD;        
scrollbar-darkshadow-color: #FAFAFA;	
scrollbar-track-color: #FAFAFA;
scrollbar-arrow-color: #000000;}	
-->
</style>









<script language=JAVASCRIPT type=TEXT/JAVASCRIPT>

var url = "http://www.metalvision.com.br";
var title = ":: METALVISION ::";

function bookmark(){
if(document.all)
window.external.AddFavorite(url,title)
}
</SCRIPT>


<script language="JavaScript">
window.defaultStatus = "www. M E T A L V I S I O N .com.br :: O espaço da música e do Underground";
function hidestatus(){
window.status='www. M E T A L V I S I O N .com.br :: O espaço da música e do Underground'
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
</script>






<script language=JavaScript>
  <!--
  
    	function pick(obj) {
      obj.filters.alpha.opacity=100;
      obj.filters.gray.enabled=false;
    	}
    	function unpick(obj) {
      obj.filters.alpha.opacity=50;
      obj.filters.gray.enabled=true;
    	}
  -->
</SCRIPT>



<script language=JavaScript type=text/JavaScript>
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</SCRIPT>

<script>
// Script by Robertg2
function tFrame(larg,alt){
document.all.iframe.width = larg
document.all.iframe.height =  alt
}

</script>





<base target="iframe">





<body topmargin="0" leftmargin="0" background="bb_bg.gif">

<div align="left">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="777" height="129" id="AutoNumber1">
    <tr>
      <td width="730" height="46" background="../topo.jpg" valign="middle"><br>
      <br>
      <br>
      <br>
      <br>
      <br>
&nbsp;
<link href="style.css" rel="stylesheet" type="text/css">
<form method="post" action="/login/login.php">
<input type="hidden" name="acao" value="ok">
<b><font color="#FF3300">&nbsp;&nbsp;&nbsp; <span style="font-size: 7pt">login:</span></font><span style="font-size: 7pt"></strong></font></span>
</b>
          <input type="text" name="nome" value="" size="15" style="background-color: gray; color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: bold; border: 1px solid black; ">
<strong><font color="#FF3300"><span style="font-size: 7pt">senha:</span></font></strong>
          <input type="password" name="password" size="15" style="background-color: gray; color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: bold; border: 1px solid black; ">
          <input type="submit" name="Submit" value="OK"> <a href="/login/cadastro.php">
cadastrar-se</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;


<?
/* Definir o tempo máximo que uma sessão pode ficar inativa */
define("MAX_IDLE_TIME", 3);
function getOnlineUsers(){
if ( $directory_handle = opendir( session_save_path() ) ) {
$conta = 0;
while ( false !== ( $file = readdir( $directory_handle ) ) ) {
if($file != '.' && $file != '..') {
if ( time() - fileatime(session_save_path() . '/' . $file) < MAX_IDLE_TIME * 60 ) {
$conta++;
}
}
}
closedir($directory_handle);
return $conta;
} else {
return false;
}
}
echo ':: ' . getOnlineUsers() . ' usuário(s) online ::';
?>

</td>
    </tr>
  </table>
</div>
<div align="left">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="777" height="1" id="AutoNumber2">
    <tr>
      <td width="128" height="301" valign="top" style="border-bottom-style: none; border-bottom-width: medium" background="bb_bg.gif">
      <p align="center" style="line-height:185%">
    
    
    
          <?php if(empty($page)) {
include("menu_e.php");
}
else {
include("$page.php");
}
?> 
    
    
    </td>
      <td width="518" height="1" rowspan="2" background="bb_bg.gif" valign="top">

<p align="center">

<img border="1" src="toposhows.jpg" width="385" height="70"></p>
<p align="center"></p>
      <p align="center"><br>
      <b>
    
      <br>
          
          <a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/alternativecaos.html','FLYER','toolbar=no,scrollbars=no,width=650,height=354')" href="javascript:;">
<font color="#222222">
Alternative Caos Fest 
      - 29/02 e 07/03
      </a></font>
      </b>



          <a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/alternativecaos.html','FLYER','toolbar=no,scrollbars=no,width=650,height=354')" href="javascript:;">
          <font color="#222222">
          (flyer)<b><br>
      </b>
      </font>
      </a>
      <b>
    
          <font color="#CC0000">
          +info:</font></b><a target="_blank" href="http://www.midiacaos.com"> 
<font color="#222222">
www.midiacaos.com</font></a></span><br>
      <span style="text-decoration: none"><br>






     





<a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/2up_1403.html','FLYER','toolbar=no,scrollbars=no,width=350,height=483')" href="javascript:;">
      
<font color="#222222">
      <b>2up & Black Jack</b> <b>(14/03)</b></font><font color="#111111"> </font> </a>
      
<font color="#111111">
          </b>
          </font>
          <a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/2up_1403.html','FLYER','toolbar=no,scrollbars=no,width=350,height=483')" href="javascript:;">
          <font color="#111111">
      
<font color="#222222">
          (flyer)</font></font></a><b><br>
      <font color="#CC0000">+info:</font>
          </b>
      - - -
          </a>





      <br>





<br>







      
      <a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/cef.html','FLYER','toolbar=no,scrollbars=no,width=550,height=540')" href="javascript:;">
      <b>
      <font color="#222222">
      Cena Esperança Fest&nbsp; - 27/03</b></font>
      <font color="#222222">(flyer)</a>
      
      </font><br>
<font color="#CC0000">     
<b>+info:</b></font>
      <a target="_blank" href="http://www.esperancafest.cjb.net/">
<font color="#222222">      
www.cenaesperanca.cjb.net</a><br>
      <br>


<b><a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/tnmp6.html','FLYER','toolbar=no,scrollbars=no,width=600,height=434')" href="javascript:;">
      
<font color="#222222">
The New Metal Party 6 (28/03) </a>
          </b>
          <a onclick="MM_openBrWindow('http://www.metalvision.com.br/flyers/tnmp6.html','FLYER','toolbar=no,scrollbars=no,width=600,height=434')" href="javascript:;">
          <font color="#222222">(flyer)</font></a><b><br>
      <font color="#CC0000">+info:</font>
          </b>
      especial em breve!
          </a><br>
&nbsp;<hr color="#AAAAAA" width="450">
<center>
<script LANGUAGE="JavaScript" TYPE="text/javascript" SRC="http://banner.wmonline.com.br/java.php?username=paulocholla"></SCRIPT>&nbsp;

      
      
</td>
      <td width="129" height="301" background="bb_bg.gif" valign="top" style="border-bottom-style: none; border-bottom-width: none">
      <p align="center">
      <span style="text-decoration: none">
   
    <font color="#990000">
      <span style="font-size: 7pt; font-weight:700; text-decoration:none">
      
       <?php if(empty($page)) {
include("menu_d.php");
}
else {
include("$page.php");
}
?> 
      

              
      </span></a></td>
    </tr>
    <tr>
      <td width="128" height="1" valign="top" style="border-style: none; border-width: none" background="bb_bg.gif">
      &nbsp;</td>
      <td width="129" height="1" valign="top" style="border-style: none; border-width: none" background="bb_bg.gif">
      <p align="center">
   


      
      
      
      </td>
    </tr>
  </table>
</div>

</body>

</html>

tentei colocar no código do link href="#", mas abre outra página igual, só que com o # no fim da url... sad.gif

alguém sabe me dizer porque diabos isso acontece??!

a url do site é: www.metalvision.com.br

valeu! wink.gif

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,2k
    • Posts
      651,9k
×
×
  • Criar Novo...