<!--懸掛客服按鈕-->
<script>
function init() {
document.getElementById('flotLayer').style.visibility = 'visible';
MoveLayer('flotLayer');
}
function MoveLayer(layerName) {
var x = -50;
var y = 50;
var _y = document.body.scrollTop + y;
var diff =(_y - parseInt(document.getElementById('flotLayer').style.top))*.40;
var rey=_y-diff;
document.getElementById('flotLayer').style.top=rey;
document.getElementById('flotLayer').style.right=x;
setTimeout("MoveLayer('flotLayer');", 50);
}
</script>
======上面的放在mate,下面的放在body======
<body onLoad="init()">
<div style="position:relative; z-index:1">
<div id="flotLayer" style="position:absolute;width:61px;height:59px;z-index:20;visibility:hidden;right: -50px;top:30px;">
<div style="width:100px; height:100px">
<a href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=9e470a7563990897@apps.messenger.live.com&mkt=zh-tw" target="_blank">
<img src="圖片路徑" width="100" height="100" border="0"></a></div>
</div>
</div>
備註:即時熱線的置入設定:點此
留言列表