zkÖÐhtmlÒ³Ãæ´°¿Ú»¯Êä³ö
getQuickStart(){QuickStartWindow window = new QuickStartWindow();
window.setParent(this);
window.doPopup();}´°¿Ú³õʼ»¯µ÷ÓÃ
QuickStartWindow.java
public QuickStartWindow() {
this.setMaximizable(true);
this.setMaximized(true);
this.setMinimizable(true);
this.setMinimized(true);
this.setSizable(true);
this.setClosable(true);
this.setWidth("800px");
this.setHeight("50%");
this.setTitle("¿ìËÙÉÏÊÖ");
this.setStyle("left:120px;top:120px;");
Iframe iframe = new Iframe();
iframe.setStyle("border:0;margin:0;padding:0;width:100%;height:100%;background:#D3EAF6;");
iframe.setSrc("login/quickStart.html");
this.appendChild(iframe);
}ÉèÖÃÁË´°¿ÚµÄ»ù±¾ÊôÐÔºÍvc++Öд°¿ÚµÄÉèÖò¶à
ÓÃÀ´°ÑquickStart.htmlÒ³Ãæ´°¿Ú»¯Êä³ö
Ïà¹ØÎĵµ£º
using System.Text.RegularExpressions;
private string parseHtml(string Htmlstring)
{
#region //È¥³ýHTML±ê¼Ç
if (Htmlstring.Length > 0)
{
& ......
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
{
& ......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>ʵÀý1</TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME=" ......
ÌØÊâJavaScript½Å±¾£º
1.½ûÓÃ(»Ö¸´)href³¬¼¶Á´½Ó£®
2.javascriptÖе÷ÓÃvbs¶Ô»°¿òʵÏÖConfirm,¿ÉÒÔÏÔʾYes,No,»¹Óи÷ÖÖͼ±ê£¬½öIEÏÂÓÐЧ£®
3.ÏÞÖÆÉÏ´«ÎļþÀàÐÍΪjpg.
4.ÏÞÖÆÀ뿪µ±Ç°Ò³Ã棬ÔÚÀ뿪ʱÌáʾ£®½öÏÞÖÆ´°¿Ú¹Ø±Õ»òͨ¹ýij¸öhref³¬¼¶Á´½ÓÀ뿪£®(Ò³Ãæˢк͵ØÖ·À¸¸Ä±äʱ²»Ìáʾ£©
demo.htmlÈçÏ£º
<html>
&n ......
ʹÓÃ<base>±êÇ©×îÖ÷ÒªµÄÔÒò£¬ÊÇΪÁËÈ·±£ÎĵµÖÐËùÓеÄÏà¶ÔURL¶¼¿ÉÒÔ±»·Ö½â³ÉÕýÈ·µÄÎĵµµØÖ·£¬¼´Ê¹ÔÚÎĵµ±¾Éí±»Òƶ¯»òÖØÃüÃûµÄÇé¿öÏÂÒ²¿ÉÒÔÕýÈ·½âÎö¡£
¡¡¡¡ÔÚ´´½¨Îĵµ¼¯ºÏʱ£¬Ê¹ÓÃ<base>±êÇ©ÓÈΪÖØÒª¡£Í¨¹ýÔÚÿ¸öÎĵµÖзÅÖÃÕýÈ·µÄ<base>±êÇ©£¬¾Í¿ÉÒÔÔÚĿ¼ÉõÖÁ·þÎñÆ÷Ö®¼äÒƶ¯Õû¸öÎĵµ¼¯ºÏ£¬¶ø²»»áÆÆ»µÎĵ ......