How To Create Bubble Tooltip in blogspot / blogger
How To Create Bubble Tooltip in blogspot / blogger:
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Scroll down to where you see tag .
3.Copy below code and paste it just before the tag and save your template.
<style type='text/css'>
a.tt{
position:relative;
z-index:24;
color:#3CA3FF;
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: #aaaaff; background:;}
a.tt:hover span.tooltip{
display:block;
position:absolute;
top:0px; left:0;
padding: 15px 0 0 0;
width:200px;
color: #993300;
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/AVvXsEgCMjvoPDuMSnH0bLG9r6h45MxBvi0qObJg10_oy9z5s4jBY9WU7YWtLmOvNwwASJepdN6-MP0nW8iXYNbeR_Lr4PWe75zOhPhzO1ElDPq7mRmJaFb9F64uZpGtyV_7Tf2OHUNHs57CE0EZ/) 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/AVvXsEjMDuJ-FsVG1PbkFToQ6ss2g93v_EBM8yMRZox_nPbpVBAKlNwYrx7IvmE7xAGvY6o3dj4i0Og2zWsL1XT-azuZfK9bVpUCnB8PNP9WDvhHRR0mZ4r8YJ__2C5zu_3xA-ILPisFjEeLERSV/) repeat bottom;
}
a.tt:hover span.bottom{
display: block;
padding:3px 8px 10px;
color: #548912;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCMjvoPDuMSnH0bLG9r6h45MxBvi0qObJg10_oy9z5s4jBY9WU7YWtLmOvNwwASJepdN6-MP0nW8iXYNbeR_Lr4PWe75zOhPhzO1ElDPq7mRmJaFb9F64uZpGtyV_7Tf2OHUNHs57CE0EZ/) no-repeat bottom;
}
</style>
4.Now when you add a link use the below structure:
<a href="YOUR-LINK" class="tt">LINK-NAME<span class="tooltip"><span class="top"></span><span class="middle">YOUR-TOOLTIP-MESSAGE</span><span class="bottom"></span></span></a>
5. Look at the example below.
<a href="http://www.premiumbloggertemplates.com/" class="tt">Premium Blogger Templates<span class="tooltip"><span class="top"></span><span class="middle">Download Free Premium Templates Free</span><span class="bottom"></span></span></a>
It will look like this:
0 komentar: