Chèn header , footer
- Code:
<style type='text/css'>
#top-bottom_middle {
position:fixed;
_position:absolute;
bottom:5px;
right:5px;
clip:inherit;
_top:expression(document.documentElement.scrollTop+
document.documentElement.clientHeight-this.clientHeight);
_left:expression(document.documentElement.scrollLeft+ document.documentElement.clientWidth - offsetWidth);
}
</style>
<script type='text/javascript'>
var maxWidth = (document.body.clientWidth);
var maxHeight = (document.body.clientHeight);
</script>
<div id='top-bottom_middle'>
<a href='javascript:top.window.scrollTo(0,0)' title='Đầu
trang'><img alt='Đầu trang' border='0'
src='http://i34.servimg.com/u/f34/15/44/78/93/top10110.png'/></a><br/>
<a href='javascript:window.scrollTo(maxWidth,maxHeight/2)'
title='Giữa trang'><img alt='Giữa trang' border='0'
src='http://i34.servimg.com/u/f34/15/44/78/93/middle10.png'/></a><br/>
<a href='javascript:window.scrollTo(maxWidth,maxHeight)' title='Cuối
trang'><img alt='Cuối trang' border='0'
src='http://i34.servimg.com/u/f34/15/44/78/93/bottom10.png'/></a>
</div>