Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÔÚHtmlÖÐʹÓÃÓïÒô´¦Àí¿Ø¼þ

1 ÓÃVC++½¨Á¢Ò»¸öMFC¿Ø¼þ
Ö÷Òª¿Ø¼þµÄIDΪAB8DDD1B-F57D-489C-B8C4-BE03B7506CD2
ÔÚÏÂÃæ¿ÉÒÔ¿´µ½£º
//  Class information for CHYSpeechCtrlCtrl
 [ uuid(AB8DDD1B-F57D-489C-B8C4-BE03B7506CD2),
   helpstring("SpeechCtrl Control"), control ]
 coclass HYSpeechCtrl
 {
  [default] dispinterface _DHYSpeechCtrl;
  [default, source] dispinterface _DHYSpeechCtrlEvents;
 };
2 ×¢²á¿Ø¼þ
  regsvr32  xxx.ocx //ÌîдÉÏocxµÄÎļþ·¾¶
3 ÔÚHTMLÖвåÈëÈç϶ÔÏó
    <object id="MfcAtl" width=590 height=144
 classid="CLSID:AB8DDD1B-F57D-489C-B8C4-BE03B7506CD2">
            <param name="_Version" value="65536">
            <param name="_ExtentX" value="3351">
            <param name="_ExtentY" value="1870">
            <param name="_StockProps" value="0">
          </object>
4 Ôö¼ÓJS´úÂë
 //  ÉèÖÃÉèÖñ³¾°ÑÕÉ«
  function setBkColor()
  {
     alert("setBkColor");
     var bKR=parseInt(document.getElementById("txtR").value);
  var bkG=parseInt(document.getElementById("txtG").value);
  var bkB=parseInt(document.getElementById("txtB").value);
     document.all.MfcAtl.SetBkColor(bKR,bkG,bkB) ;
  }
5 ´¥·¢µ÷ÓÃJS
<input name=btnBkColor  onClick=setBkColor()    type=Button value=ÉèÖÃͼÏñ±³¾°É« id="btnBkColor">
6×îºó½á¹ûÈçÏÂ:
ËäÈ»ºÜ¾Ã¾ÍÓÐд¿Ø¼þ£¬µ«ÊÇÕâ´ÎÊÇʹÓÃHtmlµ÷Ó㬳ɹ¦ÁË£¬¸Ð¾õÐË·ÜÖС£
´ó¼ÒÓÐʲôÏë·¨¿ÉÒԶཻÁ÷\(^o^)/~


Ïà¹ØÎĵµ£º

word¡¢ppt¡¢excle ת»»html£¬²ÉÓÃjacob

ÏÂÔØ jacob-1.15-M3
µØÖ·http://sourceforge.net/projects/jacob-project/
¿ª·¢¹¤¾ß MyEclipse8.0 ÂÌÉ«°æ¡¢Tomcat 6.0 ÂÌÉ«°æ£¬JDK 1.6£¬XPϵͳ£¬J2EEÏîÄ¿
ÔÚMyEclipseÖÐÅäÖÃTomcat£¬Ê¹ÓÃ×Ô¼º°²×°µÄJDK
½Ó×ÅÅäÖÃMyEclipse µÄJRE
Window---Preferences--Java---Installed JREs--Ñ¡Ôñ֮ǰÅäÖÃTomcatʱ¼ÓÈëµÄjdk
°Ñjacob ......

HTML×ܽá

 
±ê Ç©      ÄÚ ÈÝ ±¸ ×¢
»ù ±¾ ±ê Ç© ËùÓÐHTMLÎļþ¶¼ÓеÄ
<html>……</html> ±íʾÎļþÀàÐÍΪHTMLÎĵµ
<head>……</head> ÉèÖÃÎĵµÃèÊö¼°ÆäËû²»ÔÚWEBÍøÒ³ÉÏÏÔʾµÄÐÅÏ¢ÍøÒ³µÄ±êÌ⣬Ñùʽ¶¨Ò壬Script
<body>……< ......

html¶ÁÊé±Ê¼Ç

1.ʲôÊÇ HTML Îļþ£¿
HTML Ö¸³¬Îı¾±êÇ©ÓïÑÔ¡£
HTML ÎļþÊÇ°üº¬Ò»Ð©±êÇ©µÄÎı¾Îļþ¡£
ÕâЩ±êÇ©¸æËß WEB ä¯ÀÀÆ÷ÈçºÎÏÔʾҳÃæ¡£
HTML Îļþ±ØÐëʹÓà htm »òÕß html ×÷ΪÎļþÀ©Õ¹Ãû¡£
HTML Îļþ¿ÉÒÔͨ¹ý¼òµ¥µÄÎı¾±à¼­Æ÷À´´´½¨¡£
2.HTML ÔªËØ
HTML ÎĵµÊÇÓÉ HTML ÔªËع¹³ÉµÄÎı¾Îļþ¡£
HTML ÔªËØÊÇͨ¹ýʹÓà HTML ......

html¶ÁÊé±Ê¼ÇÈý

13.HTML ͼÏñ
ͼÏñ±êÇ©£¨<img>£©ºÍÔ´ÊôÐÔ£¨Src£©
ÔÚ HTML ÖУ¬Í¼ÏñÓÉ <img> ±êÇ©¶¨Òå¡£
<img> ÊÇ¿Õ±êÇ©£¬Òâ˼ÊÇ˵£¬ËüÖ»°üº¬ÊôÐÔ£¬²¢ÇÒûÓбպϱêÇ©¡£
ÒªÔÚÒ³ÃæÉÏÏÔʾͼÏñ£¬ÄãÐèҪʹÓÃÔ´ÊôÐÔ£¨src£©¡£src Ö¸ "source"¡£Ô´ÊôÐÔµÄÖµÊÇͼÏñµÄ URL µØÖ·¡£
¶¨ÒåͼÏñµÄÓï·¨ÊÇ£º
<img src="url" /> ......

¹ØÓÚhtmlÖеÄObject±êÇ©

¶¨ÒåºÍÓ÷¨
¶¨ÒåÒ»¸öǶÈëµÄ¶ÔÏó¡£ÇëʹÓôËÔªËØÏòÄúµÄ XHTML Ò³ÃæÌí¼Ó¶àýÌå¡£´ËÔªËØÔÊÐíÄú¹æ¶¨²åÈë HTML ÎĵµÖеĶÔÏóµÄÊý¾ÝºÍ²ÎÊý£¬ÒÔ¼°¿ÉÓÃÀ´ÏÔʾºÍ²Ù×÷Êý¾ÝµÄ´úÂë¡£
<object> ±êÇ©ÓÃÓÚ°üº¬¶ÔÏ󣬱ÈÈçͼÏñ¡¢ÒôƵ¡¢ÊÓƵ¡¢Java applets¡¢ActiveX¡¢PDF ÒÔ¼° Flash¡£
object µÄ³õÖÔÊÇÈ¡´ú img ºÍ applet ÔªËØ¡£²»¹ýÓ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