ÄãÕæµÄÁ˽âhtmlÂ𣿠֮script±êÇ©½éÉÜ
Ò»£®ÊôÐÔ£º
src£º¸ÃÊôÐÔÖ¸¶¨ÍⲿJavaScriptÎļþµÄµØÖ·£¬¿ÉÒÔ¿çÓò¡£Èç¹ûÖ¸¶¨Á˸ÃÊôÐÔ£¬ÄÇôscript±êÇ©ÖеÄÄÚÈݾͻᱻºöÂÔ¡£
type£ºÖ¸¶¨ËùʹÓõĽű¾ÓïÑÔ£¬¿ÉÒÔ¸²¸ÇĬÈϵĽű¾ÓïÑÔ£¨¼´ÔÚ<META http-equiv="Content-Script-Type" content="type">Öж¨ÒåµÄ½Å±¾ÀàÐÍ
£©¿ª·¢Õß±ØÐëÖ¸¶¨¸ÃÊôÐÔ£¬¸ÃÊôÐÔûÓÐĬÈÏÖµ¡£
language£º£¨²»ÔÞ³ÉʹÓã©£¬Ö¸¶¨script±êÇ©µÄÄÚÈÝËùʹÓõĽű¾ÓïÑÔ£¬¸ÃÊôÐÔµÄÖµÊÇһЩÓïÑԵıêʾ·û£¬µ«ÊÇÓÉÓÚÓïÑԵıêʾ·û²»±ê×¼£¬Òò´Ë¸ÃÊôÐÔ±»ÆúÓÃÁË£¬Æ«ÏòÓÚʹÓÃtypeÊôÐÔÖ¸¶¨ËùʹÓõĽű¾ÓïÑÔ¡£ÔÚieÖе±Óжà¸öscript±êǩʱ£¬×îºÃΪÿ¸öscript¶¼Ö¸¶¨Ò»¸ölanguageÊôÐÔ£¬²¢ÇÒscript±êÇ©µÄ˳ÐòÒ²·Ç³£ÖØÒª£¬ÌرðÊǵ±Ò»¸ö½Å±¾º¯Êý×÷Ϊʼþ¿ØÖÆÆ÷¸³ÓèÒ»¸ö»òÕ߶à¸öÔªËØÉÏʱ£¬xml¶ÔÓÚscript±êÇ©À´ËµÊǺϷ¨µÄÄÚÈÝ£¬µ«ÊÇxml²»ÊÇÒ»¸ö½Å±¾ÓïÑÔ£¬Èç¹û°Ñxml×÷Ϊscript µÄÄÚÈÝÈ磺
<html>
<head>
<SCRIPT LANGUAGE="XML" id="mySrc1">
<offerings>
<class><materials>This should render.</materials><time>1.5
hr</time></class>
</offerings>
</SCRIPT>
<SCRIPT LANGUAGE="Javascript">
function returnIslandRootName()
{
var islandRoot = document.all["mySrc1"].XMLDocument;
alert(islandRoot.nodeName);
}
</SCRIPT>
</head>
<body>
<button onclick="returnIslandRootName()">Test the XML Data Island</button>
</body>
</html>
ÓÉÓÚxmlÊý¾ÝµºÎªµÚÒ»¸öscript±êÇ©ÖеÄÄÚÈÝ£¬²¢ÇҸñêÇ©Ö¸¶¨ÁËlanguageΪJavaScript£¬Õâʱmshtml»áÔÚµÚÒ»¸öscript±êÇ©ÖмÓÔØreturnIslandRootName ·½·¨£¬Òò´Ë»á±¨´í£¬ÄÇôÕýÈ·µÄ»áÊÇʲôÄØ£¿
<html>
<head>
<SCRIPT LANGUAGE="Javascript">
function returnIslandRootName()
{
var islandRoot = document.all["mySrc1"].XMLDocument;
alert(islandRoot.nodeName);
}
</SCRIPT>
<SCRIPT LANGUAGE="XML" id="mySrc1">
<offerings>
<class><materials>This should render.</materials><time>1.5
hr</time></class>
</offerings>
</SCRIPT>
</head>
<body>
<button onclick="
Ïà¹ØÎĵµ£º
ÑÕ ÁÖ
, Èí¼þ¹¤³Ìʦ, IBM
2009 Äê 12 ÔÂ 10 ÈÕ
HTML
5 ÒýÈëÁËеĵÄÍøÒ³ÔªËØ£º<canvas>¡£Canvas ÊÇһƬ¿Õ°×µÄ»æͼÇøÓò£¬ÍøÒ³¿ª·¢Õß¿ÉÒÔÀûÓà JavaScript
ÔÚ¸ÃÇøÓòÖÐ×ÔÓɵؽøÐÐ 2D »æͼ¡£Canvas ¿ÉÒÔÓÃÓÚäÖȾ»ªÀöµÄÍøÒ³Éè¼Æ½çÃæ¡£±¾ÎÄͨ¹ýÒ»¸öÏêϸµÄʵÀýÀ´ËµÃ÷ÈçºÎÓà Canvas
À´ÖÆ×÷Ò»¸öͼƬµÄä¯ÀÀÆ÷¡£×îÖÕµÄÐ ......
Window ¶ÔÏó
Window ¶ÔÏóÊÇ JavaScript ²ã¼¶ÖеĶ¥²ã¶ÔÏó¡£
Window ¶ÔÏó´ú±íÒ»¸öä¯ÀÀÆ÷´°¿Ú»òÒ»¸ö¿ò¼Ü¡£
Window ¶ÔÏó»áÔÚ <body> »ò <frameset> ÿ´Î³öÏÖʱ±»×Ô¶¯´´½¨¡£
ÓÐ¹Ø Window ¶ÔÏóµÄÏêϸÃèÊö¡£
IE: Internet Explorer, F: Firefox, O: Opera.
Window ¶ÔÏóµÄ¼¯ºÏ
CollectionDescriptionIEFO
fr ......
±¾ÎĽéÉÜFCKeditorÔÚJava»·¾³ÏµÄʹÓ÷½·¨¡£
Ò»¡¢¼ò½é
¹¦ÄÜ£ºËù¼û¼´ËùµÃ£¬Ö§³ÖͼƬºÍFlash£¬¹¤¾ßÀ¸¿É×ÔÓÉÅäÖã¬Ê¹Óüòµ¥
¼æÈÝÐÔ£ºIE 5.5+¡¢Firefox 1.5+¡¢Safari 3.0+¡¢Opera 9.50+¡¢Netscape 7.1+¡¢ Camino 1.0+
³ÉÊì¶È£ºÊ¹Óù㷺£¬±»Baidu¡¢CSDNµÈÑ¡ÓÃ
¶þ¡¢ÏÂÔØ
¹Ù·½ÏÂÔØÊ×Ò³£ºhttp://www.fckeditor.net/ ......
CuteEditorÊÇÒ»¿î¹¦Äܷdz£Ç¿´óµÄAsp.net HTML±à¼Æ÷
Ò»¡¢CuteEditorµÄÅäÖÃ
1¡¢½«ÒÔÏÂÎļþ¿¼±´µ½ÄãÕ¾µã¸ùĿ¼ÏµÄbinÄÚ(ÕâЩÔÚCuteEditor6.0/bin϶¼¿ÉÒÔÕÒµ½£©
CuteEditor.dll£¬
CuteEditor.ImageEditor.dll£¨6. ......
±ÈÈçappletÎļþÊÇAppletTest.class
1£©
ÔÚAppletTest.javaµÄ´úÂëÖÐ
ʹÓÃĬÈÏ°ü£¬¼´²»ÓÃpackageÓï¾ä
ÔÚhtmlÒ³ÖеĴúÂëÊÇ
<applet code="AppletTest.class" width="400" height="300">
</applet>
AppletTest.classÎļþºÍhtmlÒ³·ÅÔÚÒ»¸öÎļþ¼ÐÖÐ
2)
ÔÚAppletTest.javaµÄ´ú ......