Autor Tema: Enlaces en una galeria copermine.  (Leído 17751 veces)

Desconectado algeck

  • Member
  • ***
  • Mensajes: 472
  • Aprendiz de todo.
    • Galeria fotografica.
Re: Enlaces en una galeria copermine.
« Respuesta #10 en: 31 de Marzo de 2006, 02:11:00 pm »
Citar
</head>
<body>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">
                      <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                        <td>
                                        {MAIN_MENU1}
                                        </td>
                                </tr>
                        </table>
                </span>
                                        </div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td width="49%" background="../themes/eyeball/images/top_background_r1_c1.gif"></td>
           <td width="2%"><table border="0" cellpadding="0" cellspacing="0" wisth="100%">
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r1_c2" src="../themes/eyeball/images/top_background_r1_c2.gif" width="135" height="17" border="0" id="top_background_r1_c2" alt="" /></td>
                           <td width="100%" background="../themes/eyeball/images/top_background_r1_c4.gif"></td>
                           <td><img name="top_background_r1_c5" src="../themes/eyeball/images/top_background_r1_c5.gif" width="135" height="17" border="0" id="top_background_r1_c5" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r2_c2" src="../themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
                           <td align="center">{MAIN_MENU2}</td>
                           <td><img name="top_background_r2_c6" src="../themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                </table></td>
           <td width="49%" background="../themes/eyeball/images/top_background_r1_c7.gif"></td>
          </tr>
        </table></td>
  </tr>
</table>
<a href="http://www.dlozano.tk/" target="_self">Inicio</a>
</body>
</html>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
        <tr>
                <td align="center" valign="top">
                        {ADMIN_MENU}
                  &nbsp;{LANGUAGE_SELECT_FLAGS}
                        {GALLERY}
                </td>
        </tr>
      <tr>
                <td align="center" valign="top">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
        </tr>
</table>
</body>
</html>

Que estoy haciendo mal?? :ciego:

ladyblues

  • Visitante
Re: Enlaces en una galeria copermine.
« Respuesta #11 en: 31 de Marzo de 2006, 05:50:02 pm »
bueno... me pregunto... a golpe de vista, luego lo miro con más calma qué hace después de esto:

Código: [Seleccionar]
</body>
</html>

¿Todo esto?
Código: [Seleccionar]
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
        <tr>
                <td align="center" valign="top">
                        {ADMIN_MENU}
                  &nbsp;{LANGUAGE_SELECT_FLAGS}
                        {GALLERY}
                </td>
        </tr>
      <tr>
                <td align="center" valign="top">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
        </tr>
</table>
</body>
</html>

Has cerrado las etiquetas body y html y luego has vuelto a cerrarlas con una tabla en medio.

Pero vamos, ahora porque tengo una movida aquí montada del carajo, pero vete mirando eso y luego ya lo miro con más detenimiento ;-)

Mabel

ladyblues

  • Visitante
Re: Enlaces en una galeria copermine.
« Respuesta #12 en: 31 de Marzo de 2006, 05:51:17 pm »
Y tampoco veo la etiqueta inicial de apertura de <html> Antes del primer body. Vete mirando eso peque.

Un abrazo!
Mabel

Desconectado algeck

  • Member
  • ***
  • Mensajes: 472
  • Aprendiz de todo.
    • Galeria fotografica.
Re: Enlaces en una galeria copermine.
« Respuesta #13 en: 31 de Marzo de 2006, 06:20:12 pm »
Como comprenderas el codigo no es mio. Es la page template tal cual, yo solo he añadido el enlaze. Yo tambien me fije en lo que dices, pero como no tengo ni pajotera idea  :destroyer:. La etiqueta html la he suprimido yo. ahora pongo el codigo completo.

ladyblues

  • Visitante
Re: Enlaces en una galeria copermine.
« Respuesta #14 en: 31 de Marzo de 2006, 09:33:06 pm »
Veamos, si quieres solución rápida usa lo que te mando, pero si no... échale un vistazo y ve probando tú a hacerlo poco a poco. Te recomiendo que busques información sobre html y que te leas manuales y tutoriales (o libros, excelente recomendación de Ghepetto) sobre el tema del html. A no ser que no te interese en absoluto y sea un tema puntual. Pero si quieres personalizar un poco tu galería u otras webs que tengas te vendrá bien. Sin el html lo tienes crudo. Para mí es básico.

