解决方案 »
- 语法错误 (操作符丢失) 在查询表达式 'user_name='' and user_pw''' 中。
- 求可输入的DorpdownList 在线等!!!!
- javascript捕捉隐藏控件的问题!
- 此网站需要运行以下加载项:"Beijing Baofeng Inc."中的"暴风影音播放组件"。
- 怎么实现框架间的调用?
- 各位老大,帮我看一看我的事件为什么不执行?
- 这个是什么问题哟?急急急
- 只有刷新后才可看到数据库的更新!!!
- 把集合的值赋值给datatable
- gridview绑定数据源不显示列,就一直是column1、2、3三列
- 编辑器不能显示,出现 “已取消到该网页的导航
- 急,难:上千个网站,DB文件夹的AC数据库必须设置Everyone的修改权限
<HEAD>
<META>
<TITLE></TITLE>
<LINK href="Common.css" type="text/css" rel="Stylesheet">
</HEAD>
<BODY>
<form>
<table class="plPanelSelect" id="oContent" height="40%" cellSpacing="0" cellPadding="0" width="98%" border="0" ImagesSrc="images/sheet.gif" PanelCaption="Ϣ" align="center">
<tr>
<td width="100%" align="center" valign="top"> vvvvvvvvv</td>
</tr>
</table>
<table class="plPanelUnSelect" id="oContent" height="40%" cellSpacing="0" cellPadding="0" width="98%" border="0" ImagesSrc="images/sheet.gif" PanelCaption="ϸϢ" align="center">
<tr>
<td width="100%" align="center" valign="top">hhhhhhhhhhh </td>
</tr>
</table>
<table class="plPanelUnSelect" id="oContent" height="40%" cellSpacing="0" cellPadding="0" width="98%" border="0" ImagesSrc="images/sheet.gif" PanelCaption="ϸϢ" align="center">
<tr>
<td width="100%" align="center" valign="top">ggggggggggg </td>
</tr>
</table>
</form>
</BODY>
</HTML>
Common.css.plTitleSelect{
border-right: #999999 1px solid;
border-top: #999999 1px solid;
font-size: 12px;
border-left: #999999 1px solid;
cursor: hand;
border-bottom: #999999 0px solid;
background-color: #ffffff;
text-align: center;
}
.plTitleUnSelect{
border-right: #999999 1px solid;
border-top: #999999 1px solid;
font-size: 12px;
border-left: #999999 1px solid;
cursor: hand;
border-bottom: #999999 1px solid;
background-color: #ececec;
text-align: center;
}
.plTitleSpace{
font-size: 12px;
border-bottom: #999999 1px solid;
text-align: center;
}
.plPanelSelect{
border-right: #999999 1px solid;
border-top: #999999 0px solid;
display: block;
font-size: 12px;
border-left: #999999 1px solid;
border-bottom: #999999 1px solid;
background-color: #ffffff;
behavior: url(panel.htc);
}
.plPanelUnSelect{
border-right: #999999 1px solid;
border-top: #999999 0px solid;
display: none;
font-size: 12px;
border-left: #999999 1px solid;
border-bottom: #999999 1px solid;
background-color: #ffffff;
behavior: url(panel.htc);
}
panel.htc<PUBLIC:PROPERTY NAME="ImagesSrc" /><PUBLIC:PROPERTY NAME="PanelCaption" /><PUBLIC:ATTACH EVENT="ondocumentready" HANDLER="DoInit" /><PUBLIC:ATTACH EVENT="onclick" HANDLER="load" /><SCRIPT LANGUAGE="jscript">window.Panel=new Array();function DoInit(){ if (!element.document.getElementById("oPanelHeader")){ inithtml='<table height="31" cellSpacing="0" id="oPanelHeader" cellPadding="0" width="98%" border="0" align="center" >'+ '<tr>'+ ' <td class="plTitleSpace" width="1%" height="31"> </td>'+ ' <td class="plTitleSelect" width="15%" height="31" isTitle="true">'+ ' <table style="FONT-SIZE: 12px" height="25">'+ ' <tr>'+ ' <td><IMG height="18" src="'+ImagesSrc+'" width="18"></td>'+ ' <td vAlign="bottom">'+PanelCaption+'</td>'+ ' </tr>'+ ' </table>'+ ' </td>'+ ' <td class="plTitleSpace" width="*%" height="31"> </td>'+ '</tr>'+ '</table>'; element.insertAdjacentHTML("beforeBegin",inithtml); oPanelHeader.attachEvent("onclick",oPanelHeaderClick); } else{ var rows=oPanelHeader.rows[0]; var cell=rows.insertCell(rows.cells.length-1); cell.className="plTitleSpace"; cell.width="1%"; cell.innerHTML=" "; var cell=rows.insertCell(rows.cells.length-1); cell.className="plTitleUnSelect"; cell.isTitle="true"; cell.width="15%"; cell.innerHTML= '<table style="FONT-SIZE: 12px" height="25">'+ ' <tr>'+ ' <td><IMG height="18" src="'+ImagesSrc+'" width="18"></td>'+ ' <td vAlign="bottom">'+PanelCaption+'</td>'+ ' </tr>'+ '</table>'; } window.Panel[window.Panel.length]=element;}function oPanelHeaderClick(){ var e = GetObj(window.event.srcElement); if (e) if (e.className=="plTitleUnSelect"){ for(i=0;i<window.Panel.length;i++){ window.Panel[i].className="plPanelUnSelect"; oPanelHeader.rows[0].cells[i*2+1].className="plTitleUnSelect"; } window.Panel[(e.cellIndex+1)/2-1].className="plPanelSelect"; e.className="plTitleSelect"; }}function GetObj(src){ if (src.parentElement.tagName!="BODY"){ if (src.isTitle=="true") return src; return GetObj(src.parentElement) } return null;} </script>
少个图片;images/sheet.gif
像这个