Jump to content


Photo

Galeria De Imagens


  • Faça o login para participar
3 replies to this topic

#1 alex182

alex182

    Turista

  • Usuários
  • 29 posts
  • Sexo:Não informado

Posted 24/09/2004, 09:58

Eu to fazendo um site de baladas e todo mundo sabe que nesse tipo de site o princiapal são as fotos, uma porrada de fotos e a forma pra facilitar o meu trampo foi usa esse script asp, ele gera as janelas pop-up sozinho facilitando o serviço. Mais o problema tá na organização das fotos no caso ele usa uma unica pasta para todas as fotos, então eu queria se possivel que alguém desse uma olhada nesse script e se possivel alterar alguma coisa para eu poder usar varias pastas de fotos pra manter uma organização. O link para o down é esse http://www.vipcodigo...catid=49&id=149

valeu

Edição feita por: alex182, 24/09/2004, 17:44.


#2 maresia

maresia

    12 Horas

  • Usuários
  • 284 posts
  • Sexo:Não informado

Posted 24/09/2004, 10:04

Bom, eu não tenho tempo para arrumar o script, mas se quiser posso ir ajudando...

Dá uma olhada no meu trabalho:

www.noiteafora.com

;)

Edição feita por: maresia, 24/09/2004, 10:04.

Noite Afora - Prá quem troca o dia pela noite
Acesse agora mesmo
www.noiteafora.com
o Melhor site de baladas do interior de São Paulo.

#3 alex182

alex182

    Turista

  • Usuários
  • 29 posts
  • Sexo:Não informado

Posted 24/09/2004, 10:52

Bom, eu não tenho tempo para arrumar o script, mas se quiser posso ir ajudando...

Dá uma olhada no meu trabalho:

www.noiteafora.com

;)

Valeu mano, quando vc tiver um tempo e puder me dá um help eu agradeço. É locura tentar colocar centenas de fotos manualmente só um scrip desse pra facilitar. Tá muito loco o seu site, me diz uma coisa aquele esquemas das fotos que tem no seu site vc usou um script em asp? http://www.clubers.c...&album=17092004

No caso depois que abre o album de fotos cada foto tem seu pop-up, isso o propio script faz sozinho né?

#4 alex182

alex182

    Turista

  • Usuários
  • 29 posts
  • Sexo:Não informado

Posted 24/09/2004, 17:35

EX dele pronto: http://www.mixnight.com\pod\pod&...#092;index.html

Esse script ele usa xml igual esse:

<?xml version="1.0"?>

<!--   Paul Millar - PicturePod
*    Copyright © 2001  Paul Millar
*
*   This program is free software; you can redistribute it and/or modify
*   it under the terms of the GNU General Public License as published by
*   the Free Software Foundation; either version 2 of the License, or
*   (at your option) any later version.
*
*   This program is distributed in the hope that it will be useful,
*   but WITHOUT ANY WARRANTY; without even the implied warranty of
*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*   GNU General Public License for more details.
*
*   You should have received a copy of the GNU General Public License
*   along with this program; if not, write to the Free Software
*   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*
*   dazzle750@hotmail.com
-->

<pod>

<pictures title="Liz Hurley">bed_1.jpg</pictures>
<pictures>bed_2.jpg</pictures>
<pictures>bed_3.jpg</pictures>
<pictures>bed_4.jpg</pictures>
<pictures>bed_7.jpg</pictures>

</pod>

E o cod em asp com o nome de pod

<%@ language="javascript" %>

<%
var pod_type = Request.QueryString("pod")

var xmlPod = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
xmlPod.load(Server.MapPath(pod_type+".xml"))

xmlPod.async = false
var xmlPodRoot = xmlPod.documentElement
var xmlPodChildren = xmlPodRoot.childNodes
var xmlPodChildLength = xmlPodChildren.length
%>

<HTML>
<HEAD>
<TITLE>PicturePod - <%=(xmlPodChildren.item(0).attributes.item(0).value+" - ("+xmlPodChildLength+" pictures)")%></TITLE>
	
<style type="text/css">
<!--
A {color: #9999CC;}
-->
</style>

<script language="javascript">
<!--
<%
for (var y = 0; y < xmlPodChildLength; y++) {
Response.Write("var picPod"+y+"= new Image()\n")
Response.Write("picPod"+y+".src = 'images/"+xmlPodChildren.item(y).text+"'\n")
}
%>

var img = new Array()
<%
for (var x = 0; x < xmlPodChildLength; x++) {
Response.Write("img["+x+"] = 'images/"+xmlPodChildren.item(x).text+"'\n")
}
%>
var n = 0
var i = img.length - 1

function next() {
n=n+1
document.img1.src = img[n]
if (n >= img.length) {
document.img1.src = img[0]
n=0
}
}

function previous() {
n=n-1
document.img1.src = img[n]
if (n < 0) {
document.img1.src = img[i]
n = i
}
}
//-->
</script>

</HEAD>
   
<BODY background="images/tile.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="0" width="100%" align="center">
<tr><td align="center" valign="top">
<map name="pod_top">
<area alt="" coords="289,4,349,29" href="javascript:window.close();void(0)">
</map>
<img src="images/pod_top.gif" border="0" usemap="#pod_top">
<br>
</td></tr>
<tr><td align="center" valign="middle">
<%
Response.Write("<img name=img1 src=images/"+xmlPodChildren.item(0).text+" border=0 align=center>")
%>
</td></tr>
<tr><td align="center" valign="bottom">
<br>
<img src="images/pod_bot.gif"  alt="" border="0" usemap="#podmap">
<map name="podmap">
<area alt="" coords="291,11,346,30" href="javascript:next()" shape="RECT">
<area alt="" coords="201,10,286,30" href="javascript:previous()" shape="RECT">
</map>
</td></tr>
</table>

</BODY>
</HTML>

<%
xmlPod = null
xmlPodRoot = null
xmlPodChildren = null
xmlPodChildLength = null
pod_type = null
%>

Edição feita por: alex182, 24/09/2004, 17:44.





1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq