+ Responder Tema
Resultados 1 al 5 de 5

Tema: imagenes del menu desplegable

  1. #1
    Me va gustando esto... Habitante brans Está en el buen camino
    Fecha de Ingreso
    10 oct, 09
    Mensajes
    170
    Poder de Reputación
    4

    imagenes del menu desplegable

    por mas que busco el error no lo encuentro, aqui os dejo los estilos de los menus desplegables pero no encuentro nada:

    /* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */
    .transMenu {
    position:absolute;
    overflow:hidden;
    left:-1000px;
    top:-1000px;
    text-align: left;
    }

    /* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */
    .transMenu .content {
    position:absolute;
    }

    /* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */
    .transMenu .items {
    position:relative;
    left:0px; top:0px;
    border:1px solid #999;
    z-index:2;
    }

    .transMenu.top .items {
    border-top:none;
    }

    /* each TR.item is one menu item */
    .transMenu .item {
    color:#000000;
    background-image: url(imagenes/fondo-no-activo.gif);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: bold;
    text-decoration:none;
    /* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
    border:none;
    cursor:pointer;
    cursor:hand;
    }

    /* this DIV is the semi-transparent white background of each menu. the -moz-opacity is a proprietary way to get transparency in mozilla, the filter is for IE/windows 5.0+. */
    /* we set the background color in script because ie mac does not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by */
    .transMenu .background {
    position:absolute;
    left:0px;
    top:0px;
    z-index:1;
    -moz-opacity:.8;
    filter:alpha(opacity=95);
    }

    /* same concept as .background, but this is the sliver of shadow on the right of the menu. It's left, height, and background are set by script. In IE5/mac, it uses a PNG */
    .transMenu .shadowRight {
    position:absolute;
    z-index:3;
    top:3px; width:2px;
    -moz-opacity:.4;
    filter:alpha(opacity=40);
    }

    /* same concept as .background, but this is the sliver of shadow on the bottom of the menu. It's top, width, and background are set by script. In IE5/mac, it uses a PNG */
    .transMenu .shadowBottom {
    position:absolute;
    z-index:1;
    left:3px; height:2px;
    -moz-opacity:.4;
    filter:alpha(opacity=40);
    }

    /* this is the class that is used when the mouse is over an item. script sets the row to this class when required. */
    .transMenu .item.hover {
    background-image: url(imagenes/fondo-activo.gif);
    color:#385385;
    }

    /* this is either the dingbat that indicates there is a submenu, or a spacer gif in it's place. We give it extra margin to create some space between the text and the dingbat */
    .transMenu .item img {
    margin-left:10px;
    }
    .textoNoIdent {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #333333;
    text-decoration: none;
    }
    .formError {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #333333;
    border-top: 1px solid #C4CCCC;
    border-right: 1px solid #ACB5B5;
    border-bottom: 1px solid #6F7777;
    border-left: 1px solid #ACB5B5;
    padding: 2px 0 2px 0.25em;
    background-color: #F5E984;
    }
    .txtError {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #990000;
    background-color: #E9E9E9;
    padding: 5px;
    text-align: justify;
    }

  2. #2
    Me va gustando esto... Habitante LotUvIroS Está en el buen camino
    Fecha de Ingreso
    31 oct, 10
    Mensajes
    143
    Poder de Reputación
    3
    Hola brans,

    ¿Cual es el error exactamente?

    Saludos.
    www.webtocrator.com - Aprende diseño y programación web.
    Foro de Webtocrator.
    Webtocrator en Facebook.

  3. #3
    Me va gustando esto... Habitante brans Está en el buen camino
    Fecha de Ingreso
    10 oct, 09
    Mensajes
    170
    Poder de Reputación
    4
    que los puntos no salen

  4. #4
    Me va gustando esto... Habitante LotUvIroS Está en el buen camino
    Fecha de Ingreso
    31 oct, 10
    Mensajes
    143
    Poder de Reputación
    3
    Si te refieres al punto a la izquierda, no se mira en los estilos, sino en el archivo transmenuC.txt o no-tocar.txt

    Mas concretamente en esta linea:

    Código:
    TransMenu.preImg = "punto.gif";
    Donde "punto.gif", es la ruta hacia la imagen del punto. Comprueba que tienes la imagen del punto bien enlazada.

    Espero que sea eso, saludos.
    www.webtocrator.com - Aprende diseño y programación web.
    Foro de Webtocrator.
    Webtocrator en Facebook.

  5. #5
    Me va gustando esto... Habitante brans Está en el buen camino
    Fecha de Ingreso
    10 oct, 09
    Mensajes
    170
    Poder de Reputación
    4
    gracias va a ser eso
    de todas formas creo que a pesar de que el desplegable tiene muchas ventajas prefiero currarme el menu lateral

    Gracias...

+ Responder Tema

Temas Similares

  1. menu desplegable sin imagenes
    Por elmenda en el foro Curso Paso a Paso con Html-Kit.
    Respuestas: 13
    Último Mensaje: 01/08/2009, 16:06
  2. menu desplegable con imagenes
    Por miguetron en el foro Curso Paso a Paso con Html-Kit.
    Respuestas: 2
    Último Mensaje: 19/05/2008, 14:01

Permisos de Publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes