KEBEBASAN BERPIKIR
Home » » Tutorial membuat bubble tool tips

Tutorial membuat bubble tool tips

Written By dan ipul climber on Jumat, 19 Juli 2013 | 17.33

Masuk ke dashboard ► LAYOUT/DESIGN ► EDIT HTML ► Download Full Template untuk berjaga-jaga bila terjadi kesalahan ► Centang Expand Widget ► sisipkan kode berikut dan paste di atas ]]> ► Save Template.

    /*-----pasang bubble tooltips di blogs-start----*/
    a.tt{
    position:relative;
    z-index:24;
    color:#B40404;
    font-weight:bold;
    text-decoration:none;
    }
    a.tt span{ display: none; }

    /*background:; ie hack, something must be changed in a for ie to execute it*/
    a.tt:hover{ z-index:25; color: #2E9AFE; background:;}
    a.tt:hover span.tooltip{
    display:block;
    position:absolute;
    top:0px; left:0;
    padding: 15px 0 0 0;
    width:200px;
    color: #000000;
    text-align: center;
    filter: alpha(opacity:90);
    KHTMLOpacity: 0.90;
    MozOpacity: 0.90;
    opacity: 0.90;
    }
    a.tt:hover span.top{
    display: block;
    padding: 30px 8px 0;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6JfnUhKRUGEDfPndgV_lcNkJ9fqrO0KUs7RoYdOKUw1N1rjdNgzHy89DJK2VnyxqCSNwTUXvqzPapJTAQCsKCwstW_aO5fWpT70M-d4JZNz4pyJhkm4dJebV8XlFFoG3l7WDRpq-Vys/) no-repeat top;
    }
    a.tt:hover span.middle{ /* different middle bg for stretch */
    display: block;
    padding: 0 8px;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyCJeI1A2EImcwmYAHX2zFKV5lcOfKAzzn0bZkCImK2TpKBkUGEASSikdAhfLNCjA4blgaJcOLpUYP4lzcxoN5SED6KcNJvAxBWMWu0SvyXDkEZWAxjQmSG3XVUzQQvDosYhmZyLjPWGo/) repeat bottom;
    }
    a.tt:hover span.bottom{
    display: block;
    padding:3px 8px 10px;
    color: #151515;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6JfnUhKRUGEDfPndgV_lcNkJ9fqrO0KUs7RoYdOKUw1N1rjdNgzHy89DJK2VnyxqCSNwTUXvqzPapJTAQCsKCwstW_aO5fWpT70M-d4JZNz4pyJhkm4dJebV8XlFFoG3l7WDRpq-Vys/) no-repeat bottom;
    }
    /*----membuat bubble tooltips di artikel -end----*/


Selanjutnya Untuk membuat teks yang memiliki bubble tooltip silakan copy kode di bawah ini :
klik<a href="Tujuan link yang di inginkanl" class="tt">di sini<span class="tooltip"><span class="top"></span><span class="middle">untuk konfirmasi</span><span class="bottom"></a>
Share this article :

0 komentar:

Posting Komentar

 
Support : Your Link | Your Link | Your Link
Copyright © 2013. 543598 - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger