| Server IP : 103.48.194.25 / Your IP : 216.73.217.33 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 8.2.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/nhadatkhangdien.net-bk/public_html/templates/ |
Upload File : |
<style type="text/css">
.fx_left {
text-align: center;
position: absolute;
z-index: 1000;
width: 150px;
height: 400px;
left: 10px;
}
.fx_right {
text-align: center;
position: absolute;
z-index: 1000;
width: 150px;
height: 400px;
right: 10px;
}
</style>
<?
//trit($result_detail);
if($rs_detail['htleft']<>0)
{
?>
<div class="nd fx fx_left"><a href="<?=$rs_detail['link3']?>" target="blank"><img src="<?=_upload_sanpham_l.$rs_detail['photo3']?>"></a></div>
<?
}
if($rs_detail['htright']<>0)
{
?>
<div class="nd fx fx_right"><a href="<?=$rs_detail['link4']?>" target="blank"><img src="<?=_upload_sanpham_l.$rs_detail['photo4']?>"></a></div>
<? } ?>
<script type="text/javascript">
var num = 355; //vị trí mà khi scroll chuột đến sẽ bắt đầu sự kiện
$(window).bind('scroll', function () {
if ($(window).scrollTop() > num) {
$('.fx').addClass('fixed');
} else {
$('.fx').removeClass('fixed');
}
});
</script>