求QQ邮箱删除时的提示效果
感觉挺好看的
邮箱:LLL530264114@163.com --------------------编程问答-------------------- baidu里搜索ui框架,有一堆 --------------------编程问答-------------------- 方法1.弹窗+ajax;
方法2.弹窗+__doPostBack(...)方法
对思路2举例:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
*{ font-family:Arial; font-size:14px; line-height:23px;}
body{ background-color:#FAF9DE; }
</style>
</head>
<body>
<form id="form1" runat="server">
<div style=" width:960px; margin:0 auto;">
<div style=" height:100px;"></div>
<asp:LinkButton runat="server" ID="likbtn" />
<%--第一个参数表示按钮ID,第二参数随便写的,为的就是在后台确定按钮是否被点击了。 --%>
<div style=" border:2px solid #C60A00; padding:10px; width:80px;"><%=outHTML %></div><br />
<button type="button" id="btnConfirm" onclick="__doPostBack('btnConfirm','1')">查询</button>
<button type="button" id="btnPostBack" onclick="__doPostBack('FF',1)">测试</button>
<%--<a id="A1" href="javascript:__doPostBack('likbtn','')"></a>--%>
</div>
</form>
</body>
</html>
public partial class WebForm1 : System.Web.UI.Page--------------------编程问答-------------------- 弹出的窗口用div,在刚刚弹出的时候设置时间间隔。 慢慢增加
{
public string outHTML = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
string controlName = Request.Params.Get("__EVENTTARGET");
string eventArgument = Request.Params.Get("__EVENTARGUMENT");
// 确定按钮事件
if (controlName == "btnConfirm" && eventArgument == "2")
{
btnConfirm_Click(sender, e);
}
// 查询按钮事件
if (controlName == "FF" && eventArgument == "1")
{
btnReturn_Click(sender, e);
}
}
private void btnConfirm_Click(object sender, EventArgs e)
{
outHTML = "btnConfirm";
}
private void btnReturn_Click(object sender, EventArgs e)
{
outHTML = "FF";
}
}
CSS的透明度属性。直到100% ,弹出窗口的时候,弹出前 的页面
用另一个div覆盖掉。自己可以设置透明度。。
--------------------编程问答-------------------- http://www.open-lib.com/Type/175-1.jsp
各种找 --------------------编程问答--------------------
没明白什么意思啊 --------------------编程问答-------------------- 百度搜索 js 弹窗 --------------------编程问答--------------------
补充:.NET技术 , ASP.NET