Aquí empiezan las etiquetas estándar del html.  html, head y tittle.  Observa la diferencia de esta parte con la que tú mandaste. Compara.

Código: [Seleccionar]
<html>
<head>
<title>Galeri&acute;a de David</title>
</head>

Aquí está el cuerpo del template de tu galería, aquí yo no he tocado nada por supuesto, hasta el siguiente párrafo que marco.

Código: [Seleccionar]
<body>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">
                      <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                        <td>
                                        {MAIN_MENU1}
                                        </td>
                                </tr>
                        </table>
                </span>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td width="49%" background="../themes/eyeball/images/top_background_r1_c1.gif"></td>
           <td width="2%"><table border="0" cellpadding="0" cellspacing="0" wisth="100%">
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r1_c2" src="../themes/eyeball/images/top_background_r1_c2.gif" width="135" height="17" border="0" id="top_background_r1_c2" alt="" /></td>
                           <td width="100%" background="../themes/eyeball/images/top_background_r1_c4.gif"></td>
                           <td><img name="top_background_r1_c5" src="../themes/eyeball/images/top_background_r1_c5.gif" width="135" height="17" border="0" id="top_background_r1_c5" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r2_c2" src="../themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
                           <td align="center">{MAIN_MENU2}</td>
                           <td><img name="top_background_r2_c6" src="../themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                </table></td>
           <td width="49%" background="../themes/eyeball/images/top_background_r1_c7.gif"></td>
          </tr>
        </table></td>
  </tr>
</table>

Ahí ha terminado una tabla de tu theme (del template) y ahora yo meto aquí una tabla nueva para organizar tus enlaces. ¿Por qué en una tabla? Porque me ha molado la movida, aunque puedes hacerlo sin tablas, pero a mi me gusta más así.  Tengo el defecto de trabajar mucho con tablas. Las cosas como son.

Código: [Seleccionar]
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Inicio</a></div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 2</a> </div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace3</a></div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 4 </a></div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 5 </a></div></td>
  </tr>
</table>

Y aquí sigue la movida de tu galería, es código que yo no he tocado. Tal cual está en lo que subiste.

Código: [Seleccionar]
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
        <tr>
                <td align="center" valign="top">
                        {ADMIN_MENU}
                  &nbsp;{LANGUAGE_SELECT_FLAGS}
                        {GALLERY}
                </td>
        </tr>
      <tr>
                <td align="center" valign="top">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
  </tr>
</table>

Y ahora se cierran las etiquetas body y html. Todo tiene un orden y se cierran al final del código SIEMPRE, no se puede cerrar dos veces una misma etiqueta:

Código: [Seleccionar]
</body>
</html>

___________________________________________________________________________

Ahora te explico el código anterior, el de los enlaces que te metí en una tabla ¿de acuerdo?
Bien teníamos lo siguiente:

Código: [Seleccionar]
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Inicio</a></div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 2</a> </div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace3</a></div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 4 </a></div></td>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Enlace 5 </a></div></td>
  </tr>
</table>

El primer enlace es el que tú pusiste. Y los restantes son supuestos enlaces que yo he puesto para que veas un poco como va. Los dirigidos a la misma ruta que el primero para que vieras el funcionamiento completo de la historia.

Eso quedaría visualmente como los enlaces de la galería de Dabo (sin la barrita vertical que el añade jejeje pero eso es fácil).

Saludinos!
Mabel


Desconectado algeck

  • Member
  • ***
  • Mensajes: 472
  • Aprendiz de todo.
    • Galeria fotografica.
Re: Enlaces en una galeria copermine.
« Respuesta #15 en: 01 de Abril de 2006, 12:32:19 am »
Lo que me pones me parece logico y sencillo, el problem es esa desconfiguracion rara que no se a que biene. En cuanto sulucione el problema con el ibook y los archivos comprimidos me pongo con esto  ;-)

Gracis  :redface:

ladyblues

  • Visitante
Re: Enlaces en una galeria copermine.
« Respuesta #16 en: 01 de Abril de 2006, 01:08:34 am »
 ¿Te refieres a que saliera el código que tú posteaste mal?

