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/AVvXsEioMHWOa-p4of-SeBMl2sqU2tB20owDCD7LRmWZpL_ZFRX8EZH8DYT7e4vRp1cSeWOlWr3xV4Da71nHgD01C7u8iFrx8oAJqp7dDpxfX4knNwnWqXYo4C36oU7nygxkxpn6GUh3FT8G3zQ/) 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/AVvXsEhE6nMzAv5MG4UfyZlPZez-NTVTMW7KYiv86ougBs0HkCXMhYcuXjCunUTJ38wnGOSZINAq-Z-_x2EUmPB4i66ASWh3aoGI8v2jnnIaYJY48PVmBjOaeejAwKezKjBbQgBW13iAl316Afg/) repeat bottom;
}
a.tt:hover span.bottom{
display: block;
padding:3px 8px 10px;
color: #151515;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioMHWOa-p4of-SeBMl2sqU2tB20owDCD7LRmWZpL_ZFRX8EZH8DYT7e4vRp1cSeWOlWr3xV4Da71nHgD01C7u8iFrx8oAJqp7dDpxfX4knNwnWqXYo4C36oU7nygxkxpn6GUh3FT8G3zQ/) 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>
Hasilnya :
/*-----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/AVvXsEioMHWOa-p4of-SeBMl2sqU2tB20owDCD7LRmWZpL_ZFRX8EZH8DYT7e4vRp1cSeWOlWr3xV4Da71nHgD01C7u8iFrx8oAJqp7dDpxfX4knNwnWqXYo4C36oU7nygxkxpn6GUh3FT8G3zQ/) 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/AVvXsEhE6nMzAv5MG4UfyZlPZez-NTVTMW7KYiv86ougBs0HkCXMhYcuXjCunUTJ38wnGOSZINAq-Z-_x2EUmPB4i66ASWh3aoGI8v2jnnIaYJY48PVmBjOaeejAwKezKjBbQgBW13iAl316Afg/) repeat bottom;
}
a.tt:hover span.bottom{
display: block;
padding:3px 8px 10px;
color: #151515;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioMHWOa-p4of-SeBMl2sqU2tB20owDCD7LRmWZpL_ZFRX8EZH8DYT7e4vRp1cSeWOlWr3xV4Da71nHgD01C7u8iFrx8oAJqp7dDpxfX4knNwnWqXYo4C36oU7nygxkxpn6GUh3FT8G3zQ/) 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>
Hasilnya :
0 komentar:
Posting Komentar