Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

gaitasman

Links Utilizando a TAG A

Recommended Posts

gaitasman

Ei.

Estou a colocar este assunto porque preciso de uma pequena ajuda ou informação para resolver um determinado problema.

É o seguinte tenho uma simples tag <a href="Index.php">Inicio</a> no IE funciona em qualquer local dentro ou fora de uma <div> mas no Firefox a mesma só funciona fora da <div>. Alguém me sabe dizer do que se trata ja perdi demasiado tempo neste assunto.

Peço desculpa pela minha ignorancia.

Cumprimentos

Share this post


Link to post
Share on other sites
mjamado

Sem ver o código todo, é capaz de ser difícil adivinhar...

Mas assim de repente, verifica se não tens algum div com float que fique por cima do link... o Firefox atrofia forte e feio (correctamente, diga-se de passagem).


"Para desenhar um website, não tenho que saber distinguir server-side de client-side" - um membro do fórum que se auto-intitula webdesigner. Temo pelo futuro da web.

Share this post


Link to post
Share on other sites
M6

Pelo que dizes quer-me parecer que tens um erro no HTML, tipo tags mal fechadas. O IE é muito permissivo com erros e tem a mania de "corrigir/adivinha" a coisa, pelo que podes ter um erro e não te aperceber disso no IE.


10 REM Generation 48K!
20 INPUT "URL:", A$
30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50
40 PRINT "404 Not Found"
50 PRINT "./M6 @ Portugal a Programar."

 

Share this post


Link to post
Share on other sites
gaitasman

<?php
require_once("../includes/iniciar.php");
$layout;
?>
<style type="text/css">
table.tabela_escalas{
width:150px;
background-color:#CCC;
border-collapse:collapse;
border: 3px solid black;
}
.topodia{
background-color:#FFF;
width:200px;
height:32px;
}
.topodia img{ 
float:right;
}
.numero{
position:absolute;
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:22px;
font-weight:bold;
padding-top:4px;
}
.dia{
position:absolute;
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
padding-left:30px;
padding-top:4px;
}
.equipa{
position:absolute;
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:10px;
font-weight:bold;
padding-left:40px;
padding-top:20px;
}
.detalhes{
height:20px;
background-color:#666;
}
.detalhes td{
color:#FFF;
font-family:Verdana, Geneva, sans-serif;
font-size:12px;
font-weight:bolder;
text-align:center;
}
td{
text-align:center;
font-family:Helvetica, sans-serif;
font-size:10px;
font-weight:bold;
color:#333;
}
.nr{
text-align:left;
font-family:Helvetica, sans-serif;
font-size:10px;
font-weight:bold;
color:#333;
}
td a:link{
text-align:center;
text-decoration:none;
color:#FFF;
}
td a:visited{
text-decoration:none;
color:#333;
}
td a:hover{
text-decoration:none;
border:1px solid #000;
}
.mesdinamico{
font:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
}
#data_nav{
margin-left:240px;
}
</style>
<?php
if (!$session->is_logged_in()) { redirect_to("login.php"); }
$d= date("d");     // Finds today's date
$y= date("Y");     // Finds today's year
$m= date("n");

if(isset($_GET['mes'])and($_GET['ano'])){
	$anoanterior=$_GET['ano']-1;
	$anoproximo=$_GET['ano']+1;
	$mesanterior=$_GET['mes']-1;
	$mesproximo=$_GET['mes']+1;
}else{
	$_GET['mes']= $m;
	$_GET['ano']= $y;
}
if (($_GET['mes'])==1) {
	$mesanterior=12;
	$anoanterior=$_GET['ano']-1;
	$mesproximo=$_GET['mes']+1;
	$anoproximo=$_GET['ano'];
	}else{
		$mesproximo=$_GET['mes']+1;
		$mesanterior=$_GET['mes']-1;
		$anoanterior=$_GET['ano'];
		$anoproximo=$_GET['ano'];
	}
	if (($_GET['mes'])==12) {
	$mesproximo=1;
	$anoproximo=$_GET['ano']+1;
	$mesanterior=$_GET['mes']-1;
	$anoanterior=$_GET['ano'];
	}
$dias=array("Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado");
$meses=array("Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outobro","Novembro","Dezembro");
$no_of_days = date('t',mktime(0,0,0,$_GET['mes'],1,$_GET['ano'])); // This is to calculate number of days in a month
$mn=date('M',mktime(0,0,0,$m,1,$y)); // Month is calculated to display at the top of the calendar
$yn=date('Y',mktime(0,0,0,$m,1,$y)); // Year is calculated to display at the top of the calendar
$j=date('w',mktime(0,0,0,$_GET['mes'],1,$_GET['ano']));  // This will calculate the week day of the first day of the month
$layout->topo();
?>
        <div id="barra" >
        
        	<div id="data_nav">

        <a href='<?php echo"principal.php?mes={$mesanterior}&ano={$anoanterior}";?>'>Back</a><?php echo $meses[($_GET['mes']-1)]." ".$y; ?></span><a href='<?php echo"principal.php?mes={$mesproximo}&ano={$anoproximo}";?>'>Prox</a>
        	</div>	
         </div>

