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

¹ØÓÚÔÚhtmlÒ³ÃæÖд´½¨fckeditor

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Îı¾±à¼­Æ÷</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="robots" content="noindex, nofollow" />
 <link href="/sample.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="fckeditor/fckeditor.js" ></script>
<script type="text/javascript">
              <!--
                    // Automatically calculates the editor base path based on the _samples directory.
                    // This is usefull only for these samples. A real application should use something like this:
                    // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
//                    var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('fckeditor.html')) ;
//                   
//                    alert(sBasePath);
                    var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
       


Ïà¹ØÎĵµ£º

HTMLѧϰ1

<p>: ¸ñʽ»¯¶ÎÂä; <h1>,<h6> ±êÌâ; <blockquote>-- ÒýÓõÄÎı¾;  <pre>--Ô¤Ïȸñʽ»¯ºÃµÄÎı¾;±£ÁôÔ­Óеĸñʽ.
<ol><dl><ul>:˳ÐòÁÐ±í£¬¶¨ÒåÁбí,ÎÞ±êºÅÁбí. <li>ÓÃÒÔÏÔʾµ¥¸öµÄÔªËØ; <dl><dt><dd></dd></dt><dl>
< ......

HTMLѧϰ1

<p>: ¸ñʽ»¯¶ÎÂä; <h1>,<h6> ±êÌâ; <blockquote>-- ÒýÓõÄÎı¾;  <pre>--Ô¤Ïȸñʽ»¯ºÃµÄÎı¾;±£ÁôÔ­Óеĸñʽ.
<ol><dl><ul>:˳ÐòÁÐ±í£¬¶¨ÒåÁбí,ÎÞ±êºÅÁбí. <li>ÓÃÒÔÏÔʾµ¥¸öµÄÔªËØ; <dl><dt><dd></dd></dt><dl>
< ......

[תÌû]htmlÖÐidºÍnameÊôÐÔµÄÇø±ð


µ½µ×ÔªËØµÄidºÍnameÓÐÊ²Ã´Çø±ð°¢£¿ÎªÊ²Ã´ÓÐÁËid»¹ÒªÓÐnameÄØ?!
idµÄÖ÷ÒªÓÃ;:
ÔÚ¿Í»§¶ËÒ³Ãæ×÷Ϊ¶ÔÏóµÄΨһ±íʾ,ͬһ¸öÒ³ÃæÖв»ÔÊÐí³öÏÖ¶à¸öÏàͬµÄid.¿ÉÒÔʹÓÃjavascriptµÄdocument.getElementById('id')À´»ñÈ¡¶ÔÏó.
nameµÄ¾ßÌåÓÃ;ÓУº
ÓÃ;1:
×÷Ϊ¿ÉÓë·þÎñÆ÷½»»¥Êý¾ÝµÄHTMLÔªËØµÄ·þÎñÆ÷¶ËµÄ±êʾ£¬±ÈÈçinput¡¢sele ......

³£ÓÃÕýÔò±í´ïʽ´óÈ«£¡£¨ÀýÈ磺ƥÅäÖÐÎÄ¡¢Æ¥Åähtml£©

³£ÓÃÕýÔò±í´ïʽ´óÈ«£¡£¨ÀýÈ磺ƥÅäÖÐÎÄ¡¢Æ¥Åähtml£©
 Æ¥ÅäÖÐÎÄ×Ö·ûµÄÕýÔò±í´ïʽ£º [u4e00-u9fa5]  
¡¡¡¡ÆÀ×¢£ºÆ¥ÅäÖÐÎÄ»¹ÕæÊǸöÍ·ÌÛµÄÊ£¬ÓÐÁËÕâ¸ö±í´ïʽ¾ÍºÃ°ìÁË
¡¡¡¡Æ¥ÅäË«×Ö½Ú×Ö·û(°üÀ¨ºº×ÖÔÚÄÚ)£º[^x00-xff]
¡¡¡¡ÆÀ×¢£º¿ÉÒÔÓÃÀ´¼ÆËã×Ö·û´®µÄ³¤¶È£¨Ò»¸öË«×Ö½Ú×Ö·û³¤¶È¼Æ2£¬ASCII×Ö·û¼Æ1£©
¡¡¡¡Æ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