-
jquery怎么获得每个ul 前面的n个li?html代码如下所示,我先预先只显示最前面4个li,怎么弄?$(".cataListli:gt(4)).hidden();这样写的话把所有的li都算成一个整体了?怎么区分呢?如果用$(".cataListli:nth-child(4))只能取第4个,如何取前4个呢?<divclass="cataList">  iaoling2008 时间:05-31 + 阅读全文
-
请问个JS的事件问题,谢谢~<styletype="text/css">#a{border:solid1pxred;width:50px;height:50px;position:absolute;background-color:red;}</style></head><body><divid="a"onmousedown="hanJSbeginner84 时间:05-31 + 阅读全文
-
帮我调下值,透明度深一些。谢谢<!--[ifIE]><styletype="text/css">.alphaContainer{background:transparent;filterrogidXImageTransform.Microsoft.gradient(startColorstr=#90000000,endColorstr=#90000000);zoom:1;);}</stylgraymind 时间:05-31 + 阅读全文
-
帮我把透明度深一些,谢谢了1<!--[ifIE]><styletype="text/css">.alphaContainer{background:transparent;filterrogidXImageTransform.Microsoft.gradient(startColorstr=#90000000,endColorstr=#90000000);zoom:1;);}</stylgraymind 时间:05-31 + 阅读全文
-
jquery代码里,红色加粗的部分,为什么不起作用呢?HTMLCode<ul><li><inputname='support' type='button'value='1'/><span>12</span></li><li><inputname='support' type='button'vahao3721 时间:05-31 + 阅读全文
-
如何实现 select 下拉框同时传递 value和text的值<selectname="cmbLMid"id="cmbLMid"><%While(NOTrsLm.EOF)%><optionvalue="<%=(rsLm.Fields.Item("LmId").Value)%>"<%ifrsLm.Fields.Item("LmId").Value=rs_news("lmid")then%>大猫兔 时间:05-31 + 阅读全文
-
png图片在ie6下面一定要使用绝对地址才能透底吗?像这样的图片,写在css样式表里面,怎样让透底呢,是不是非使用绝对地址才行呢?像使用下面这个滤镜。/*为保证PNG图片位置正确,使用绝对路径*/#DIVname{ width:300px; height:99px; backgrotgmz 时间:05-31 + 阅读全文
-
往div动态添加数据,如何取得div 的 height的值如题,开始时并未为div设置height的值(或设为height:auto;),然后用ajax的方式在其里头填充数据。此时怎么才能取得它的高度值?用offsetHeight得到的是0。02062007 时间:05-31 + 阅读全文