با سلام یک کد در کنار صفحه در سمت چپ سایت mobile.ir هست که حالت پاپ اپ داره که توش تبلیغات سایتها رو میذاره من کد html اونو پیدا کردم ولی کار نمی کنه میشه راهنمایی کنید که کجای کد اشتباهه:
<div id="cornerbanner-br">
</div>
<style type="text/css">
#specialbanner {
position: fixed;
left: 0;
top: 100px;
direction: ltr;
display: none;
}
@media all and (min-width: 1050px) {
#specialbanner {
display: block;
}
}
#specialbanner a.trigger {
width: 30px;
height: 230px;
background: #fff url(/static/banners/special/Digikala/trigger.gif) 50% 50% no-repeat;
display: block;
position: absolute;
left: 0;
top: 0;
z-index: 999;
box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
border-radius: 0 3px 3px 0;
}
#specialbanner .content {
position: absolute;
background: #fff;
left: -220px;
top: 15px;
display: none;
box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
border-radius: 0 3px 3px 0;
}
#specialbanner .slides {
width: 220px;
height: 180px;
overflow: hidden;
}
#specialbanner .slides .scroller{
width: 700px;
}
#specialbanner .slides a {
display: block;
float: left;
width: 220px;
height: 180px;
}
#specialbanner .slides a img {
margin: 4px;
}
#specialbanner .nav {
height: 20px;
width: 220px;
text-align: center;
}
#specialbanner .nav a {
display: inline-block;
width: 10px;
height: 10px;
background: #999;
margin: 5px;
}
#specialbanner .nav a.current {
background: orange;
}
</style>
<script type="text/javascript">
mobileir.run(function($){
var content = $('#specialbanner .content');
var scroller = $('#specialbanner .content .slides');
var current = 0, timeout = 0;
$('#specialbanner').hover(function(){
content.show().stop().animate({ left : 30 });
goto(0);
}, function(){
content.stop().animate({ left : -220 }, function(){
content.hide();
});
clearTimeout(timeout);
});
var goto = function(i) {
clearTimeout(timeout);
$('#specialbanner .nav a').removeClass('current').eq(i).addClass('current');
scroller.animate({ scrollLeft : 220*i}, function(){
timeout = setTimeout(moveon, 3000);
});
current = i;
};
$('#specialbanner .nav a').click(function(){
goto($(this).index());
});
var moveon = function(){ goto((current+1)%3); };
});
</script>
<div id="specialbanner">
<a href="javascript:;" class="trigger"></a>
<div class="content">
<div class="slides">
<div class="scroller">
<a href="/main/go.aspx?id=bannerid-5" target="_blank" rel="nofollow"><img src="http://s.mobile.ir/static/userbanners/5/default.image.jpg?635970537793829573"></a>
<a href="/main/go.aspx?id=bannerid-6" target="_blank" rel="nofollow"><img src="http://s.mobile.ir/static/userbanners/6/default.image.jpg?635970539477686573"></a>
<a href="/main/go.aspx?id=bannerid-7" target="_blank" rel="nofollow"><img src="http://s.mobile.ir/static/userbanners/7/default.image.jpg?635970539856555244"></a>
</div>
</div>
<div class="nav">
<a href="javascript:;" class="current"></a>
<a href="javascript:;"></a>
<a href="javascript:;"></a>
</div>
</div>
</div>
<script type="text/javascript">mobileir.pagefinish();</script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-329555-10', 'auto');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');
</script>
<!-- Full Page Generated at 5/17/2016 3:32:07 PM -->
</body>
</html>