请求类似IE7选项卡效果 用过Ext吗 ,里面有个TabPanel对象就ok了。就是你说的IE7选择卡。具体的例子可以找我。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <style>span.item{width:100px;height:100px;text-align:cente;background-color:red;color:white}span.item1{width:100px;height:100px;text-align:cente;background-color:blue;color:white}a.left{position:absolute;cursor:hand;top:20px;left:0px;}a.right{position:absolute;cursor:hand;top:20px;left:320px;}div.menu{position:absolute;overflow:hidden;width:302px;height:22px;border:solid 1px black;left:20px;top:20px}</style><a class="left" onclick="Move('Left')"><<</a><div id="divMenu" class="menu"><pre><span class="item">菜单一</span><span class="item1">菜单二</span><span class="item">菜单三</span><span class="item1">菜单四</span><span class="item">菜单五</span></pre></div><a class="right" onclick="Move('Right')">>></a><script>var TotalItem=5;var ListLastItemIndex=3;function Move(Direction){ if(Direction=="Left") $('divMenu').scrollLeft-=100; else $('divMenu').scrollLeft+=100; }function $(id){ return document.getElementById(id); }</script> 求教一个关于下拉列表联动的问题 小弟初学Javascript,关于 【原型】请教大家一个问题,在线等.... 框架显示问题 当div的滚动条滑倒底部, 执行函数 自定义的右键菜单里面怎么加入复制,粘贴功能??? 谁能帮俺一下?? 如何改变文本框颜色? 如何判断输入回车符---keyCode=13就触发表单提交》?? 徐静蕾的小屋,有兴趣看吗? 大神帮看下这算是什么 如何用eval语句来执行这条if语句 javascript 需要服务器端, IIS 解释吗?
span.item{width:100px;height:100px;text-align:cente;background-color:red;color:white}
span.item1{width:100px;height:100px;text-align:cente;background-color:blue;color:white}
a.left{position:absolute;cursor:hand;top:20px;left:0px;}
a.right{position:absolute;cursor:hand;top:20px;left:320px;}
div.menu{position:absolute;overflow:hidden;width:302px;height:22px;border:solid 1px black;left:20px;top:20px}
</style>
<a class="left" onclick="Move('Left')"><<</a><div id="divMenu" class="menu"><pre>
<span class="item">菜单一</span><span class="item1">菜单二</span><span class="item">菜单三</span><span class="item1">菜单四</span><span class="item">菜单五</span>
</pre></div><a class="right" onclick="Move('Right')">>></a>
<script>
var TotalItem=5;
var ListLastItemIndex=3;
function Move(Direction)
{
if(Direction=="Left")
$('divMenu').scrollLeft-=100;
else
$('divMenu').scrollLeft+=100;
}
function $(id)
{
return document.getElementById(id);
}
</script>