Es probable que hayas usado un editor que no conoces tanto como el dreamweaver y se hayan "despistado" etiquetas. Es totalmente normal y este tipo de "chinazos" son normales usando software para edición de html. Tu tranqui, que entre mac y esta movida estás aprendiendo mucho y rápido ;-) mola. Y yo contigo. Ya me cuentas.

Una cosa muy importante y que debí decirte desde el principio pero se me fue: si vas a modificar archivos de tu galería es conveniente que hagas primero una copia de seguridad, por lo que pueda pasar. Si editas un archivo y casca al menos puedes volver al original en caso de no tener vuelta atrás.

Un saludín!
Mabel

Desconectado algeck

  • Member
  • ***
  • Mensajes: 472
  • Aprendiz de todo.
    • Galeria fotografica.
Re: Enlaces en una galeria copermine.
« Respuesta #17 en: 01 de Abril de 2006, 01:25:36 am »
Una cosa muy importante y que debí decirte desde el principio pero se me fue: si vas a modificar archivos de tu galería es conveniente que hagas primero una copia de seguridad, por lo que pueda pasar. Si editas un archivo y casca al menos puedes volver al original en caso de no tener vuelta atrás.

Cuando se es un pakete se toman esta clases de precauciones y por partida doble  :mrgreen:. Ya lo tengo copiado aqui y en el curru. De echo si no fuera por eso tendria la page echa una mer  :destroyer:

Desconectado algeck

  • Member
  • ***
  • Mensajes: 472
  • Aprendiz de todo.
    • Galeria fotografica.
Re: Enlaces en una galeria copermine.
« Respuesta #18 en: 03 de Abril de 2006, 09:40:40 am »
Sigo igual. He colocado el codigo de Lady igual. Tal cual. Luego lo he modificado. Pongo el codigo completo.

Citar
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
{META}
<link rel="stylesheet" href="../themes/eyeball/style.css" />
<script type="text/javascript" src="../scripts.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>
<!--
$Id: template.html,v 1.4 2004/07/24 15:04:19 gaugau Exp $
-->
</head>
<body>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">
                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                        <td>
                                        {MAIN_MENU1}
                                        </td>
                                </tr>
                        </table>
                </span>
                                        </div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td width="49%" background="../themes/eyeball/images/top_background_r1_c1.gif"></td>
           <td width="2%"><table border="0" cellpadding="0" cellspacing="0" wisth="100%">
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r1_c2" src="../themes/eyeball/images/top_background_r1_c2.gif" width="135" height="17" border="0" id="top_background_r1_c2" alt="" /></td>
                           <td width="100%" background="../themes/eyeball/images/top_background_r1_c4.gif"></td>
                           <td><img name="top_background_r1_c5" src="../themes/eyeball/images/top_background_r1_c5.gif" width="135" height="17" border="0" id="top_background_r1_c5" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r2_c2" src="../themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
                           <td align="center">{MAIN_MENU2}</td>
                           <td><img name="top_background_r2_c6" src="../themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                </table></td>
           <td width="49%" background="../themes/eyeball/images/top_background_r1_c7.gif"></td>
          </tr>
        </table></td>
  </tr>
</table>
</body>
</html>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div align="center"><a href="http://www.dlozano.tk/" target="_self">Inicio</a></div></td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
        <tr>
                <td align="center" valign="top">
                        {ADMIN_MENU}
                  &nbsp;{LANGUAGE_SELECT_FLAGS}
                        {GALLERY}
                </td>
        </tr>
      <tr>
                <td align="center" valign="top">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
        </tr>
</table>

</body>
</html>

Captura de pantalla de como me queda  :(

http://www.usuarios.lycos.es/calerillo/Gr%E1fico1.jpg

Saludos.

ladyblues

  • Visitante
Re: Enlaces en una galeria copermine.
« Respuesta #19 en: 03 de Abril de 2006, 09:48:21 am »
Hola ALgeck, no es cierto que hayas colocado el código tal cual yo te lo he pasado ;-) ese código no tiene absolutamente nada que ver con las modificaciones que yo te he hecho. Fíjate bien y verás como ves enseguida el fallo.

Aquí andaré todo el día así que venga, dale gas que tú das con esto rápido. Esta vez no te lo posteo cambiado, tú serás el que de con la movida.

¿Jugamos al html un rato?

Saludinos!
Mabel

 

Aviso Legal | Política de Privacidad | Política de Cookies

el contenido de la web se rige bajo licencia
Creative Commons License