當前位置:編程學習大全網 - 源碼下載 - 求百度貼吧登錄頁的網頁代碼

求百度貼吧登錄頁的網頁代碼

<!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>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>無標題文檔</title>

<script type="text/javascript">

function ShopConfirm(str){

var ShopConfirmLayer=document.getElementById(str);

var webBgLayer=document.getElementById("webBgLayer");

// ShopConfirmLayer.innerHTML=str;

ShopConfirmLayer.style.display="";//顯示內容層,顯示覆蓋層

ShopConfirmLayer.style.left=parseInt((document.documentElement.scrollWidth-ShopConfirmLayer.offsetWidth)/2)+document.documentElement.scrollLeft+"px";

ShopConfirmLayer.style.top=Math.abs(parseInt((document.documentElement.clientHeight-ShopConfirmLayer.offsetHeight)/2))+document.documentElement.scrollTop+"px"; //為內容層設置位置

webBgLayer.style.display="";

webBgLayer.style.height=document.documentElement.scrollHeight+"px"; //為覆蓋層設置高度

}

function CloseShopConfirm(ids){

var ShopConfirmLayer=document.getElementById(ids);

var webBgLayer=document.getElementById("webBgLayer");

ShopConfirmLayer.style.display="none";

webBgLayer.style.display="none";

}

function hide(id)

{

var ids=document.getElementById(id);

ids.style.display='none';

}

</script>

</head>

<body style=" height:95%;">

<input type="button" value="test" onclick="ShopConfirm('img3')" />

<div id="img3" style="position:absolute;top:343px;left:129px; background:#F7ECF9; font-size:14px; color:black;z-index:900; border:2px #FFCC00 solid; width:350px; height:220px; padding:9px;">

<div style="width:350px; text-align:right;"><div style=" color:#9900CC; font-weight:bold; font-size:15px; cursor:hand;" onclick="CloseShopConfirm('img3')">關 閉</div></div>

<br/><br/><br/><br/><br/>?在這裏設置註冊按鈕

</div>

</div><script language="javascript">hide('img3');</script>

<div id="webBgLayer" style="position:absolute;top:0px;left:0px;z-index:899;background-color:black;height:100%;width:100%;display:none;-moz-opacity:0.9;filter:alpha(opacity=50);"></div>

</body>

</html>

專門幫妳做的,記得給分哈。

以上回答妳滿意麽?

  • 上一篇:自媒體宣傳的驗收與評估
  • 下一篇:女生放學見到男生,放慢了車速,(騎著電車),跟著男生,壹會看看男生,壹會看看地,最後搖搖頭,走了。
  • copyright 2024編程學習大全網