O Código é este... mais uma vez agradeço

Share this post


Link to post
Share on other sites
gaitasman

Tinha aberto só k nao copiei para aqui. Continua mesma.

<div id="barra" >

        <div id="data_nav">

        <a href='<?php echo"principal.php?mes={$mesanterior}&ano={$anoanterior}";?>'>Back</a><span class="mesdinamico"><?php echo $meses[($_GET['mes']-1)]." ".$y; ?></span><a href='<?php echo"principal.php?mes={$mesproximo}&ano={$anoproximo}";?>'>Prox</a>

        </div>

        </div>

Share this post


Link to post
Share on other sites
gaitasman

Tenho... Mas é assim não posso mostrar pk ta a ser utilizado por uma associação e tem login.

vou colar aki o código gerado.

            <!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" />
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" media="all" />
<script type="text/javascript" src="javascripts/script.js" ></script>
<title>BV Espinhenses</title>
</head><style type="text/css">
table.tabela_escalas{
width:150px;
background-color:#CCC;
border-collapse:collapse;
border: 3px solid black;
}
.topodia{
background-color:#FFF;
width:200px;
height:32px;
}
.topodia img{ 
float:right;
}
.numero{
position:absolute;
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:22px;
font-weight:bold;
padding-top:4px;
}
.dia{
position:absolute;
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
padding-left:30px;
padding-top:4px;
}
.equipa{
position:absolute;
color:#FFF;
font-family:Arial, Helvetica, sans-serif;
font-size:10px;
font-weight:bold;
padding-left:40px;
padding-top:20px;
}
.detalhes{
height:20px;
background-color:#666;
}
.detalhes td{
color:#FFF;
font-family:Verdana, Geneva, sans-serif;
font-size:12px;
font-weight:bolder;
text-align:center;
}
td{
text-align:center;
font-family:Helvetica, sans-serif;
font-size:10px;
font-weight:bold;
color:#333;
}
.nr{
text-align:left;
font-family:Helvetica, sans-serif;
font-size:10px;
font-weight:bold;
color:#333;
}
td a:link{
text-align:center;
text-decoration:none;
color:#FFF;
}
td a:visited{
text-decoration:none;
color:#333;
}
td a:hover{
text-decoration:none;
border:1px solid #000;
}
.mesdinamico{
font:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:bold;
}
#data_nav{
margin-left:240px;
}
</style>
        <body>
		<div id="container" >
  			<div id="topo">

				<div id="logo">
	  				<img src="images/logo.png" />
	  			<div id="menu"> 
                         <img src ='images/primeiro.png'/><a href='principal.php'><img src ='images/inicio.png'/></a><a href='trocas.php'><img src ='images/trocas.png'/></a><a href='pendentes.php'><span class='nrpendentes'>()</span><img src ='images/pendentes.png'/></a><a href='contactos.php'><img src ='images/contactos.png'/></a><a href='chefe.php'><img src ='images/chefe.png'/></a><a href='admin.php'><img src ='images/admin.png'/></a><img src ='images/ultimo.png'/>    
                    </div>
         			<div id="inf">
      					Utilizador:gaitas <br />
           				Credencial:<br />

            			
                   		 <a href="logout.php">Terminar Sessão</a>
          			</div>
                   
    	</div>
                    <div id="barra">
        	<div id="data_nav">
        <a href='principal.php?mes=4&ano=2010'>Back</a><span class="mesdinamico">Maio</span><a href='principal.php?mes=6&ano=2010'>Prox</a>
        	</div>	
         </div>

	  </div>
      <div id="conteudo">
                  	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffcc99">
    			<td class="nr" colspan="3"><span class="numero">01</span><span class="dia">Sábado</span><span class="equipa">Equipa 9</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>3</td><td><a href='#' onclick=overlay('72','2010-05-01','b')>72</a></td><td>TS/CL/</td></tr><tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('120','2010-05-01','b')>120</a></td><td>CL/TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('19','2010-05-01','b')>19</a></td><td>TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('160','2010-05-01','b')>160</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('164','2010-05-01','b')>164</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('97','2010-05-01','b')>97</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#cc99ff">
    			<td class="nr" colspan="3"><span class="numero">01                </span><span class="dia">Sábado</span><span class="equipa">Equipa 10</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>3</td><td><a href='#' onclick=overlay('119','2010-05-01','a')>119</a></td><td>TS/CL/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('67','2010-05-01','a')>67</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('57','2010-05-01','a')>57</a></td><td>TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('43','2010-05-01','a')>43</a></td><td></td></tr><tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('59','2010-05-01','a')>59</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffff00">
    			<td class="nr" colspan="3"><span class="numero">02</span><span class="dia">Domingo</span><span class="equipa">Equipa 1</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td></td><td><a href='#' onclick=overlay('71','2010-05-02','b')>71</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('53','2010-05-02','b')>53</a></td><td>TS/CL/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('143','2010-05-02','b')>143</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('148','2010-05-02','b')>148</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('169','2010-05-02','b')>169</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('40','2010-05-02','b')>40</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ff00">
    			<td class="nr" colspan="3"><span class="numero">02                </span><span class="dia">Domingo</span><span class="equipa">Equipa 2</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Chf</td><td><a href='#' onclick=overlay('104','2010-05-02','a')>104</a></td><td>TS/CP/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('12','2010-05-02','a')>12</a></td><td>TS/CL/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('146','2010-05-02','a')>146</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('157','2010-05-02','a')>157</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('73','2010-05-02','a')>73</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ffff">
    			<td class="nr" colspan="3"><span class="numero">03</span><span class="dia">Segunda</span><span class="equipa">Equipa 3</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>3</td><td><a href='#' onclick=overlay('20','2010-05-03','a')>20</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('118','2010-05-03','a')>118</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('162','2010-05-03','a')>162</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('124','2010-05-03','a')>124</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('159','2010-05-03','a')>159</a></td><td>TS/TSD/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff0000">
    			<td class="nr" colspan="3"><span class="numero">04</span><span class="dia">Terça</span><span class="equipa">Equipa 4</span> <img src="images/noite.png" /></td>
  			</tr>
			<tr class="detalhes">
    			<td>Posto</td>

    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>
           <tr><td></td><td><a href='#' onclick=overlay('4','2010-05-04','a')>4</a></td><td></td></tr><tr><td>1</td><td><a href='#' onclick=overlay('34','2010-05-04','a')>34</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('38','2010-05-04','a')>38</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('125','2010-05-04','a')>125</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('30','2010-05-04','a')>30</a></td><td>TS/TSD/CP/CTT/GA/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('14','2010-05-04','a')>14</a></td><td>TAS/CL/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff6600">
    			<td class="nr" colspan="3"><span class="numero">05</span><span class="dia">Quarta</span><span class="equipa">Equipa 5</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Chf</td><td><a href='#' onclick=overlay('26','2010-05-05','a')>26</a></td><td>CL/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('18','2010-05-05','a')>18</a></td><td>TAS/CL/GA/</td></tr><tr><td></td><td><a href='#' onclick=overlay('48','2010-05-05','a')>48</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('175','2010-05-05','a')>175</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('45','2010-05-05','a')>45</a></td><td>TS/TSD/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff00ff">
    			<td class="nr" colspan="3"><span class="numero">06</span><span class="dia">Quinta</span><span class="equipa">Equipa 6</span> <img src="images/noite.png" /></td>
  			</tr>
			<tr class="detalhes">
    			<td>Posto</td>

    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>
           <tr><td></td><td><a href='#' onclick=overlay('66','2010-05-06','a')>66</a></td><td></td></tr><tr><td></td><td><a href='#' onclick=overlay('39','2010-05-06','a')>39</a></td><td></td></tr><tr><td>2</td><td><a href='#' onclick=overlay('33','2010-05-06','a')>33</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('147','2010-05-06','a')>147</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('174','2010-05-06','a')>174</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('132','2010-05-06','a')>132</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ccffff">
    			<td class="nr" colspan="3"><span class="numero">07</span><span class="dia">Sexta</span><span class="equipa">Equipa 7</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('98','2010-05-07','a')>98</a></td><td>TS/CL/CP/CTT/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('114','2010-05-07','a')>114</a></td><td>TAS/CL/TSD/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('22','2010-05-07','a')>22</a></td><td>TS/CL/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('68','2010-05-07','a')>68</a></td><td>GA/TSD/TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('172','2010-05-07','a')>172</a></td><td></td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#969696">
    			<td class="nr" colspan="3"><span class="numero">08</span><span class="dia">Sábado</span><span class="equipa">Equipa 8</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">

    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('77','2010-05-08','b')>77</a></td><td>CL/TS/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('49','2010-05-08','b')>49</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('153','2010-05-08','b')>153</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('54','2010-05-08','b')>54</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('91','2010-05-08','b')>91</a></td><td></td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffcc99">
    			<td class="nr" colspan="3"><span class="numero">08                </span><span class="dia">Sábado</span><span class="equipa">Equipa 9</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>3</td><td><a href='#' onclick=overlay('72','2010-05-08','a')>72</a></td><td>TS/CL/</td></tr><tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('120','2010-05-08','a')>120</a></td><td>CL/TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('19','2010-05-08','a')>19</a></td><td>TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('160','2010-05-08','a')>160</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('164','2010-05-08','a')>164</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('97','2010-05-08','a')>97</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#cc99ff">
    			<td class="nr" colspan="3"><span class="numero">09</span><span class="dia">Domingo</span><span class="equipa">Equipa 10</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>3</td><td><a href='#' onclick=overlay('119','2010-05-09','b')>119</a></td><td>TS/CL/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('67','2010-05-09','b')>67</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('57','2010-05-09','b')>57</a></td><td>TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('43','2010-05-09','b')>43</a></td><td></td></tr><tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('59','2010-05-09','b')>59</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffff00">
    			<td class="nr" colspan="3"><span class="numero">09                </span><span class="dia">Domingo</span><span class="equipa">Equipa 1</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td></td><td><a href='#' onclick=overlay('71','2010-05-09','a')>71</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('53','2010-05-09','a')>53</a></td><td>TS/CL/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('143','2010-05-09','a')>143</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('148','2010-05-09','a')>148</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('169','2010-05-09','a')>169</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('40','2010-05-09','a')>40</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ff00">
    			<td class="nr" colspan="3"><span class="numero">10</span><span class="dia">Segunda</span><span class="equipa">Equipa 2</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Chf</td><td><a href='#' onclick=overlay('104','2010-05-10','a')>104</a></td><td>TS/CP/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('12','2010-05-10','a')>12</a></td><td>TS/CL/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('146','2010-05-10','a')>146</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('157','2010-05-10','a')>157</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('73','2010-05-10','a')>73</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ffff">
    			<td class="nr" colspan="3"><span class="numero">11</span><span class="dia">Terça</span><span class="equipa">Equipa 3</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>3</td><td><a href='#' onclick=overlay('20','2010-05-11','a')>20</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('118','2010-05-11','a')>118</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('162','2010-05-11','a')>162</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('124','2010-05-11','a')>124</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('159','2010-05-11','a')>159</a></td><td>TS/TSD/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff0000">
    			<td class="nr" colspan="3"><span class="numero">12</span><span class="dia">Quarta</span><span class="equipa">Equipa 4</span> <img src="images/noite.png" /></td>
  			</tr>
			<tr class="detalhes">
    			<td>Posto</td>

    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>
           <tr><td></td><td><a href='#' onclick=overlay('4','2010-05-12','a')>4</a></td><td></td></tr><tr><td>1</td><td><a href='#' onclick=overlay('34','2010-05-12','a')>34</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('38','2010-05-12','a')>38</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('125','2010-05-12','a')>125</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('30','2010-05-12','a')>30</a></td><td>TS/TSD/CP/CTT/GA/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('14','2010-05-12','a')>14</a></td><td>TAS/CL/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff6600">
    			<td class="nr" colspan="3"><span class="numero">13</span><span class="dia">Quinta</span><span class="equipa">Equipa 5</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Chf</td><td><a href='#' onclick=overlay('26','2010-05-13','a')>26</a></td><td>CL/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('18','2010-05-13','a')>18</a></td><td>TAS/CL/GA/</td></tr><tr><td></td><td><a href='#' onclick=overlay('48','2010-05-13','a')>48</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('175','2010-05-13','a')>175</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('45','2010-05-13','a')>45</a></td><td>TS/TSD/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff00ff">
    			<td class="nr" colspan="3"><span class="numero">14</span><span class="dia">Sexta</span><span class="equipa">Equipa 6</span> <img src="images/noite.png" /></td>
  			</tr>
			<tr class="detalhes">
    			<td>Posto</td>

    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>
           <tr><td></td><td><a href='#' onclick=overlay('66','2010-05-14','a')>66</a></td><td></td></tr><tr><td></td><td><a href='#' onclick=overlay('39','2010-05-14','a')>39</a></td><td></td></tr><tr><td>2</td><td><a href='#' onclick=overlay('33','2010-05-14','a')>33</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('147','2010-05-14','a')>147</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('174','2010-05-14','a')>174</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('132','2010-05-14','a')>132</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ccffff">
    			<td class="nr" colspan="3"><span class="numero">15</span><span class="dia">Sábado</span><span class="equipa">Equipa 7</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('98','2010-05-15','b')>98</a></td><td>TS/CL/CP/CTT/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('114','2010-05-15','b')>114</a></td><td>TAS/CL/TSD/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('22','2010-05-15','b')>22</a></td><td>TS/CL/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('68','2010-05-15','b')>68</a></td><td>GA/TSD/TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('172','2010-05-15','b')>172</a></td><td></td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#969696">
    			<td class="nr" colspan="3"><span class="numero">15                </span><span class="dia">Sábado</span><span class="equipa">Equipa 8</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('77','2010-05-15','a')>77</a></td><td>CL/TS/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('49','2010-05-15','a')>49</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('153','2010-05-15','a')>153</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('54','2010-05-15','a')>54</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('91','2010-05-15','a')>91</a></td><td></td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffcc99">
    			<td class="nr" colspan="3"><span class="numero">16</span><span class="dia">Domingo</span><span class="equipa">Equipa 9</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>3</td><td><a href='#' onclick=overlay('72','2010-05-16','b')>72</a></td><td>TS/CL/</td></tr><tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('120','2010-05-16','b')>120</a></td><td>CL/TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('19','2010-05-16','b')>19</a></td><td>TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('160','2010-05-16','b')>160</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('164','2010-05-16','b')>164</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('97','2010-05-16','b')>97</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#cc99ff">
    			<td class="nr" colspan="3"><span class="numero">16                </span><span class="dia">Domingo</span><span class="equipa">Equipa 10</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('59','2010-05-16','a')>59</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('43','2010-05-16','a')>43</a></td><td></td></tr><tr><td>1</td><td><a href='#' onclick=overlay('57','2010-05-16','a')>57</a></td><td>TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('67','2010-05-16','a')>67</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('119','2010-05-16','a')>119</a></td><td>TS/CL/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffff00">
    			<td class="nr" colspan="3"><span class="numero">17</span><span class="dia">Segunda</span><span class="equipa">Equipa 1</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td></td><td><a href='#' onclick=overlay('71','2010-05-17','a')>71</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('53','2010-05-17','a')>53</a></td><td>TS/CL/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('143','2010-05-17','a')>143</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('148','2010-05-17','a')>148</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('169','2010-05-17','a')>169</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('40','2010-05-17','a')>40</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ff00">
    			<td class="nr" colspan="3"><span class="numero">18</span><span class="dia">Terça</span><span class="equipa">Equipa 2</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Chf</td><td><a href='#' onclick=overlay('104','2010-05-18','a')>104</a></td><td>TS/CP/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('12','2010-05-18','a')>12</a></td><td>TS/CL/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('146','2010-05-18','a')>146</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('157','2010-05-18','a')>157</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('73','2010-05-18','a')>73</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ffff">
    			<td class="nr" colspan="3"><span class="numero">19</span><span class="dia">Quarta</span><span class="equipa">Equipa 3</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>3</td><td><a href='#' onclick=overlay('20','2010-05-19','a')>20</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('118','2010-05-19','a')>118</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('162','2010-05-19','a')>162</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('124','2010-05-19','a')>124</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('159','2010-05-19','a')>159</a></td><td>TS/TSD/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff0000">
    			<td class="nr" colspan="3"><span class="numero">20</span><span class="dia">Quinta</span><span class="equipa">Equipa 4</span> <img src="images/noite.png" /></td>
  			</tr>
			<tr class="detalhes">
    			<td>Posto</td>

    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>
           <tr><td></td><td><a href='#' onclick=overlay('4','2010-05-20','a')>4</a></td><td></td></tr><tr><td>1</td><td><a href='#' onclick=overlay('34','2010-05-20','a')>34</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('38','2010-05-20','a')>38</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('125','2010-05-20','a')>125</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('30','2010-05-20','a')>30</a></td><td>TS/TSD/CP/CTT/GA/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('14','2010-05-20','a')>14</a></td><td>TAS/CL/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff6600">
    			<td class="nr" colspan="3"><span class="numero">21</span><span class="dia">Sexta</span><span class="equipa">Equipa 5</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Chf</td><td><a href='#' onclick=overlay('26','2010-05-21','a')>26</a></td><td>CL/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('18','2010-05-21','a')>18</a></td><td>TAS/CL/GA/</td></tr><tr><td></td><td><a href='#' onclick=overlay('48','2010-05-21','a')>48</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('175','2010-05-21','a')>175</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('45','2010-05-21','a')>45</a></td><td>TS/TSD/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff00ff">
    			<td class="nr" colspan="3"><span class="numero">22</span><span class="dia">Sábado</span><span class="equipa">Equipa 6</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">

    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td></td><td><a href='#' onclick=overlay('66','2010-05-22','b')>66</a></td><td></td></tr><tr><td></td><td><a href='#' onclick=overlay('39','2010-05-22','b')>39</a></td><td></td></tr><tr><td>2</td><td><a href='#' onclick=overlay('33','2010-05-22','b')>33</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('147','2010-05-22','b')>147</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('174','2010-05-22','b')>174</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('132','2010-05-22','b')>132</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ccffff">
    			<td class="nr" colspan="3"><span class="numero">22                </span><span class="dia">Sábado</span><span class="equipa">Equipa 7</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('98','2010-05-22','a')>98</a></td><td>TS/CL/CP/CTT/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('114','2010-05-22','a')>114</a></td><td>TAS/CL/TSD/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('22','2010-05-22','a')>22</a></td><td>TS/CL/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('68','2010-05-22','a')>68</a></td><td>GA/TSD/TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('172','2010-05-22','a')>172</a></td><td></td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#969696">
    			<td class="nr" colspan="3"><span class="numero">23</span><span class="dia">Domingo</span><span class="equipa">Equipa 8</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('77','2010-05-23','b')>77</a></td><td>CL/TS/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('49','2010-05-23','b')>49</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('153','2010-05-23','b')>153</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('54','2010-05-23','b')>54</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('91','2010-05-23','b')>91</a></td><td></td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffcc99">
    			<td class="nr" colspan="3"><span class="numero">23                </span><span class="dia">Domingo</span><span class="equipa">Equipa 9</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>3</td><td><a href='#' onclick=overlay('72','2010-05-23','a')>72</a></td><td>TS/CL/</td></tr><tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('120','2010-05-23','a')>120</a></td><td>CL/TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('19','2010-05-23','a')>19</a></td><td>TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('160','2010-05-23','a')>160</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('164','2010-05-23','a')>164</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('97','2010-05-23','a')>97</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#cc99ff">
    			<td class="nr" colspan="3"><span class="numero">24</span><span class="dia">Segunda</span><span class="equipa">Equipa 10</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('59','2010-05-24','a')>59</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('43','2010-05-24','a')>43</a></td><td></td></tr><tr><td>1</td><td><a href='#' onclick=overlay('57','2010-05-24','a')>57</a></td><td>TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('67','2010-05-24','a')>67</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('119','2010-05-24','a')>119</a></td><td>TS/CL/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffff00">
    			<td class="nr" colspan="3"><span class="numero">25</span><span class="dia">Terça</span><span class="equipa">Equipa 1</span> <img src="images/noite.png" /></td>
  			</tr>
			<tr class="detalhes">
    			<td>Posto</td>

    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>
           <tr><td></td><td><a href='#' onclick=overlay('71','2010-05-25','a')>71</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('53','2010-05-25','a')>53</a></td><td>TS/CL/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('143','2010-05-25','a')>143</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('148','2010-05-25','a')>148</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('169','2010-05-25','a')>169</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('40','2010-05-25','a')>40</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ff00">
    			<td class="nr" colspan="3"><span class="numero">26</span><span class="dia">Quarta</span><span class="equipa">Equipa 2</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>Chf</td><td><a href='#' onclick=overlay('104','2010-05-26','a')>104</a></td><td>TS/CP/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('12','2010-05-26','a')>12</a></td><td>TS/CL/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('146','2010-05-26','a')>146</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('157','2010-05-26','a')>157</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('73','2010-05-26','a')>73</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#00ffff">
    			<td class="nr" colspan="3"><span class="numero">27</span><span class="dia">Quinta</span><span class="equipa">Equipa 3</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>3</td><td><a href='#' onclick=overlay('20','2010-05-27','a')>20</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('118','2010-05-27','a')>118</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('162','2010-05-27','a')>162</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('124','2010-05-27','a')>124</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('159','2010-05-27','a')>159</a></td><td>TS/TSD/</td></tr>  			</tr>
	</table> 
      </div>

            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff0000">
    			<td class="nr" colspan="3"><span class="numero">28</span><span class="dia">Sexta</span><span class="equipa">Equipa 4</span> <img src="images/noite.png" /></td>
  			</tr>
			<tr class="detalhes">
    			<td>Posto</td>

    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>
           <tr><td></td><td><a href='#' onclick=overlay('4','2010-05-28','a')>4</a></td><td></td></tr><tr><td>1</td><td><a href='#' onclick=overlay('34','2010-05-28','a')>34</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('38','2010-05-28','a')>38</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('125','2010-05-28','a')>125</a></td><td>TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('30','2010-05-28','a')>30</a></td><td>TS/TSD/CP/CTT/GA/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('14','2010-05-28','a')>14</a></td><td>TAS/CL/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff6600">
    			<td class="nr" colspan="3"><span class="numero">29</span><span class="dia">Sábado</span><span class="equipa">Equipa 5</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Chf</td><td><a href='#' onclick=overlay('26','2010-05-29','b')>26</a></td><td>CL/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('18','2010-05-29','b')>18</a></td><td>TAS/CL/GA/</td></tr><tr><td></td><td><a href='#' onclick=overlay('48','2010-05-29','b')>48</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('175','2010-05-29','b')>175</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('45','2010-05-29','b')>45</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ff00ff">
    			<td class="nr" colspan="3"><span class="numero">29                </span><span class="dia">Sábado</span><span class="equipa">Equipa 6</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td></td><td><a href='#' onclick=overlay('66','2010-05-29','a')>66</a></td><td></td></tr><tr><td></td><td><a href='#' onclick=overlay('39','2010-05-29','a')>39</a></td><td></td></tr><tr><td>2</td><td><a href='#' onclick=overlay('33','2010-05-29','a')>33</a></td><td>TS/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('147','2010-05-29','a')>147</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('174','2010-05-29','a')>174</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('132','2010-05-29','a')>132</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ccffff">
    			<td class="nr" colspan="3"><span class="numero">30</span><span class="dia">Domingo</span><span class="equipa">Equipa 7</span> <img src="images/dia.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('98','2010-05-30','b')>98</a></td><td>TS/CL/CP/CTT/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('114','2010-05-30','b')>114</a></td><td>TAS/CL/TSD/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('22','2010-05-30','b')>22</a></td><td>TS/CL/</td></tr><tr><td>2</td><td><a href='#' onclick=overlay('68','2010-05-30','b')>68</a></td><td>GA/TSD/TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('172','2010-05-30','b')>172</a></td><td></td></tr>  			</tr>

	</table> 
        </div>
      <div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#969696">
    			<td class="nr" colspan="3"><span class="numero">30                </span><span class="dia">Domingo</span><span class="equipa">Equipa 8</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('77','2010-05-30','a')>77</a></td><td>CL/TS/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('49','2010-05-30','a')>49</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('153','2010-05-30','a')>153</a></td><td>TAS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('54','2010-05-30','a')>54</a></td><td>TS/TSD/</td></tr><tr><td></td><td><a href='#' onclick=overlay('91','2010-05-30','a')>91</a></td><td></td></tr>  			</tr>

	</table> 
      </div>
            	<div id="escala">
      	<table class="tabela_escalas">
  			<tr class="topodia" style="background-color:#ffcc99">
    			<td class="nr" colspan="3"><span class="numero">31</span><span class="dia">Segunda</span><span class="equipa">Equipa 9</span> <img src="images/noite.png" /></td>
  			</tr>

			<tr class="detalhes">
    			<td>Posto</td>
    			<td>Nr</td>
    			<td>Valencias</td>
  			</tr>
            <tr>
            <tr>

           <tr><td>3</td><td><a href='#' onclick=overlay('72','2010-05-31','a')>72</a></td><td>TS/CL/</td></tr><tr><td>Sub-Chf</td><td><a href='#' onclick=overlay('120','2010-05-31','a')>120</a></td><td>CL/TS/TSD/</td></tr><tr><td>1</td><td><a href='#' onclick=overlay('19','2010-05-31','a')>19</a></td><td>TS/CL/</td></tr><tr><td></td><td><a href='#' onclick=overlay('160','2010-05-31','a')>160</a></td><td></td></tr><tr><td>3</td><td><a href='#' onclick=overlay('164','2010-05-31','a')>164</a></td><td>TS/TSD/</td></tr><tr><td>3</td><td><a href='#' onclick=overlay('97','2010-05-31','a')>97</a></td><td>TS/TSD/</td></tr>  			</tr>

	</table> 
      </div>
           </div>
    </div>
