°Ù¶È¿Õ¼ä | °Ù¶ÈÊ×Ò³ 
 
ÎÄÕÂÁбí
 
ÄúÕýÔڲ鿴 "js-css-html" ·ÖÀàϵÄÎÄÕÂ

2008Äê08ÔÂ03ÈÕ ÐÇÆÚÈÕ ÏÂÎç 09:27

1.Ìí¼Ójavascript´úÂë

<script type="text/javascript" language="javascript">
function Preview(imgFile)
{
    document.getElementById("pic").filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile.value;

}
</script>

2.FileUpload¿Ø¼þÌí¼Ó

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê07ÔÂ15ÈÕ ÐÇÆÚ¶þ ÏÂÎç 10:01
(Ò»).È·ÈÏɾ³ýÓ÷¨:
1. BtnDel.Attributes.Add("onclick","return confirm('"+"È·ÈÏɾ³ý?"+"')");
2. linktempDelete.Attributes["onclick"]="javascript:return confirm('"+"È·ÈÏɾ³ý?"+"');";
3. private void grdProject_ItemDataBound(object sender, DataGridItemEventArgs e)
4.
{
if ((e.Item.ItemType == ListItemType.Item) ¦ (e.Item.ItemType == ListItemType.AlternatingItem))
{
// „h
Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê06ÔÂ07ÈÕ ÐÇÆÚÁù ÏÂÎç 09:20

function executeXhr(callback, url) {
// branch for native XMLHttpRequest object
if (window.XMLHttpRequest) {
    req = new XMLHttpRequest();
    req.onreadystatechange = callback;
    req.open("GET", url, true);
    req.send(null);
} // branch for IE/Windows ActiveX version
else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHT

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê06ÔÂ05ÈÕ ÐÇÆÚËÄ ÉÏÎç 10:53

µã»÷·µ»ØÉÏÒ³´úÂë:
<form>
<p><input TYPE="button" VALUE="·µ»ØÉÏÒ»²½" ONCLICK="history.back(-1)"></p>
</form>

µ¯³ö¾¯¸æ¿ò´úÂë:
<form>
< p><input TYPE="button" VALUE="µ¯³ö¾¯¸æ¿ò" ONCLICK="AlertButton()"></p>
</form>
<script language="JavaScript">
<!--
function AlertButton()
{
window.alert("Òª¶à¶à

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê06ÔÂ02ÈÕ ÐÇÆÚÒ» ÏÂÎç 04:08

Ò».ʹÓÃcssËõд

ʹÓÃËõд¿ÉÒÔ°ïÖú¼õÉÙÄãCSSÎļþµÄ´óС£¬¸ü¼ÓÈÝÒ×ÔĶÁ¡£cssËõдµÄÖ÷Òª¹æÔòÇë²Î¿´¡¶³£ÓÃcssËõдÓï·¨×ܽᡷ£¬ÕâÀï¾Í²»Õ¹¿ªÃèÊö¡£

¶þ.Ã÷È·¶¨Ò嵥룬³ý·ÇֵΪ0

Íü¼Ç¶¨Òå³ß´çµÄµ¥Î»ÊÇCSSÐÂÊÖÆÕ±éµÄ´íÎó¡£ÔÚHTMLÖÐÄã¿ÉÒÔֻдwidth=100£¬µ«ÊÇÔÚCSSÖУ¬Äã±ØÐë¸øÒ»¸ö׼ȷµÄµ¥Î»£¬±ÈÈ磺widt

Àà±ð£ºjs-css-html | ÆÀÂÛ(1) | ä¯ÀÀ()
 
2008Äê05ÔÂ19ÈÕ ÐÇÆÚÒ» ÉÏÎç 11:33

Ò»¿éºÜ²»´íµÄ²Ëµ¥Éú³É¹¤¾ß£¬ÒÔºóÔÚ²»ÓÃΪ×ö²Ëµ¥ÓôÃÆÁË

ËäÈ»ÊÇÓ¢Îĵ쬵«²¢²»Ó°ÏìʹÓ÷½±ã

¹Ù·½ÏÂÔØ

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê05ÔÂ13ÈÕ ÐÇÆÚ¶þ ÏÂÎç 05:02

//**********css.htmlÎļþ****************************************************************

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê05ÔÂ13ÈÕ ÐÇÆÚ¶þ ÏÂÎç 04:58

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê05ÔÂ13ÈÕ ÐÇÆÚ¶þ ÏÂÎç 04:49

µ¯³ö´°¿ÚµÄ¼¸ÖÖ·½·¨
window.open('http://singlepine.cnblogs.com','title','height=100,width=200,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no')

window.showModalDialog('http://singlepine.cnblogs.com','title','scrollbars=yes;resizable=no;help=no;status=no;dialogTop=25;
dialogLeft=0;dialogHeight=400px');

window.showModelessDialog('http://singlepine.cnblogs.com','titl

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê05ÔÂ13ÈÕ ÐÇÆÚ¶þ ÏÂÎç 04:48
<HTML>
    
<HEAD>
Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê05ÔÂ13ÈÕ ÐÇÆÚ¶þ ÏÂÎç 04:47

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ÎÞ±êÌâÎĵµ</title>
<style type="text/css">
<!--
#photo2
{position:relative;
color:#FFFFFF;
}
.pp {width:30px:height:25px;font-size:14px;font-weight:bold;color:#00ffff;background-image:url(images/bt_bg.gif) no-repeat center center;; PADDING-TOP: 3px;
}
.pp {width:15px:height:25px;fon

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2008Äê01ÔÂ01ÈÕ ÐÇÆÚ¶þ ÏÂÎç 09:12
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
¡¡¡¡¡¡¡¡<table border oncontextmenu=return(false)><td>no</table> ¿ÉÓÃÓÚTable
¡¡¡¡ 2. <body onselectstart="return false"> È¡Ïûѡȡ¡¢·ÀÖ¹¸´ÖÆ

¡¡¡¡3. onpaste="return false" ²»×¼Õ³Ìù

¡¡¡¡4. oncopy="return false;" oncut="return false;" ·ÀÖ¹¸´ÖÆ

¡¡¡¡5. <link rel="Shortcut Icon" href="favicon.ico"> IEµØÖ·

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2007Äê12ÔÂ11ÈÕ ÐÇÆÚ¶þ ÏÂÎç 04:47

·½·¨1£º

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2007Äê12ÔÂ10ÈÕ ÐÇÆÚÒ» ÏÂÎç 07:39

javascriptµÃµ½ÆÁÄ»·Ö±æÂʺÍÍøÒ³¿É¼ûÇøÓòµÈ·½·¨
<body><SCRIPT LANGUAGE="JavaScript">
var s = "";
s += "\r\nÍøÒ³¿É¼ûÇøÓò¿í£º"+ document.body.clientWidth;
s += "\r\nÍøÒ³¿É¼ûÇøÓò¸ß£º"+ document.body.clientHeight;
s += "\r\nÍøÒ³¿É¼ûÇøÓò¿í£º"+ document.body.offsetWidth +" (°üÀ¨±ßÏߺ͹ö¶¯ÌõµÄ¿í)";
s += "\r\nÍøÒ³¿É¼ûÇøÓò¸ß£º"+ d

Àà±ð£ºjs-css-html | ÆÀÂÛ(0) | ä¯ÀÀ()
 
2007Äê11ÔÂ13ÈÕ ÐÇÆÚ¶þ ÏÂÎç 06:24

JavaScriptÖÐÓÃreplaceÏê½â

"hand hand hand"Ïë±ä»»Îª"hand.gif hand.gif hand.gif"
¿ªÊ¼ÓÃ
str=str.replace("hand","hand.gif");
Êä³ö£ºhand.gif hand hand
Ö»Ìæ»»ÁËÒ»´Î¡£¡£¡£:(
Ïëµ½ÓÃÕýÔò£¬ÒòΪreplace±¾À´¾Í¿ÉÒÔÓÃÕýÔòÌæ»»¡£

ÒýÓÃ
·µ»Ø¸ù¾ÝÕýÔò±í´ïʽ½øÐÐÎÄ×ÖÌæ»»ºóµÄ×Ö·û´®µÄ¸´ÖÆ¡£

stringObj.replace(rgExp, replaceText)


ÓÚÊÇд
str = st

Àà±ð£ºjs-css-html | ÆÀÂÛ(1) | ä¯ÀÀ()
 
     
 
 
ÎÄÕ·ÖÀà
 
 
.net(51)
 
 
C(1)
 
 
 
 
 
Ajax(3)
 
 
 
f#(1)
 
 
Ros(1)
 
     
 
ÎÄÕ´浵
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
×îÐÂÎÄÕÂÆÀÂÛ
   

ÕâÀïÓкܶàhttp://ziyuan8.jimdo.com
 
 

[񡀂]
 
 

[񡀂]
 
     


©2009 Baidu