Ver Mensaje Individual
  #4 (permalink)  
Antiguo 30/01/2012, 17:09
Tucocheytu
 
Fecha de Ingreso: agosto-2011
Mensajes: 21
Antigüedad: 12 años, 8 meses
Puntos: 1
Respuesta: Desplegar venta desde un lateral, con un video incrustrado

os pongo lo que he logrado, he sacado el código de un menú desplegable y lo he modificado un poco para dejarlo con lo justo y necesario, os pongo lo que me hace falta

Código:
http://www.tucocheytu.com/prueba/
1- incrustar el video dentro de la ventana
2- que se mantenga abierto mientras se reproduce el video, y si es posible ponerle una x de cerrar
3- escribir algo en la pestaña antes de abrirse, si es posible

html

Código:
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8"/>
        <script type="text/javascript" src="jquery-1.3.2.js"></script>
    </head>
    <body>
        <div class="header"></div>
        <div class="scroll"></div>

        <ul id="navigation">
            <li class="home"><a href="" title="Home"></a></li>
        </ul>

        <script type="text/javascript">
            $(function() {
                $('#navigation a').stop().animate({'marginLeft':'-515px'},1000);

                $('#navigation > li').hover(
                    function () {
                        $('a',$(this)).stop().animate({'marginLeft':'-2px'},200);
                    },
                    function () {
                        $('a',$(this)).stop().animate({'marginLeft':'-515px'},200);
                    }
                );
            });
        </script>
    </body>
</html>
el css

Código:
ul#navigation {
    position: fixed;
    margin: 0px;
    padding: 0px;
    top: 10px;
    left: 0px;
    list-style: none;
    z-index:9999;
}
ul#navigation li {
    width: 100px;
}
ul#navigation li a {
    display: block;
    margin-left: -2px;
    width: 525px;
    height: 297px;
    background-color:#CFCFCF;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    /*-moz-box-shadow: 0px 4px 3px #000;
    -webkit-box-shadow: 0px 4px 3px #000;
    */
    opacity: 0.6;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
}
ul#navigation .home a{
    background-image: url(../images/home.png);