ÓÃJavaScriptÐÞ¸ÄCSSÊôÐÔ
½ñÌìÈ¥baiduÌáÎʵÄʱºò¿´µ½baiduµÄcssÖÇÄÜÌáʾ¾õµÃºÜÈË»¯£¬Õâ²»»ØÍ·¾ÍдÁËÒ»¸ö¡£¸ø´ó¼Ò¿´¿´!
Çë¶à¶àÖ¸½Ì£¡£¡£¡
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>
exmpall
</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<STYLE type="text/css">
div{
padding: 0;
margin: 0;
position: absolute;
left:200px; /*×ó±ß*/
top:0; /*ÉÏÃæ*/
display: none;
width: 180px;
height: 150px;
border-style: solid;
border-color: #E6C963;
border-width: thin;
}
</STYLE>
<SCRIPT TYPE="text/javascript">
<!--
function myfunction1()
{
var my=document.getElementById("chenyi");
my.style.position = "absolute";
my.style.top = "50px"; /*ÉÏÃæ*/
my.style.display = "inline";
my.style.backgroundColor = "#E4A17C";
}
function myfunction2()
{
var my=document.g
Ïà¹ØÎÊ´ð£º
<html>
<head>
<title></title>
</head>
<body>
<font color="#0000FF"><b>ÇëÔÚÎı¾¿ò1ÖÐÊäÈëÎÄ×Ö£º</b>
<form>
<input ......
ÔÚʹÓÃCSSÖеÄpadding-leftʱÓöµ½Ò»¸öÎÊÌâ¡£¾ÍÊDZ¾À´ÒѾÉèÖúõĿí¶È£¬padding-leftÒ»ÉèÖà ¶àÉÙºÃÏñ¾Í°ÑÕâ¸ö¼Ó¿íÁ˶àÉÙ¡£ºóÃæµÄDIV¾Í±äλÖÃÁË¡£ÓÐû½â¾ö°ì·¨Ñ½
ÇëÎÊÄãIE¼¸°¡£¿=£¬= ²»»áÓÐÕâÖÖÇé¿öÒ®
Èç¹ûÊÇIE6£¬Ä ......
<script language="javascript">
function click() {
if (event.button==2) { //button==1Ϊ×ó¼ü
alert('µã»÷²é¿´ÎÄÕÂÏêϸÄÚÈÝ£¡')
}
}
document.onmousedown=click
</script>
ÒÔÉÏ ......
form±íµ¥ÏÂÀ¿òµÄÀ¶É«ÔõôȥµôÄØ£¬ÎÒÏë°ÑÏÂÀ¿òµÄÑÕÉ«ÉèΪ͸Ã÷µÄ
may be no way.
ÏñQQ¿Õ¼äÀïµÄÄÇЩ͸Ã÷µÄÏÂÀ¿òÊÇÔõôŪµÃÄØ£¿
ÒýÓÃ
ÏñQQ¿Õ¼äÀïµÄÄÇЩ͸Ã÷µÄÏÂÀ¿òÊÇÔõôŪµÃÄØ£¿
ÓòãÄ£ÄâµÄ°É
»ù±¾¶¼ ......
ÎÒÒ²À´Ò»¸öȤζjavascript:
´ò¿ªÒÔÏÂhtmlÎļþ,ÒÀ´Î°´ÏÂG,L,CÈý¸ö¼ü,¾Í»áÓÐÆæ¼£³öÏÖ!!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" ......