<style type="text/css" >
#overlay {
     visibility: hidden;
     position: absolute;
     left: 0px;
     top: 0px;
     width:100%;
     height:100%;
     text-align:center;
     z-index: 1000;
}
#overlay div {
background-color:#FFF;
     width:308px;
 height:200px;
     margin: 100px auto;
     background-color: #fff;
     border:1px solid #000;
 padding-left:2px;
 padding-right:2px;
}
table.trocas_fim{
float:left;
margin-right:4px;
width:150px;
background-color:#CCC;
border-collapse:collapse;
border: 2px solid black;
}
table.trocas{

width:150px;

background-color:#CCC;
border-collapse:collapse;
border: 2px solid black;
}
.legenda{
font:Arial, Helvetica, sans-serif;
font-size:12px;
color:#000;
border: 1px solid black;
}
.mensagem{
margin-top:2px;
font-family:Verdana, Geneva, sans-serif;
font-size:10px;
text-align:justify;
}
.elemento{
font-size:10px;
background-color:#CCC;
border: 1px solid black;
}
input{
}
</style>
<script type="text/javascript">
var conta_cliques = 1;
var pedido_bombeiro;
var pedido_data;
var pedido_turno;
function turnos(turno){
if(turno=="a" ){
			nome_turno = "Noite";
			}else{
			nome_turno = "Dia";	
				}
			return(nome_turno);

}
function visivel(){
el = document.getElementById("overlay");
el.style.visibility = (el.style.visibility == "visible") ? "hidden" : "visible";

}
function overlay(bombeiro,data_inicio,turno)
{	

//conta_cliques++;
	if (conta_cliques===1){
		//alert(turno);
		pedido_bombeiro = bombeiro;
		pedido_data = data_inicio;
		pedido_turno = turno;
		funcao(bombeiro,data_inicio,turno);
		visivel();
		conta_cliques=2;

		if (169!= pedido_bombeiro){
			var erro = "ERRO</br><input type='submit' onClick=cancelar() value='Cancelar'></p>";

		document.getElementById("bombeiro").innerHTML = erro;
			}
	}else{
		if (pedido_bombeiro == bombeiro && pedido_data == data_inicio && pedido_turno == turno || pedido_bombeiro == bombeiro || pedido_data == data_inicio && pedido_turno == turno ){
			var pedido_troca = "ERRO</br><input type='submit' onClick=cancelar() value='Cancelar'></p>";
			}else{
		var pedido_troca = "<p class=mensagem>Escolheu o dia da tabela abaixo para realizar a troca de serviço relembro que para esta troca seja efectuada é necessário faze-lo com bombeiros com as mesmas valencias.</p><table class=trocas_fim><tr><td class=legenda>Eu Bombeiro</td><td class=elemento>"+pedido_bombeiro+"</td></tr><tr><td class=legenda>Data de Troca</td><td class=elemento>"+pedido_data+"</td></tr><tr><td class=legenda>Turno</td><td class=elemento>"+turnos(pedido_turno)+"</td></tr></table><table class=trocas><tr><td class=legenda>Pelo Bombeiro</td><td class=elemento>"+bombeiro+"</td></tr><tr><td class=legenda>Data de Troca</td><td class=elemento>"+data_inicio+"</td></tr><tr><td class=legenda>Turno</td><td class=elemento>"+turnos(turno)+"</td></tr></table><form name=passar_dados method=post action=principal.php><input type=hidden name=pedido_bombeiro value="+pedido_bombeiro+" /><input type=hidden name=pedido_data value="+pedido_data+" /><input type=hidden name=pedido_turno value="+pedido_turno+" /<input type=hidden name=bombeiro value="+bombeiro+" /><input type=hidden name=data_inicio value="+data_inicio+" /><input type=hidden name=turno value="+turno+" /><input name=processar_troca type=submit onClick=finalizar_troca() value=Ok ><input type=submit onClick=cancelar() value='Cancelar'></form><p></p>";
			}
		visivel();
			document.getElementById("bombeiro").innerHTML = pedido_troca ;	
	}


}
function funcao(bombeiro,data_inicio,turno){
				var pedidotroca = "<table class=trocas><tr><td class=legenda>Eu Bombeiro</td><td class=elemento>"+bombeiro+"</td></tr><tr><td class=legenda>Data de Troca</td><td class=elemento>"+data_inicio+"</td></tr><tr><td class=legenda>Turno</td><td class=elemento>"+turnos(turno)+"</td></tr></table><p><input type='button' onClick=ok("+bombeiro+",'"+data_inicio+"','"+turno+"') value='Ok'><input type='submit' onClick=cancelar() value='Cancelar'></p><p class='mensagem'><span style='color:#090'>Depois de clicar em Ok selecione o respectivo dia e o bombeiro pelo qual pretende trocar.</span></p>";
				document.getElementById("bombeiro").innerHTML = pedidotroca ;
				}
