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/AVvXsEh1NcVdKtBDf86MZfLGRIg4ofM9xJUiYqSTOHVZ2hzt1r_cZCPoyrGYe7lyGZ5Pu9cZIn-GDy1kSYxA1RuB3eP5f2Q66wQ9vvmNIeN9mnXbMq0CYQ8xtqmRGY76kP-9H3A5wKYYNpscUSB4/) 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/AVvXsEg6ga_beaUHw3i7KqRLkzgzVR3khDQ49b84NrGkefqC95U9In8fnEgnSePrI_l6jnkVEqu2CBhtqjtU9tiZ5RmURXLeLLrwBEVzP_buXBfKZf6X20106vceME-43wxv14B38fI1TDctf4e_/) repeat bottom;
}
a.tt:hover span.bottom{
display: block;
padding:3px 8px 10px;
color: #548912;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1NcVdKtBDf86MZfLGRIg4ofM9xJUiYqSTOHVZ2hzt1r_cZCPoyrGYe7lyGZ5Pu9cZIn-GDy1kSYxA1RuB3eP5f2Q66wQ9vvmNIeN9mnXbMq0CYQ8xtqmRGY76kP-9H3A5wKYYNpscUSB4/) 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:
No comments:
Post a Comment