- Fórum WMO
- → Dinho Z.'s Content
Dinho Z.'s Content
There have been 187 items by Dinho Z. (Search limited from 20/04/2023)
#382198 Atualizando a versão do PHP
Posted by Dinho Z. on 10/06/2004, 08:17 in Frameworks e Software relacionado a PHP
#385543 Tutorial De Camadas (divs)
Posted by Dinho Z. on 15/06/2004, 12:56 in Tutoriais e Artigos de (X)HTML e CSS
E invasoesdemaniacos, se você ler o post direito iria ver que eu expliquei o que é z-index, não era necessário perguntar de novo...
#382452 Tutorial De Camadas (divs)
Posted by Dinho Z. on 10/06/2004, 15:01 in Tutoriais e Artigos de (X)HTML e CSS
Quanto maior o número do z-index, ele fica em cima, e quanto menor, ele vai ficando embaixo...
Isto é CSS...
#383046 Tutorial De Camadas (divs)
Posted by Dinho Z. on 11/06/2004, 10:59 in Tutoriais e Artigos de (X)HTML e CSS
Se você tiver 5 elementos em uma página HTML, pode usar 0, 1, 2, 3 e 4, ou 1, 2, 3, 4, 5...
#387607 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 18/06/2004, 14:56 in Sintaxe SQL
Eu te adicionei no meu msn... dá uma olhada...
Aí eu tento te ajudar online...
#386776 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 17/06/2004, 11:14 in Sintaxe SQL
Da mesma maneira vc faz para inserir dentro do SQL...
#386935 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 17/06/2004, 14:59 in Sintaxe SQL
Estou começando a mexer com o Cold Fusion agora, não manjo muito, mas o seu problema era de Lógica, não de Cold, por isso consegui te ajudar...
Aonde você hospeda sua página ???
#386989 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 17/06/2004, 16:19 in Sintaxe SQL
Me passa o código do seu RS para ver o que eu posso fazer... Aqui no trampo tem uns caras que manjam de CF...
#386039 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 16/06/2004, 08:12 in Sintaxe SQL
Ou você não sabe pegar o valor do post e por em uma variável ???
#387311 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 18/06/2004, 08:18 in Sintaxe SQL
<CFPARAM name="Inicio" default="1"> <CFPARAM name="Exibir" default="5"> <cfquery name="rs" datasource="matheusreis"> SELECT * FROM REGISTRO INNER JOIN BLOG ON REGISTRO.reg_id = BLOG.reg_id ORDER BY post_id DESC </cfquery> <CFSET Final=Inicio + Exibir> <CFIF Inicio + Exibir GT rs.RecordCount> <CFSET Final=995> <CFELSE> <CFSET Final=Exibir> </CFIF> <html> <head> <title>M A T H E U S R E I S:blog --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- @import url("blog.css"); --> </style> <style type="text/css"> <!-- a:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #333333; text-decoration: none; } a:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #999999; text-decoration: underline; } a:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #333333; text-decoration: none; } --> </style> <style> body{ overflow-x:hidden; } </style> </head> <body leftmargin="10" topmargin="10" marginwidth="0" marginheight="0"> <cfoutput query="rs" maxrows="5"> <cfquery name="n_coment" datasource="matheusreis"> SELECT COUNT(*) MAXIMO FROM comentario INNER JOIN blog ON comentario.post_id = blog.post_id WHERE comentario.post_id=#rs.post_id# </cfquery> <table width="590" border="1" cellspacing="0" cellpadding="0"> <tr> <td height="18" colspan="4" class="btoff"><font size="2"><strong>#rs.titulo#</strong></font></td> </tr> <tr> <td height="7"></td> <td width="2" height="7" valign="top" background="pontos_horiz.gif"><img src="trans.gif" width="2" height="2"></td> <td height="7"></td> <td height="7"></td> </tr> <tr> <td width="84" height="18" valign="top"> <div align="left"><a href="mail.cfm?userid=#rs.reg_id#"><img src="avatar/#rs.avatar#" width="70" height="70" border="0" align="top"></a><br> </div></td> <td width="2" height="18" valign="top" background="pontos_horiz.gif"><img src="trans.gif" width="2" height="2"></td> <td width="8" valign="top" class="tblmeio"> </td> <td width="516" valign="top" class="tblmeio">#replace(rs.post,Chr(13),"<br>","all")#<br> #n_coment.MAXIMO# Comentário(s) </td> </tr> <tr> <td height="3" colspan="3" align="left" valign="middle" background="pontos_horiz.gif"><img src="trans.gif" width="8" height="2"></td> <td height="3" colspan="3" align="left" valign="middle" background="pontos_horiz.gif" class="tblmeio"><img src="trans.gif" width="8" height="2"></td> </tr> <tr> <td height="19" align="left" valign="middle"> <div align="center"><a href="mail.cfm?userid=#rs.reg_id#"><strong>#rs.usuario#</strong></a></div></td> <td width="2" height="19" valign="top" background="pontos_horiz.gif"><img src="trans.gif" width="2" height="3"></td> <td width="8" valign="top" class="tblmeio"> </td> <td height="19" colspan="3" align="left" valign="middle" class="tblmeio"> <div align="right"></div> <table width="53%" height="19" border="1" align="center" cellpadding="0" cellspacing="2"> <tr> <td width="50%" class="tbldir"><div align="center"><strong><a href="coment.cfm?post=#rs.post_id#" target="load">COMENTAR</a></font></strong></strong></div> <strong></div></strong></td> <td width="50%" class="tbldir"><div align="center"><strong><a href="comentario.cfm?post=#rs.post_id#" target="load">COMENTÁRIOS</a> </strong></div></td> </tr> </table></tr> <tr> <td height="3" colspan="3" align="left" valign="middle" background="pontos_horiz.gif"><img src="trans.gif" width="8" height="2"></td> <td height="3" colspan="3" align="left" valign="middle" background="pontos_horiz.gif" class="tblmeio"><img src="trans.gif" width="8" height="2"></td> </tr> </table> <br> </cfoutput> <table width="590" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="590" align="center" valign="middle"> <cfoutput> <table width="52%" border="0" cellspacing="4" cellpadding="0"> <tr> <td width="50%" align="center" valign="middle" class="tbldir"> <CFIF Inicio NEQ 1> <CFIF Inicio GTE Exibir> <CFSET Anterior=Exibir> <CFSET AnteriorRegistro=Inicio - Exibir> <CFELSE> <CFSET Anterior=Inicio - 1> <CFSET AnteriorRegistro=1> </CFIF> <div align="center"><a href="exibepost.cfm?Inicio=#AnteriorRegistro#">#Anterior# Anteriores</a> </div> </CFIF> </td> <td width="50%" align="center" valign="middle" class="tbldir"> <CFIF Final LT rs.RecordCount> <CFIF Inicio + Exibir * 2 GTE rs.RecordCount> <CFSET Proxima=rs.RecordCount - Inicio - Exibir + 1> <CFELSE> <CFSET Proxima=Exibir> </CFIF> <div align="center"><a href="exibepost.cfm?Inicio=#Evaluate("Inicio + Exibir")#">Próximos #Proxima#</a> </div> </cfif> </td> </tr> </table></cfoutput> </td> </tr> </table> </body> </html>
#387524 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 18/06/2004, 13:57 in Sintaxe SQL
O SQL não tem nada a ver com o CF... Se deu erro no SQL, não é que o CF não suporta... Deve ser outra coisa...
Tente assim:
SELECT COUNT(*) AS MAXIMO FROM comentario INNER JOIN blog ON comentario.post_id = blog.post_id WHERE comentario.post_id=#rs.post_id#
#386655 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 17/06/2004, 08:04 in Sintaxe SQL
http://blog.matheusreis.com.br/coment.cfm?post=34
Este post=34 é o ID do seu post... ele tem que estar na variável...
No caso, se você fosse usar o mesmo esquema de links para chamar o seu BD, ficaria assim:
SELECT * FROM comentario INNER JOIN blog ON comentario.post_id = blog.post_id WHERE comentario.post_id= #url.post#
#384733 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 14/06/2004, 08:34 in Sintaxe SQL
SELECT * FROM REGISTRO INNER JOIN BLOG ON REGISTRO.reg_id = BLOG.reg_idAí é só chamar o campo NOME que está dentro da tabela REGISTRO...
#385665 Puxar Dados De Tabelas Diferentes
Posted by Dinho Z. on 15/06/2004, 14:58 in Sintaxe SQL
SELECT * FROM comentario INNER JOIN blog ON comentario.post_id = blog.post_id WHERE comentario.post_id='VALOR_ID'
E no lugar de VALOR_ID vai o valor ou código do ID usando uma variável...
#393123 Compatibilidade Entre Browsers
Posted by Dinho Z. on 28/06/2004, 08:45 in CSS & Semântica (Tableless)
#548431 Banner Randomico Por Flash
Posted by Dinho Z. on 07/03/2005, 11:39 in Javascript / DOM / AJAX / ECMAScript
#385535 Banner Randomico Por Flash
Posted by Dinho Z. on 15/06/2004, 12:45 in Javascript / DOM / AJAX / ECMAScript
Não sei de cabeça como ficaria a tag completa, mas faça uma busca nas seções de HTML ou de Flash de como inserir um filme flash e mude ele para o jeito que você quer...
#382439 Resolução Tela!
Posted by Dinho Z. on 10/06/2004, 14:45 in Javascript / DOM / AJAX / ECMAScript
Meu site ficou bom em todos os navegadores...
Há sim pequenas diferenças, mas eu consegui contorná-las, é questão de tentar alternativas na hora de fazer códigos em JS e em CSS e ver se ficou legal...
#382189 Efeito Css Num Texto, Tamanho E Tals
Posted by Dinho Z. on 10/06/2004, 07:47 in CSS & Semântica (Tableless)
Na frente da palavra menu tem que ter o ponto(.), e ficaria assim:
.menu{ ... }
#389552 Imagem Transparente
Posted by Dinho Z. on 22/06/2004, 08:03 in Javascript / DOM / AJAX / ECMAScript
Todo os esquemas de filters e de transição só funcionam no IE...
Dêem uma olhada aqui:
http://forum.wmonlin...4144&hl=filtros
#384728 Rodar Php No Iis
Posted by Dinho Z. on 14/06/2004, 08:21 in IIS & PWS
Clique aqui e baixe o PHP Installer ou o PHP Zipado...
#431476 Clica No Botao Abre Pop
Posted by Dinho Z. on 24/08/2004, 12:04 in Javascript / DOM / AJAX / ECMAScript
function abre_princ(pagina) { opener.location = pagina; window.close(); }
#431394 Clica No Botao Abre Pop
Posted by Dinho Z. on 24/08/2004, 10:03 in Javascript / DOM / AJAX / ECMAScript
<script> <!-- function abre_princ(pagina) { opener.location = pagina; } //--> </script>
E no link, pode fazer assim:
<a href="#" onclick="abre_princ('curos.htm')">Curso</a>
#381642 Dúvidas
Posted by Dinho Z. on 09/06/2004, 09:12 in ASP
Não... Porque está sendo usado o comando Select Case, que irá escolher apenas uma das opções, no caso, o número que vier no ID, entendeu ???Somente uma dúvida mais, quando coloco isso ná página index.asp, as tabelas com as Noticias, apresentaçãodo site não desaparecem da página e sim apenas descem.simples:
<%
acao = Request.QueryString("id")
select case acao
%>
<% case "1" 'primeiro caso da selecao %>
<!--#include file="noticias.asp" -->
<% case "2" 'segundo caso da selecao %><br>
<!--#include file="expediente.asp" -->
<% case "3" 'segundo caso da selecao %><br>
<!--#include file="publicidade.asp" -->
<% case else 'se não ouver nenhum caso ou um caso que não existir %><br>
<!--#include file="home.asp" -->
<% end select 'termina a selecao %>
aí vc salva essa pg com index.asp e se acessar index.asp?id=1 vc vai ver a noticias.asp e por aí vai..
#431447 Clica No Botao Abre Pop
Posted by Dinho Z. on 24/08/2004, 11:20 in Javascript / DOM / AJAX / ECMAScript
- Fórum WMO
- → Dinho Z.'s Content
- Privacy Policy
- Regras ·