function ok(bombeiro,data_inicio,turno){
visivel();
pedido_bombeiro = bombeiro;
pedido_data = data_inicio;
pedido_turno = turno;

}
function cancelar(){
visivel();
window.location.reload();
}
function finalizar_troca(){
visivel();
//alert("ok");
document.passar_dados.submit();
//window.location.reload();
}
</script>
<div id="overlay">
     <div>
    
          <p id="bombeiro">
          </p>

        
     </div>
</div>

</body>
</html>

Share this post


Link to post
Share on other sites
mjamado

Tens mais erros do que eu tenho espaço para responder...  ;)

Tens tags mal fechadas (ou não fechadas) em barda! Isto para começar...


"Para desenhar um website, não tenho que saber distinguir server-side de client-side" - um membro do fórum que se auto-intitula webdesigner. Temo pelo futuro da web.

Share this post


Link to post
Share on other sites
M6

Tens mais erros do que eu tenho espaço para responder...  ;)

Tens tags mal fechadas (ou não fechadas) em barda! Isto para começar...

E aposto que essa é a causa deste erro em particular.


10 REM Generation 48K!
20 INPUT "URL:", A$
30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50
40 PRINT "404 Not Found"
50 PRINT "./M6 @ Portugal a Programar."

 

Share this post


Link to post
Share on other sites
brunoais

Aqui tens a listagem de parte dos erros de HTML que a página tem (o programa só mostra 100 dos 674 erros)

have fun :D

[table]

[/table]


"[Os jovens da actual geração]não lêem porque não envolve um telecomando que dê para mirar e atirar, não falam porque a trapalhice é rainha e o calão é rei" autor: thoga31

Life is a genetically transmitted disease, induced by sex, with death rate of 100%.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.