
2列固定宽度左窄右宽型+头部+尾部 function change(a){
var css=document.getElementByIdx("cssid");
if (a==1){
css.setAttribute("href","layout1.css");
}
if (a==2){
css.setAttribute("href","layout3.css");
}
if (a==3){
css.setAttribute("href","layout.css");}
}
script>
我是第一个css1
我是第二个css2
我是第三个css3
头部
This is the sidebar
2列固定宽度左窄右宽型+头部+尾部
This is the footer
回复讨论(解决方案)
var css=document.getElementByIdx("cssid");
多了一个x
这也太粗心了
是额,这个不应该。
其实我不是学这个滴,但是老师要我写个关于这个的案例给我们班同学看看.....完全是什么也不懂的....不过谢谢你们滴啦...