1 <script type="text/javascript">
2$window.scrollTop(function(){
3
4var a = 112;
5var pos = $window.scrollTop();
6if(pos > a) {
7 $("menu").css({
8 position: 'fixed'
9 });
10}
11else {
12 $("menu").css({
13 position: 'absolute',
14 top:'600px'
15 });
16}
17});
18</script>
19