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

.net + html ͬÒâ×¢²á

.net ¹¦ÄÜÊ®·ÖÇ¿´ó£¬Æäʵ¿ÉÒÔÖ±½ÓÔÚÀïÃæÐ´Ò»Ð©htmlµÄ´úÂ룬±ÈÈçÏñÕâÑù
<asp:CheckBox ID="checksingup" runat="server" Text='I have read and agree to <a href="abc.aspx">This is ABC web</a>'   onclick="ValidateTandCs" />
ÕâÖÖ¿ÉÒÔÓÃÓÚ×¢²áʱµÄ³¬Á´½Óµ½±ðµÄµØ·½£¬µ±È»¿ÉÒÔ·¢»ÓÏëÏñ£¬ËùÓÐText¶¼¿ÉÒÔÕâôÓá£
 <asp:CustomValidator ID="cvTerms" runat="server" ValidationGroup="signupGroup" Display="Dynamic"
                            ClientValidationFunction="ValidateTandCs" EnableViewState="false" ErrorMessage="<%$Resources:Message,needagree%>" />
//Õâ±ßerrormessageÊǵ÷ÓÃÈ«ÓòµÄmessageÕâÑù¸ÄÆðÀ´»á¸ü·½±ãЩ
 <script language="javascript" type="text/javascript">
    function ValidateTandCs(source, args)
    {
        args.IsValid = document.getElementById('<%= checksingup.ClientID %>').checked;
    }
    </script>
¶ÔÓÚjs£¬ÕâÀï.netµÃµ½µ±µÄ·½·¨»¹ÊǺܶàµÄ£¬ÕâÒ²ÊÇÆäÖÐÒ»ÖÖ


Ïà¹ØÎĵµ£º

WinCE ½çÃæ¿ª·¢:ʹÓÃHTML Browser Control

WinCE ½çÃæ¿ª·¢:ʹÓÃHTML Viewer Control
by cheungmine 2010-1
ÔÚWin32ƽ̨ÉÏÓà C++×ö½çÃæ¿ª·¢È·ÊµÊǺܳÔÁ¦µÄ»î¡£ÎÞÂÛʹÓÃMFC»¹ÊÇATL»òÕßWTL¶¼ÊǺÜÍ´¿àµÄ¡£Í¨³£ÒýÈëHTML¿Ø¼þ£¬¿ÉÒÔ×ö³öÀàËÆÍøÒ³Ð§¹ûµÄ¾«ÃÀ²¼¾Ö¡£ÔÚ´«Í³µÄWindowsÓ¦ÓóÌÐòÖÐʹÓÃWeb¿Ø¼þÒÑÊÇ´óÊÆËùÇ÷£¬´ó´ó¼ò»¯¹¤×÷Á¿¡£µ«ÊÇÔÚWinCEƽ̨ÉÏ£¬×öͬÑùµÄÊÂÇ飬ÍùÍ ......

jsp htmlÇø±ð

jsp(java server pages)ÊÇÒ»ÖÖ¼¼Êõ,ÓÃÀ´´¦Àí¿Í»§¶ËÇëÇóµÄ,(Ä¿µÄÊÇΪÁË´ïµ½¶¯Ì¬ÍøÒ³µÄЧ¹û),´¦Àíºó´«¸ø¿Í»§¶Ë(Ò²¿ÉÒÔ˵¸øÁËä¯ÀÀÆ÷),¾Í³ÉÁËÎÒÃÇ¿´µ½µÄ¾²Ì¬ÍøÒ³(HTML)
 
HTML ¼ÓÈëJava´úÂë(±ÈÈç<%...%>)²»»áÓÖÈκÎЧ¹û,Ö»»á½²<%...%>ÏÔʾµ½Ò³ÃæÐÐ,»òÕ߸ù¾ÝλÖÃÓ°Ïì±àÒë. JSP(Java Server Page)Ò³ÃæÆäʵ¾ÍÊÇ ......

JavascriptʵÏÖhtml¿éÓï·¨¸ßÁÁ£¨ËÑË÷ºó¹Ø¼ü×Ö¸ßÁÁ£©

dp.SyntaxHighlighter
dp.SyntaxHighlighter£¬Õâ¶«Î÷yahoo¶¼ÔÚÓÃËü£¬Ö§³Ö¶àÖÖÓïÑÔ¡£
Ö»ÐèÒª½«´úÂë·Åµ½<textarea>±êÇ©ÄÚ£¬Ëü¾Í¿ÉÒÔ×Ô¶¯¸ù¾ÝclassÖ¸¶¨µÄÓïÑÔÀ´¶ÔtextareaÄÚÈݽøÐÐ×ÅÉ«£¬»¹ÌṩÁËÐкš¢´òÓ¡µÈ¹¦ÄÜ¡£È磺
Xml´úÂë
<TEXTAREA class=java name=code><br/>    // code here ......

HTMLÒ³ÃæÌø×ªÐ§¹û

ʹÓøñʽ£ºÔÚÒ³ÃæÖвåÈë
<meta HTTP-EQUIV="Page-Enter" CONTENT="revealtrans(duration=1.0, transition=12)">
<meta HTTP-EQUIV="Page-Exit" CONTENT="revealtrans(duration=1.0, transition=12)">
duration=ʱ¼ä
Transitionv=·½Ê½
˵Ã÷£ºdurationÎªÒ³ÃæÇл»µÄʱ¼ä³¤¶È£¬3.000±íʾ3ÃëÖÓ£¬Ò»°ã¿ÉÒÔÖ±½ÓÊ ......

HTML»ù±¾¹¦:FRAME±êÇ©µÄʹÓÃ

    ¹¤×÷ºÜ¶àÄêÁË,¿ÉÊÇ»ù±¾ÉÏûÓÐÖ±½Óд¹ýHTMLÒ³Ãæ.×î¶à¾ÍÊÇά»¤Ð޸ĹýһϱðÈËдÁË.
    ×î½üÔÚ×öÒ»¸öÏîÄ¿µÄ»ù±¾Éè¼ÆµÄʱºò,ÒªÌá°¸¸ø¿Í»§µÄ»­ÃæÑùÀý.Òò´Ë¿ªÊ¼×Ô¼ºÐ´¼ÙµÄHTML»­Ãæ.ΪÁ˽Úʡʱ¼ä,ÆäËûÈ˶¼Ö»Ð´»­ÃæµÄÖ÷ÒªÄÚÈݲ¿·Ö.¶ø»­ÃæµÄÍ·²¿,µ×²¿ÒÔ¼°Ö÷²Ëµ¥,×Ӳ˵¥¶¼ÓÃframeÀ´ÌåÏÖ.
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