Ir para conteúdo

POWERED BY:

Arquivado

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

Lucas Alves

Descentralização de Menus

Recommended Posts

Pessoal, boa tarde.

 

Criei uma página no centro da tela, e criei um menu em DHTML, mas o que me acontece é o seguinte:

 

Em minha tela ( monitor de 15"), ele fica normal, mas se eu minimizar ele sái de lado.

E em um monitor de 17" ele já sái de lado na maximização da tela.

 

Confiram o que eu estou dizendo e testem por favor.

 

http://www.tecneed.com\caed.\index.html

 

Se não quiserem ver o site, veja o código abaixo:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title></title><link rel="stylesheet" href="st.css" type="text/css"><script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script></head><body leftmargin="0" topmargin="0" bgcolor="#ffffff" marginheight="0" marginwidth="0"><div align="center"><table border="0" cellpadding="0" cellspacing="0" width="780" align="center"> <tbody><tr>  <td colspan="9" rowspan="3">   <img height="78" src="img/m01.gif" width="539"></td>  <td colspan="6">   <img height="22" src="img/m02.gif" width="207"></td>  <td colspan="3" rowspan="3">   <img height="78" src="img/m03.gif" width="34"></td> </tr> <tr>  <td colspan="3">   <img height="19" src="img/spacer.gif" width="152"></td>  <td colspan="3">   <a href="#">	<img height="19" src="img/m05.gif" width="55" border="0"></a></td> </tr> <tr>  <td colspan="6">   <img height="37" src="img/m06.gif" width="207"></td> </tr> <tr>  <td colspan="18">   <img height="138" src="img/logo.png" width="780"></td> </tr> <tr>  <td colspan="2">   <img height="34" src="img/m08.gif" width="30"></td>  <td colspan="2">   <a href="#"></a></td>  <td colspan="3">   <a href="#"></a></td>  <td>   <a href="#"></a></td>  <td colspan="3">   <a href="#"></a></td>  <td colspan="2">   <a href="#"></a></td>  <td colspan="5">   <img height="34" src="img/m14.gif" width="75"></td> </tr> <tr>  <td colspan="18">   <img height="24" src="img/m15.gif" width="780"></td> </tr> <tr>  <td rowspan="2" bgcolor="#e5efec">   <img height="221" src="img/spacer3.gif" width="29"></td>  <td colspan="2" rowspan="2">   <img height="221" src="img/spacer.gif" width="48"></td>  <td colspan="3">   <img height="33" src="img/Quadro.png" width="201"></td>  <td colspan="8">   <img height="33" src="img/spacer.gif" width="455"></td>  <td colspan="3" rowspan="2">   <img height="221" src="img/spacer.gif" width="27"></td>  <td rowspan="2" bgcolor="#e5efec">   <img height="221" src="img/spacer4.gif" width="20"></td> </tr> <tr>  <td colspan="11" height="188" width="656"><font color="#6c6c6c"><b>Caed.</b> Somos 	  uma empresa de capital 100 % nacional sediada em Contagem Minas 	  Gerais, fundada em Janeiro de 2005. Atuamos no no segmento de cabos 	  montados para telecomunicações, rede elétrica para eletrodomésticos, 	  eletromédica, linha automotiva, industrial e construção civil. A empresa 	  acumulou grande experiência em desenvolvimento de chicotes 	  elétricos direcionados especialmente para o segmento de máquinas de 	  solda e automotivos. <br>												  												  										 <p>	   Seja Bem-vindo ao nosso site e esteja á vontade para nos contatar. </p></font></td> </tr> <tr>  <td colspan="18">   <img height="33" src="img/m23.gif" width="780"></td> </tr> <tr>  <td colspan="3">   <img style="WIDTH: 77px; HEIGHT: 42px" src="img/m24.gif"></td>  <td colspan="2">   <img height="40" src="img/m25.png" width="109"></td>  <td colspan="5">   <img height="29" src="img/m26.gif" width="371"></td>  <td colspan="5">   <img height="29" src="img/m27.png" width="189"></td>  <td colspan="3">   <img style="WIDTH: 34px; HEIGHT: 42px" src="img/m28.gif"></td> </tr> <tr>  <td colspan="2">   <img height="26" src="img/m29.gif" width="30"></td>  <td colspan="14">   <img height="26" src="img/spacer.gif" width="729"></td>  <td colspan="2">   <img height="26" src="img/m31.gif" width="21"></td> </tr> <tr>  <td>   <img height="1" src="img/spacer.gif" width="29"></td>  <td>   <img height="1" src="img/spacer.gif" width="1"></td>  <td>   <img height="1" src="img/spacer.gif" width="47"></td>  <td>   <img height="1" src="img/spacer.gif" width="98"></td>  <td>   <img height="1" src="img/spacer.gif" width="11"></td>  <td>   <img height="1" src="img/spacer.gif" width="92"></td>  <td>   <img height="1" src="img/spacer.gif" width="28"></td>  <td>   <img height="1" src="img/spacer.gif" width="153"></td>  <td>   <img height="1" src="img/spacer.gif" width="80"></td>  <td>   <img height="1" src="img/spacer.gif" width="18"></td>  <td>   <img height="1" src="img/spacer.gif" width="23"></td>  <td>   <img height="1" src="img/spacer.gif" width="111"></td>  <td>   <img height="1" src="img/spacer.gif" width="14"></td>  <td>   <img height="1" src="img/spacer.gif" width="28"></td>  <td>   <img height="1" src="img/spacer.gif" width="13"></td>  <td>   <img height="1" src="img/spacer.gif" width="13"></td>  <td>   <img height="1" src="img/spacer.gif" width="1"></td>  <td>   <img height="1" src="img/spacer.gif" width="20"></td> </tr></tbody></table></div><script type="text/javascript" language="JavaScript1.2"><!--stm_bm(["menu68ac",700,"","blank.gif",1,"145","218",0,0,19,19,144,1,0,0,"","100%",0,0,1,1,"default","hand",""],this);stm_bp("p0",[0,4,0,0,0,3,0,7,100,"",-2,"",-2,90,0,0,"#006699","#FFFFFF","",3,0,0,"#FFFFFF"]);stm_ai("p0i0",[0,"Empresa","","",-1,-1,0,"Caed.html","_self","","","","",0,0,0,"","",0,0,0,1,1,"#F5F5FF",0,"#FFFFFF",0,"","",3,3,1,3,"#FFFFFF #E7E6ED #BBB7C7 #FFFFFF","#FFFFFF #FFFFFF #FFBB00 #FFFFFF","#333333","#666666","bold 9pt Arial","bold 9pt Arial",0,0],165,30);stm_aix("p0i1","p0i0",[0,"Serviços","","",-1,-1,0,"Servicos.html","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7],165,30);stm_bp("p1",[1,4,0,0,0,3,0,0,100,"",-2,"",-2,100,0,0,"#7F7F7F","transparent","",3,0,0,"#000000"]);stm_aix("p1i0","p0i0",[0,"Cabeação","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,1,1,"#F5F5FF",0,"#FFFFFF",0,"","",3,3,1,3,"#FFFFFF #E7E6ED #BBB7C7 #FFFFFF","#FFFFFF #FFFFFF #FFBB00 #FFFFFF","#333333","#666666","9pt Arial","9pt Arial"],135,20);stm_aix("p1i1","p1i0",[0,"Desenvolvimento"],135,20);stm_aix("p1i2","p1i0",[0,"Consultoria"],135,20);stm_ep();stm_aix("p0i2","p0i0",[0,"Parceiros","","",-1,-1,0,"Parceiros.html"],165,30);stm_aix("p0i3","p0i0",[0,"Contato","","",-1,-1,0,"Contato.html"],165,30);stm_ep();stm_em();//--></script></body></html>

Eu sei que nesta parte:

"stm_bm(["menu68ac",700,"","blank.gif",1,"145","218",0,0,19,19,144,1,0,0,"","100%",0,0,1,1,"default","hand",""],this);"

Eu dito onde ele irá aparecer....mas quero mudar para quando eu maximizar, ou minimizar a minha tela, o menu esteja sempre no centro.

 

Preciso de uma resposta de como resolver isso..

 

Obrigado pela força

Compartilhar este post


Link para o post
Compartilhar em outros sites

1°:

 

o Endereço certo é: http://www.tecneed.com/caed/index.html

 

2°:

 

Você está utilizando tabelas...ahh por favor! <_<

 

3°:

 

Não entendi sua dúvida, ele sai de lado quando minimizam?

como? podia tirar uma screen, não vi nada de errado aqui.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Acho que entendeu o ponto meu caro não precisa corrigir sabendo que além do código, está o endereço.... eu tenho pressa na resolução e então, se tivesse feito os testes teria constatado o que eu disse...............

Mas já que insiste, irei desenhar para você responder a minha pequena dúvida.

 

O endereço com as imagens são os seguintes:

 

http://www.tecneed.com/imaster/normal.png

e

http://www.tecneed.com/imaster/minimizada.png

 

Não precisa explicar os nomes, ou precisa?

Compartilhar este post


Link para o post
Compartilhar em outros sites

é, eu uso resolução maior q 800x600 e tbm vi o erro no menu... mas nao sei como te ajudar, aliás, se eu soubesse nem sei se te ajudaria pq com tanta humildade e arrogancia acho que fica difícil alguém vir aqui solucionar seu problema.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Lucas Alves,tem algum motivo pra você estar utilizando esse script DHTML pra esse tipo de finalidade ?se você colocar o menu dentro da tabela, com certeza não terá esse tipo de problema

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.