<script src="https://rozup.ir/up/3nafari/theme3/js/jquery.js"></script><script>
$(document).ready(function(){
$('.openandclose').click(function(){
if($('.fixright').css('margin-right')=='148.2px'){
$('.fixright').animate({marginRight:'0px'});
$('.openandclose').css({backgroundPosition:'20px 0px'});
}
else{
$('.fixright').animate({marginRight:'148.2px'});
$('.openandclose').css({backgroundPosition:'40px 0px'});
}
});
});
function Location(url){
window.location=url;
}
</script>
<style>
.fixright{
float:right;
transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-khtml-transition: all 0.5s ease;
}
</style>
<div class="fixright" style="margin-right:148.2px;">
<div class="openandclose" style="background-position:20px 0px;">کلیک</div>
<div class="iconbox">
<div class="logo">
<img src="<?php echo $sk['user']['thumbnail_url']; ?>" id="dispanel" alt="<?php echo $sk['user']['name']; ?>" title="<?php echo $sk['user']['name']; ?>" height="100" width="30%"><br>
<center style="">
<a href="<?php echo $sk['user']['url']; ?>" title="profile"><?php echo $sk['user']['name']; ?></a>
</center>
</div>
<ul class="hredar">
<li style="margin-right: 4px;">
<span onclick="Location('لینک');" class="i-home">عنوان</span>
<hr class="hrred"><ol>
<li onclick="Location('لینک');" title="text">متن</li>
</ol>
</li>
<hr class="hrwiht">
</ul>
</div>
</div>