Ad Icons
by for3v3rforgott3n
HTML
<body>
<div class="customcontent">
<div class="icons">
<a class="tooltip" title="" href="" target="_blank">
<img src="http://jayhuang.org/publicimages/tipboe2icons/ADAPTicon.png" alt="ADAPT"/>
</a>
</div>
<div class="icons">
<a class="tooltip" title="" href="" target="_blank">
<img src="http://jayhuang.org/publicimages/tipboe2icons/ADWicon.png" alt="ADW"/>
</a>
</div>
<div class="icons">
<a class="tooltip" title="" href="" target="_blank">
<img src="http://jayhuang.org/publicimages/tipboe2icons/HUBicon.png" alt="HUB"/>
</a>
</div>
<div class="icons">
<a class="tooltip" title="" href="" target="_blank">
<img src="http://jayhuang.org/publicimages/tipboe2icons/ITCicon.png" alt="ITC"/>
</a>
</div>
<div class="icons">
<a class="tooltip" title="" href="" target="_blank">
<img src="http://jayhuang.org/publicimages/tipboe2icons/JIRAicon.png" alt="JIRA"/>
</a>
</div>
<div class="icons">
<a class="tooltip" title="" href="" target="_blank">
<img src="http://jayhuang.org/publicimages/tipboe2icons/TIPBOE2icon.png" alt="TIPBOE2"/>
</a>
</div>
<div class="icons">
<a class="tooltip" title="" href="" target="_blank">
<img src="http://jayhuang.org/publicimages/tipboe2icons/Torchicon.png" alt="Torch"/>
</a>
</div>
</div>
</body>
CSS
html, body {
background-color: white;
width:100%;
height:100%;
padding:0px;
margin:0px;
}
#contentFrame {
width: 100%;
min-height: 90%;
margin: 0;
padding: 0;
border: 0;
border-style: none;
}
.customcontent {
width: 100%;
text-align:center;
overflow:hidden;
background-color: #BCC8DA;
height: 10%;
}
.icons {
display: inline;
height: auto !important;
height: 100%;
margin: 0 1%;
position:relative;
zoom: 1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: 0.5;
}
.icons:hover {
zoom: 1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
opacity: 1;
}
.tooltip {
text-decoration: none;
color: #000;
outline: none;
height:100%;
}
.tooltip img {
height:100%;
border:0;
}
.tooltip span {
visibility: hidden;
position: absolute;
text-align: left;
font-size: 12px;
font-family: Tahoma;
left:0px;
z-index: 999;
width: 150px;
padding: 5px;
border: 1px solid gray;
background-color: #BCC8DA;
background-image: -webkit-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.5));
background-image: -moz-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.5));
background-image: -ms-linear-gradient(rgba(255,255,255,.0), rgba(255,255,255,0.5));
background-image: -o-linear-gradient(rgba(255,255,255,.0), rgba(255,255,255,0.5));
background-image: linear-gradient(rgba(255,255,255,.0), rgba(255,255,255,0.5));
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.tooltip:hover {
border: 0; /* IE6 fix */
}
.tooltip:hover span {
visibility:visible;
z-index: 999;
}
@media (max-height:620px) {
.customcontent {
display:none;
}
#contentFrame...