<script type="text/javascript">
var fixedDom = document.getElementById('fixed');
document.addEventListener('scroll',winScroll,false);
function winScroll(e){
debugger
if(fixedDom.offsetLeft < document.body.scrollLeft){
};
if(fixedDom.offsetLeft > document.body.scrollLeft){
};
}
</script>
var fixedDom = document.getElementById('fixed');
document.addEventListener('scroll',winScroll,false);
function winScroll(e){
debugger
if(fixedDom.offsetLeft < document.body.scrollLeft){
};
if(fixedDom.offsetLeft > document.body.scrollLeft){
};
}
</script>