- Fórum WMO
- → Dinho Z.'s Content
Dinho Z.'s Content
There have been 187 items by Dinho Z. (Search limited from 05/06/2023)
#382194 Script P/ Checkbox
Posted by Dinho Z. on 10/06/2004, 08:09 in ASP
Para pegar o valor, você usa o Request também...
O value não pode ser dinâmico, neste exemplo que eu te passei...
#381850 Script De Links
Posted by Dinho Z. on 09/06/2004, 15:20 in Javascript / DOM / AJAX / ECMAScript
<script> lista = new Array(); lista[0] = 'pagina1'; lista[1] = 'pagina2'; lista[2] = 'pagina3'; for(x = 0;x < lista.length;x++){ y = x + 1; endereco = lista[x].link('pagina' + y + '.htm'); document.write(endereco + '<br>'); } </script>
#387336 Saber Se Dá Pra Fazer Flash Aleatorio E
Posted by Dinho Z. on 18/06/2004, 08:46 in Javascript / DOM / AJAX / ECMAScript
#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...
#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...
#381365 Refresh, Stop, Next, Etc...
Posted by Dinho Z. on 08/06/2004, 16:52 in HTML, CSS e Metodologias
Veja o que o Chinello respondeu... não precisava nem perguntar de novo...Agora, "parar" fica difícil.. Pense, como q o usuário vai parar de carregar a página se ela nem carregou, logo, nem apareceu o botão ainda.. ..
Fica meio difícil (impossível) essa.. hehe
#544036 Reconhecer Se Tem Ou Nao Flash
Posted by Dinho Z. on 27/02/2005, 15:07 in HTML, CSS e Metodologias
Segue anexo um arquivo zipado com uma página em HTML e um .js, que verifica se tem o flash instalado, aí é só usar um pouco de lógica para ao invés de abrir o flash, ele abra um gif ou um jpg...
Attached Files
- flash.zip 1.08KB 19 downloads
#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...
#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...
#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#
#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 ???
#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...
#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>
#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...
#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 ???
#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#
#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...
#427843 Proteção De Pagina
Posted by Dinho Z. on 18/08/2004, 15:57 in HTML, CSS e Metodologias
Fiz isto aqui e funcionou também no Mozilla...
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" onclick="return true" onmousedown="return false">
#441784 Programa Para Converter Entidades Xhtml
Posted by Dinho Z. on 10/09/2004, 08:23 in HTML, CSS e Metodologias
#433868 Problemas Com Hyperlink
Posted by Dinho Z. on 27/08/2004, 15:24 in HTML, CSS e Metodologias
Faz favor Peppermel...Valeu pelo PHP...
Acabei resolvendo com o ASP mesmo. Já que meus parcos conhecimentos em HTML não estavam ajudando, resolvemos apelar para uma função em ASP que baixasse o arquivo na 'marra'!
Valeu pela atenção, gente!
Coloca o seu código ASP aqui pra mim... vai ser de grande ajuda...
Obrigado...
#387517 Problemas Com Funcao!
Posted by Dinho Z. on 18/06/2004, 13:54 in Javascript / DOM / AJAX / ECMAScript
Pelo o que eu percebi, a Rossana Carimo deve ser portuguesa...
Por isso, bolseiro, e não bolsista...
Se eu estiver errado, me corrija...
#385094 Problema Serio Com Submit De Formularios...
Posted by Dinho Z. on 14/06/2004, 17:40 in HTML, CSS e Metodologias
<form method="POST" name="form1" target="_blank">
- Fórum WMO
- → Dinho Z.'s Content
- Privacy Policy
- Regras ·