这是锁定前的效果,点击图标可以操作。锁定之后点击图标这个操作框就不会出来。js,调试可以进去,控制的好像是克隆前的点击事件,js里面应该怎么写来控制现在页面的点击事件 <script type="text/javascript">
function GoodsHide(obj) {
document.getElementById(obj.id).style.display = "none";
}
function Part_Show(obj) {
var Partid = obj.id.replace("ImgPart_", "");
document.getElementById("BtnPart_" + Partid).style.display = "block";
document.getElementById("BtnPart_" + Partid).style.zIndex = "999";
}
function GoodsNth(obj) {
document.getElementById(obj.id).style.display = "block";
}
</script>代码 <td class="center"><%# Eval("RFQStatus").ToString().ToLower()=="false"?"<span style='color:red;'>未报</span>":"
<span style='color:#8d8d8d;'>已报</span>" %>
<asp:Panel ID="panOperation" runat="server">
<div class="checkImg"><img alt="" src="/Images/icon/setting_nostock.png" onclick="Part_Show(this)" id="ImgPart_<%# Eval("ID")
%>" />
<div class="Goodsbtn" id="BtnPart_<%# Eval("ID") %>" onmouseout="GoodsHide(this)" onmouseover="GoodsNth(this)">
<asp:Button ID="btnNoGoods" CssClass="btnstys" runat="server" Text="无货" />
<asp:Button ID="btnQueGoods" CssClass="btnstys" runat="server" Text="缺货" />
<asp:Button ID="btnReturnSea" CssClass="btnstys" runat="server" Text="退回公海库" />
<asp:Button ID="btnPartIsWrong" CssClass="btnstys" runat="server" Text="型号有误" />
</div>
</div>
</asp:Panel>
</td>请前辈们解答,谢谢了
添加回答
举报
0/150
提交
取消