Kilometro6 Recursos PWG

Kilometro6

Bubble navigation

Bubble Navigation
Este es un menú circular con tonos de azul que tiene unos efectos muy buenos.

Este código lo pegan en Css-Code sin Style Tags:
/*www.kilometro6.es.tl*/
.navigation{
    margin: 0px auto;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: bold;
    letter-spacing: 1.4px;
}
.navigation .item{
    position:absolute;
}
.user{
    top:125px;
    left:110px;
}
.home{
   top:50px;
   left:360px;
}
.shop{
   top:90px;
   left:625px;
}
.camera{
   top:230px;
   left:835px;
}
.fav{
   top:420px;
   left:950px;
}
a.icon{
    width:52px;
    height:52px;
    position:absolute;
    top:0px;
    left:0px;
    cursor:pointer;
}
.user a.icon{
    background:transparent url(https://img.webme.com/pic/k/kilometro6-pruebas/user.png) no-repeat 0px 0px;
}
.home a.icon{
    background:transparent url(https://img.webme.com/pic/k/kilometro6-pruebas/home.png) no-repeat 0px 0px;
}
.shop a.icon{
    background:transparent url(https://img.webme.com/pic/k/kilometro6-pruebas/shop.png) no-repeat 0px 0px;
}
.camera a.icon{
    background:transparent url(https://img.webme.com/pic/k/kilometro6-pruebas/camera.png) no-repeat 0px 0px;
}
.fav a.icon{
    background:transparent url(https://img.webme.com/pic/k/kilometro6-pruebas/fav.png) no-repeat 0px 0px;
}
.navigation .item a.active{
    background-position:0px -52px;
}
.item img.circle{
    position:absolute;
    top:0px;
    left:0px;
    width:52px;
    height:52px;
    opacity:0.1;
}
.item h2{
    position:absolute;
    width:147px;
    height:52px;
    color:#222;
    font-size:18px;
    top:0px;
    left:52px;
    text-indent:10px;
    line-height:52px;
    text-shadow:1px 1px 1px #fff;
    text-transform:uppercase;
}
.item h2.active{
    color:#fff;
    text-shadow:1px 0px 1px #555;
}
.item ul{
    list-style:none;
    position:absolute;
    top:60px;
    left:25px;
    display:none;
}
.item ul li a{
    font-size:15px;
    text-decoration:none;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:#222;
    padding:3px;
    float:left;
    clear:both;
    width:100px;
    text-shadow:1px 1px 1px #fff;
}
.item ul li a:hover{
    background-color:#fff;
    color:#444;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    -moz-box-shadow:1px 1px 4px #666;
    -webkit-box-shadow:1px 1px 4px #666;
    box-shadow:1px 1px 4px #666;
}
* {
margin:0;
padding:0;
}
body {
font-family:Arial;
background:#fff url(https://img.webme.com/pic/k/kilometro6-pruebas/bg-bn.png) no-repeat top left;
}
#content {
margin:0 auto;
}
.title {
width:548px;
height:119px;
position:absolute;
top:400px;
left:150px;
background:transparent url(https://img.webme.com/pic/k/kilometro6-pruebas/title.png) no-repeat top left;
}
#webme_footer_textlink_dont_hide {
position:fixed;
bottom:0px;
left:0px;
}
 
Este código lo pegan en "Texto por encima de la página":
<!-- The JavaScript -->
<!-- www.kilometro6.es.tl -->
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
        <script type="text/javascript" src="http://kilometro6.comze.com/wp-content/uploads/2013/09/Bubble%20navigation/jquery.easing.1.3.js"></script>
        <script type="text/javascript">
            $(function() {
                $('#nav > div').hover(
                function () {
                    var $this = $(this);
                    $this.find('img').stop().animate({
                        'width'     :'199px',
                        'height'    :'199px',
                        'top'       :'-25px',
                        'left'      :'-25px',
                        'opacity'   :'1.0'
                    },500,'easeOutBack',function(){
                        $(this).parent().find('ul').fadeIn(700);
                    });
 
                    $this.find('a:first,h2').addClass('active');
                },
                function () {
                    var $this = $(this);
                    $this.find('ul').fadeOut(500);
                    $this.find('img').stop().animate({
                        'width'     :'52px',
                        'height'    :'52px',
                        'top'       :'0px',
                        'left'      :'0px',
                        'opacity'   :'0.1'
                    },5000,'easeOutBack');
 
                    $this.find('a:first,h2').removeClass('active');
                }
            );
            });
        </script>
Este lo pegan donde quieren que aparezca el menú:
            <!-- www.kilometro6.es.tl -->
            <div class="title"></div>
            <div class="navigation" id="nav">
                <div class="item user">
                    <img src="https://img.webme.com/pic/k/kilometro6-pruebas/bg_user.png" alt="" width="199" height="199" class="circle"/>
                    <a href="#" class="icon"></a>
                    <h2>User</h2>
                    <ul>
                        <li><a href="#">Profile</a></li>
                        <li><a href="#">Properties</a></li>
                        <li><a href="#">Privacy</a></li>
                    </ul>
                </div>
                <div class="item home">
                    <img src="https://img.webme.com/pic/k/kilometro6-pruebas/bg_home.png" alt="" width="199" height="199" class="circle"/>
                    <a href="#" class="icon"></a>
                    <h2>Home</h2>
                    <ul>
                        <li><a href="#">Portfolio</a></li>
                        <li><a href="#">Services</a></li>
                        <li><a href="#">Contact</a></li>
                    </ul>
                </div>
                <div class="item shop">
                    <img src="https://img.webme.com/pic/k/kilometro6-pruebas/bg_shop.png" alt="" width="199" height="199" class="circle"/>
                    <a href="#" class="icon"></a>
                    <h2>Shop</h2>
                    <ul>
                        <li><a href="#">Catalogue</a></li>
                        <li><a href="#">Orders</a></li>
                        <li><a href="#">Offers</a></li>
                    </ul>
                </div>
                <div class="item camera">
                    <img src="https://img.webme.com/pic/k/kilometro6-pruebas/bg_camera.png" alt="" width="199" height="199" class="circle"/>
                    <a href="#" class="icon"></a>
                    <h2>Photos</h2>
                    <ul>
                        <li><a href="#">Gallery</a></li>
                        <li><a href="#">Prints</a></li>
                        <li><a href="#">Submit</a></li>
                    </ul>
                </div>
                <div class="item fav">
                    <img src="https://img.webme.com/pic/k/kilometro6-pruebas/bg_fav.png" alt="" width="199" height="199" class="circle"/>
                    <a href="#" class="icon"></a>
                    <h2>Love</h2>
                    <ul>
                        <li><a href="#">Social</a></li>
                        <li><a href="#">Support</a></li>
                        <li><a href="#">Comments</a></li>
                    </ul>
                </div>
            </div>

Partes a editar:

<li><a href="#">Comments</a></li>
Lo que está en rojo es la url del enlace y lo que están en azul es el título del enlace.

Pueden ver un ejemplo aqui.

Cualquier pregunta puedes hacerla en nuestra Seccion de Soporte
Hoy hemos ayudado a 8 visitantes (23 clics a subpáginas) en kilometro6!
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis