
crucifier
Membros-
Total de itens
306 -
Registro em
-
Última visita
Tudo que crucifier postou
-
oi gente.. sou meio noob no flash..e lerdo pra entende as coisas me ajudem XD keria sabe tipow...eu tenho um swf chamado "X"...e keru que o swf "Y" carregue dentro do swf "X"...tipw...eu seleciono tal área dentro do swf "X" para nakela área o swf "Y" aparecer.. entenderam?mei ocomplikado o jeito q eu explikei...mas quem entender me ajuda aih..qm não entender eu do uma explikada melhor=) falow gente brigado...espero que vocês consigam me ajudar ateh as 5hrs do dia 4 de outubro XD valeu=)
-
ninguém aqui é seu empregao então vai com calma
-
Mais um problema...aquele de achar automaticamente o tamanho da imagem e tal não deu certo=( mas vamos partir pra otro....dexa aquele keto eu me viro na hora de postar a imagem.. é o seguinte.. nesse codigo que eu vou postar eu keria chamar do banco de dados a coluna miniatura, e a coluna chamada fiz td q o cara q feiz o codigo feiz com a coluna imagem....só q aki não deu certo... sera q alguém consegue me dar uma ajuda? (miniatura ta depois de '////comeca as fotos e chamada ta depois de '////comeca as categorias vo posta o codigo aki..me ajudemm=) <!--#include file="conectar_galeria.asp"--> <html> <head> <title>::: Filth . Com ::: Cradle of Filth :: Oficial BR Page</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="estilo.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style1 {color: #FFFFFF} .style2 {font-size: 10} .style22 {font-size: 12px; font-weight: bold; color: #FFFFFF; } --> </style> <script language="JavaScript" type="text/JavaScript"> <!-- function Abre(imageName,imageWidth,imageHeight,alt,posLeft,posTop) { newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop); newWindow.document.open(); newWindow.document.write('<html><title>'+"Fotos"+'</title><body bgcolor="#444444" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); newWindow.document.write('</body></html>'); newWindow.document.close(); newWindow.focus(); } //--> </script> </head> <body bgcolor="#333333" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="770" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td width="780" bgcolor="#333333"> <table width="775" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="1002" colspan="2" bgcolor="#000000"><!--#include file="topo.htm" --></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="20%" valign="top"> <!--#include file="menu.htm" --> </td> <td width="62%" valign="top"><table width="468" height="60" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#666666"> <tr> <td width="468" height="60" bgcolor="#333333"><iframe id="publicidade" frameborder="0" height="60" name="publicidade" scrolling="no" src="publicidade.php" width="468"></iframe></td> </tr> </table> <br> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" background="images/fundo_pg_cat.gif" bgcolor="#444444"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="21%" background="images/fundo_cat.gif"><img src="images/noticias.gif" width="115" height="50"></td> <td width="79%" background="images/fundo_cat.gif"> </td> </tr> </table></td> </tr> <tr> <td><div align="center"> <br> <table width="90%" height="30" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td bgcolor="#3A3A3A"><div align="center"><span class="style22">Galeria de Fotos </span></div></td> </tr> </table> </div> <div align="center"> <br> </div> <div align="center"> </div> </td> </tr> <tr> <td valign="top"> <div align="center"> <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> <tr> <td><% AbreConexao idcat=request.querystring("idcat") idalbum=request.querystring("idalbum") cat=request.querystring("cat") album=request.querystring("album") url=request.querystring("url") id=request.querystring("id") imagem=request.querystring("imagem") miniatura=request.querystring("miniatura") chamada=request.querystring("chamada") imagem=("imagem") miniatura=("miniatura") chamada=("chamada") '/////COMECA AS CATEGORIAS If idcat = "" Then Set rsCats = Conexao.Execute("SELECT * FROM categorias ORDER BY nome") If rsCats.EOF Then Response.Write "Nenhuma categoria encontrada!" Else While not rsCats.EOF chamada=rsCats("chamada") Response.Write "<td><div align=center><a href=""galeria_fotos.asp?idcat="&rsCats("id")&"&cat="&rsCats("nome")&""">" Response.Write "<img width=""90"" height=""68"" border=0 src="&chamada&"><br>" Response.Write ""&rsCats("nome")&"</a></div><BR></td>" rsCats.Movenext Wend End If '/////COMECA OS ALBUNS Else If idalbum = "" Then Response.Write "<font face=Verdana color=#FFFFFF><B>"&cat&"</font></B><BR><BR>" Set rsAlbum = Conexao.Execute("SELECT * FROM album WHERE idcat="&idcat&" ORDER BY nome") If rsAlbum.EOF Then Response.Write "Nenhum album encontrado!" Else While not rsAlbum.EOF Response.Write "<a href=""galeria_fotos.asp?idcat=" & idcat & "&cat=" & cat & "&idalbum=" & rsAlbum("id")& "&album=" & rsAlbum("nome") & """>" & rsAlbum("nome") & "<BR>" rsAlbum.Movenext Wend End If '/////COMECA AS FOTOS '/////COMECA AS FOTOS Else Response.Write "<font face=Verdana color=#ffffff><B>"& cat &" - "& album & "</font></b><BR><BR>" Set rsFotos = Conexao.Execute("SELECT * FROM fotos WHERE idalbum="&idalbum&"") If rsFotos.EOF Then Response.Write "Nenhuma foto encontrada!" Else Response.Write "<div align=""center""><table border=0 cellpadding=15 cellspacing=0 width=""80%"">" contar = 0 Do while not rsFotos.eof If contar = 5 Then Response.Write "<tr>" End If If contar <> 5 Then Response.Write "<TR>" End If imagem=rsFotos("imagem") If RsFotos.eof then exit do Response.Write "<td><a href=""javascript:Abre('"&imagem&"',400,300)""><img width=""90"" height=""68"" border=0 src="""&miniatura&".jpg""></a></td>" contar = contar +1 rsFotos.MoveNext If RsFotos.eof then exit do imagem=rsFotos("imagem") Response.Write "<td><a href=""javascript:Abre('"&imagem&"',400,300)""><img width=""90"" height=""68"" border=0 src="""&miniatura&".jpg""></a></td>" contar = contar + 1 rsFotos.MoveNext If RsFotos.eof then exit do imagem=rsFotos("imagem") Response.Write "<td><a href=""javascript:Abre('"&imagem&"',400,300')""><img width=""90"" height=""68"" border=0 src="""&miniatura&".jpg""></a></td>" contar = contar + 1 rsFotos.MoveNext Loop Response.Write "</tr></table></div>" End if End If End If %></td> </tr> <tr> <td> </td> </tr> </table> </div></td> </tr> <tr> <td> </td> </tr> <tr> <td></td> </tr> </table></td> </tr> </table></td><td width="18%" valign="top"><!--#include file="direita_pgs.htm" --></td> </tr> </table></td> </tr> <tr> <td colspan="2"><!--#include file="rodape.htm" --></td> </tr> </table></td> </tr> </table> </body> </html>
-
ops fui eu q postei ali em cima como guest...eskeci de me logar..
-
ow gente eu to alteranu um sisteminha de imagens aki...o chacal album lá..e tipw...(não liguem se eu falar alguma besteira...sou noob em asp) tipw quando adiciona a imagem vai pedir os pixels dela pra configurar o tamanho do popup que vai abrir..então keria saber de duas uma. Tem jeito de eu colocar pra ler automaticamente o tamanho da imagem(em px) e quando abrir a imagem no popup estar certinhu sem precisar adicionar o tamanho dela e tal?? se não der certo..keria saber como faz pra mim puxar o tamanho dos pixels do banco de dados (que eu vo te adicionado o tamanho) para o popup da imagem...(espero ter sido claro)... abaixo vou adicionar o codigo dessa pagina...caso alguém tenha duvidas em relação ao post postem aih a duvida pra mim tenta esclarecer para voces esclarecerem a minha=)) ah sim vou explicar umas cositas do codigo: esse javascript q tem logo aih em cima é pra poder abrir o pop-up... bd_width e bd_height é o tamanho da imagem que ta puxanu do bd pra vocês localizarem melhor onde q ta o codigo pra postar a imagem pro usuário ver os pixels dela está como: 4000,4500 (eu coloquei isso pra diferenciar e vocês poderem dar um "CTRL F" pra acha mais facil) e tipw no lugar de 4000,4500 eu tenho que puxar o bd_width,bd_height..mas eu já tentei das seguintes formas e não deu: ...href=""javascript:Abre('"&imagem&"',"&bd_width&","&bd_height&")""... ...href=""javascript:Abre('"&imagem&"',&bd_width&,&bd_height&)""... ...href=""javascript:Abre('"&imagem&"',"bd_width","bd_height")""... e nenhum deu certo...me ajudem plizz=D <!--#include file="conectar_galeria.asp"--> <html> <head> <title>::: Filth . Com ::: Cradle of Filth :: Oficial BR Page</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="estilo.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style1 {color: #FFFFFF} .style2 {font-size: 10} .style22 {font-size: 12px; font-weight: bold; color: #FFFFFF; } --> </style> <script language="JavaScript" type="text/JavaScript"> <!-- function Abre(imageName,imageWidth,imageHeight,alt,posLeft,posTop) { newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop); newWindow.document.open(); newWindow.document.write('<html><title>'+"Fotos"+'</title><body bgcolor="#444444" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); newWindow.document.write('</body></html>'); newWindow.document.close(); newWindow.focus(); } //--> </script> </head> <body bgcolor="#333333" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="770" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td width="780" bgcolor="#333333"> <table width="775" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="1002" colspan="2" bgcolor="#000000"><!--#include file="topo.htm" --></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="20%" valign="top"> <!--#include file="menu.htm" --> </td> <td width="62%" valign="top"><table width="468" height="60" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#666666"> <tr> <td width="468" height="60" bgcolor="#333333"><iframe id="publicidade" frameborder="0" height="60" name="publicidade" scrolling="no" src="publicidade.php" width="468"></iframe></td> </tr> </table> <br> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" background="images/fundo_pg_cat.gif" bgcolor="#444444"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="21%" background="images/fundo_cat.gif"><img src="images/noticias.gif" width="115" height="50"></td> <td width="79%" background="images/fundo_cat.gif"> </td> </tr> </table></td> </tr> <tr> <td><div align="center"> <br> <table width="90%" height="30" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000"> <tr> <td bgcolor="#3A3A3A"><div align="center"><span class="style22">Galeria de Fotos </span></div></td> </tr> </table> </div> <div align="center"> <br> </div> <div align="center"> </div> </td> </tr> <tr> <td valign="top"> <div align="center"> <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> <tr> <td><% AbreConexao idcat=request.querystring("idcat") idalbum=request.querystring("idalbum") cat=request.querystring("cat") album=request.querystring("album") url=request.querystring("url") id=request.querystring("id") imagem=request.querystring("imagem") bd_height=request.querystring("bd_height") bd_width=request.querystring("bd_width") imagem=("imagem") '/////COMECA AS CATEGORIAS If idcat = "" Then Set rsCats = Conexao.Execute("SELECT * FROM categorias ORDER BY nome") If rsCats.EOF Then Response.Write "Nenhuma categoria encontrada!" Else While not rsCats.EOF Response.Write "<a href=""galeria_fotos.asp?idcat="&rsCats("id")&"&cat="&rsCats("nome")&""">"&rsCats("nome")&"</a><BR>" rsCats.Movenext Wend End If '/////COMECA OS ALBUNS Else If idalbum = "" Then Response.Write "<font face=Verdana color=#FFFFFF><B>"&cat&"</font></B><BR><BR>" Set rsAlbum = Conexao.Execute("SELECT * FROM album WHERE idcat="&idcat&" ORDER BY nome") If rsAlbum.EOF Then Response.Write "Nenhum album encontrado!" Else While not rsAlbum.EOF Response.Write "<a href=""galeria_fotos.asp?idcat=" & idcat & "&cat=" & cat & "&idalbum=" & rsAlbum("id")& "&album=" & rsAlbum("nome") & """>" & rsAlbum("nome") & "<BR>" rsAlbum.Movenext Wend End If '/////COMECA AS FOTOS '/////COMECA AS FOTOS Else Response.Write "<font face=Verdana color=#ffffff><B>"& cat &" - "& album & "</font></b><BR><BR>" Set rsFotos = Conexao.Execute("SELECT * FROM fotos WHERE idalbum="&idalbum&"") If rsFotos.EOF Then Response.Write "Nenhuma foto encontrada!" Else Response.Write "<div align=""center""><table border=0 cellpadding=15 cellspacing=0 width=""80%"">" contar = 0 Do while not rsFotos.eof If contar = 5 Then Response.Write "<tr>" End If If contar <> 5 Then Response.Write "<TR>" End If imagem=rsFotos("imagem") If RsFotos.eof then exit do Response.Write "<td><a href=""javascript:Abre('"&imagem&"',4000,4500)""><img width=""90"" height=""68"" border=0 src="""&imagem&"""></a></td>" contar = contar +1 rsFotos.MoveNext If RsFotos.eof then exit do imagem=rsFotos("imagem") Response.Write "<td><a href=""javascript:Abre('"&imagem&"',4000,4500)""><img width=""90"" height=""68"" border=0 src="""&imagem&"""></a></td>" contar = contar + 1 rsFotos.MoveNext If RsFotos.eof then exit do imagem=rsFotos("imagem") Response.Write "<td><a href=""javascript:Abre('"&imagem&"',4000,4500)""><img width=""90"" height=""68"" border=0 src="""&imagem&"""></a></td>" contar = contar + 1 rsFotos.MoveNext Loop Response.Write "</tr></table></div>" End if End If End If %></td> </tr> <tr> <td> </td> </tr> </table> </div></td> </tr> <tr> <td> </td> </tr> <tr> <td></td> </tr> </table></td> </tr> </table></td><td width="18%" valign="top"><!--#include file="direita_pgs.htm" --></td> </tr> </table></td> </tr> <tr> <td colspan="2"><!--#include file="rodape.htm" --></td> </tr> </table></td> </tr> </table> </body> </html>
-
consigui já gente....se os moderadores kizerem fechar aki poh fecha...vlw
-
é u negocio não deu certo...quem puder me ajudar fala aew