<b:if cond='data:blog.pageType == "item"'>
<style>
#slidebox{
width:420px;
height:100px;
padding:10px;
background-color:#000;
position:fixed;
z-index:9999;
bottom:0px;
right:-450px;
-moz-box-shadow:-2px 0px 5px #000;
-webkit-box-shadow:-2px 0px 5px #000;
box-shadow:-2px 0px 5px #000;
}
#slidebox p, a.more{
font-size:11px;
text-transform:uppercase;
font-family: Arial,Helvetica,sans-serif;
letter-spacing:1px;
color:#777;
}
a.more{
cursor:pointer;
color:#E28409;
}
a.more:hover{
text-decoration:underline;
}
#slidebox h2{
color:#E28409;
font-size:18px;
margin:10px 20px 10px 0px;
}
a.close{
display:block;
width:24px; height: 24px;
cursor: pointer;
text-align: center;
line-height: 26px;
position: absolute;
right: 64px; top:1px;
background: #e93237;
color:#000;
border-bottom-left-radius: 8px;
-moz-border-bottom-left-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
-moz-border-bottom-right-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
font-size: 15px;
font-weight: bold;
}
a.close:hover{
background-position:0px -13px;
}
a.copyright{
display:block;
width:24px; height: 24px;
cursor: pointer;
text-align: center;
line-height: 26px;
position: absolute;
right: 35px; top:1px;
background: #ff9900;
color:#555;
border-bottom-left-radius: 8px;
-moz-border-bottom-left-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
-moz-border-bottom-right-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
font-size: 13px;
font-weight: bold;
}
</style>
<p id='last'>
</p>
<div id='slidebox'>
<a class='close'>×</a>
<a class='copyright' href='http://goo.gl/M94zV' target='_blank'>?</a>
<h2>
<a target="_blank" href="ΤΟ URL ΤΟΥ ΔΙΑΦΗΜΙΖΟΜΕΝΟΥ" rel="nofollow">
<img src="ΤΟ URL ΤΗΣ ΕΙΚΟΝΑΣ BANNER 300Χ80">
</a>
</h2>
<a class='more'/></div>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(function() {
$(window).scroll(function(){
var distanceTop = $('#last').offset().top - $(window).height();
if ($(window).scrollTop() > distanceTop)
$('#slidebox').animate({'right':'0px'},300);
else
$('#slidebox').stop(true).animate({'right':'-450px'},100);
});
$('#slidebox .close').bind('click',function(){
$(this).parent().remove();
});
});
</script>
</b:if>
Tag :
1

0 nhận xét "Ảnh hiển thị khi dê chuột cuối trang"