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

ÔÚflexÖÐʹÓÃǶÈëhtmlÎļþÒÔ½â¾öÏÔʾhtmlµÄÎÊÌâ

ÏëÔÚflexÖÐÕæʵµÄÏÔʾhtml,µ«ÊÇtexteara,lable,textÖÐÖ»Ö§³Ö²¿·Öhtml±êÇ©
<a>¡¢<b>¡¢<br>¡¢<font>¡¢<img>Èç¹ûÓÃimgÓÖ´æÔÚÏÔʾ×Ô¶¯»»ÐеÄÎÊÌâ¡£Ö»ÓвÉÓÃǶÈëhtmlµÄ·½·¨À´½â¾ö¡£
1.flexdemo1
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*" width="427" height="282" viewSourceURL="srcview/index.html">
<mx:Panel x="10" y="10" width="407" height="262" layout="absolute" title="TabNavigator with HTML IFrame Enclosures">
<mx:TabNavigator x="10" y="10" width="367" height="202">
<local:IFrame source="http://www.ff-power.com"  label="TÍø" width="100%" height="100%">
</local:IFrame>
<local:IFrame source="http://www.ctott.com" label="·É·²¶¯Á¦" width="100%" height="100%">
</local:IFrame>
<local:IFrame source="http://www.ff-power.com/bbs" label="·É·²¶¯Á¦-BBS" width="100%" height="100%">
</local:IFrame>
</mx:TabNavigator>
</mx:Panel>    
</mx:Application>
2.Iframe.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
    resize="callLater(moveIFrame)"
    move="callLater(moveIFrame)">
         <mx:Script>
    <![CDATA[
        import flash.external.ExternalInterface;
        import flash.geom.Point;
        import flash.net.navigateToURL;
        private var _source: String;
        private function moveIFrame(): void {
            var localPt:Point = new Point(0, 0);
            var globalPt:Point = this.localToGlobal(localPt);
 


Ïà¹ØÎĵµ£º

GridView ¶àÐÐTextBoxÉú³ÉHTML¸ñʽ£¬ÁÐÖÐÓ¢ÎÄ×Ô¶¯»»ÐÐ


    Public Function CHTMLEncode(ByVal fString As String) As String    '=========Êý¾Ý¿â»Ø³µ·ûºÍ¿Õ¸ñ·ûת»»=========
        fString = Replace(fString, Chr(32), "&nbsp;&nbsp;")
        ' fStr ......

ÎÒµÄHTML Tidy ÅäÖÃ

HTML Tidy Configuration Options
ÎÒÃÇÏÖÔÚµÄÍøÕ¾´ó²¿·Ö¶¼ÊÇHTMLµÄ£¬Èç¹ûÏ£Íû½«ËüÃDZê×¼»¯£¬ÊÖ¹¤µÄÒ»Ò³Ò»Ò³Ð޸ķdz£Âé·³¡£Èç¹ûÓÐÒ»¸ö¹¤¾ßÄÜ×Ô¶¯½«HTMLת»»³É·ûºÏ±ê×¼µÄXHTML¾ÍºÃÁË¡£ÆäʵÔÚÕâ·½ÃæÒѾ­ÓÐÐí¶àÉÌÒµºÍÃâ·ÑµÄ¹¤¾ßÈí¼þ¿ÉÒÔʹÓã¬ÕâÀォҪ½éÉܵÄHTML Tidy ¾ÍÊÇÒ»¸öºÜ»ù±¾µ«ºÜÓÐÓõŤ¾ß£¬Ëü¿ÉÒÔÔËÐÐÔÚ¶àÖÖƽ̨ÉÏ£¬ ......

½«htmlÉú³Épdf

1.wkhtmltopdf      http://code.google.com/p/wkhtmltopdf/downloads/list
ÈçlinuÏÂÔØwkhtmltopdf-0.9.6-static-i386.tar.bz2
2.   tar -jxvf wkhtmltopdf-0.9.6-static-i386.tar.bz2 
3¡£ÖØÃüÃû mv  wkhtmltopdf-i386   wkhtmltopdf
4.²âÊÔÉú³Épdf   ./wkhtm ......

Web¿ª·¢ µÚÒ»²¿·Ö HTML½Ì³Ì»ù´¡£¨Ê®Èý£© ±íµ¥

ͨ¹ýÇ°Ãæ½éÉܵÄHTML±êÇ©£¬ÎÒÃÇÒѾ­¿ÉÒÔ³õ²½Íê³ÉÒ»¸ö²»´íµÄÍøÒ³ÁË£¬µ«ÎÒÃÇ×öµÄÍøÒ³¾ÍÏñÒ»·Ý±¨Ö½Ò»Ñù£¬Î¨Ò»±È±¨Ö½ÌØÊâµÄÒ»µã£¬¾ÍÊÇÎÒÃÇ¿ÉÒÔÔÚ²»Í¬µÄÒ³ÃæÖ®¼äͨ¹ý³¬Á´½ÓÌøת£¬µ«¼´±ãÈç´Ë£¬ÎÒÃÇÒÀȻֻÄÜÈñðÈËÔĶÁÍøÒ³£¬¶øÎÞ·¨Í¨¹ýÍøÒ³½øÐн»»¥£»
ÒªÄܹ»Í¨¹ýÍøÒ³½øÐн»»¥£¬Ôò±ØÐë¾ß±¸Á½¸öÇ°ÌáÌõ¼þ£¬ÐÅÏ¢ÊäÈë×é¼þºÍÐÅϢͨÐÅ·½Ê½ ......

html ±íµ¥Ìá½»µÄÁ½ÖÖ·½·¨µÄÇø±ð post get

<form action="#" method="get">ÕâÀïÊÇ±íµ¥µÄÄÚÈÝ</form>
<form action="#" method="post">ÕâÀïÊÇ±íµ¥µÄÄÚÈÝ</form>
ÊôÐÔ"action",ÀïÃæÉèÖõÄÊÇ±íµ¥Ìá½»µÄ·¾¶.Ò»¸ö¶ÔÏó,°×»°ÎĵĽâÊÍ:±íµ¥½»¸øÁËË­.
ÊôÐÔ"method",ÀïÃæÉèÖõÄÊÂ±íµ¥Ìá½»µÄ·½Ê½,Ò»ÖÖ·½·¨,°×»°ÎĽâÊÍ:ÒªÔõÑùÌá½»Õâ¸ö±íµ¥,ÊÇÎÒÖ±½Óà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