
1.求词网站代码
给你写一个简易的吧 (跟你想要的效果的区别 主要是setInterval ,我没有做动画处理,你看一下意思是一样的) <!DOCTYPE html>
<meta ; charset=utf-8" />
无标题文档<style>*{margin:0;padding:0;}ul,li{list-style:none;}body, html{height:100%;}#doc{width:950px;margin:0 auto;position:relative;}#nav{position:fixed;left:10px;top:10px;background:#999;width:100px;height:120px;}#nav li{line-height:20px;padding:2px 5px;border-bottom:1px solid #d5d5d5;color:#fff;cursor:pointer;}#child_1, #child_2, #child_3, #child_4{height:600px;border:1px solid #333;}#child_1{background:#06F;}#child_2{background:#09F;}#child_3{background:#0CF;}#child_4{background:#0FF;}</style> <body> 位置1 位置2 位置3 位置4 跳转位置1 跳转位置2 跳转位置3 跳转位置4