¹ØÓÚÔÚ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' ) ;
Ïà¹ØÎĵµ£º
µ±ÊäÈë ¡·Ê±×Ô¶¯²¹È« µ±ÊäÈ롶/ʱ×Ô¶¯²¹È«
“£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½
" File: closetag.vim
" Summary: Functions and mappings to close open HTML/XML tags
" Uses: <C-_> -- close matching open tag
" Author: Steven Mueller <di ......
<p>: ¸ñʽ»¯¶ÎÂä; <h1>,<h6> ±êÌâ; <blockquote>-- ÒýÓõÄÎı¾; <pre>--Ô¤Ïȸñʽ»¯ºÃµÄÎı¾;±£ÁôÔÓеĸñʽ.
<ol><dl><ul>:˳ÐòÁÐ±í£¬¶¨ÒåÁбí,ÎÞ±êºÅÁбí. <li>ÓÃÒÔÏÔʾµ¥¸öµÄÔªËØ; <dl><dt><dd></dd></dt><dl>
< ......
µ½µ×ÔªËصÄidºÍnameÓÐʲôÇø±ð°¢£¿ÎªÊ²Ã´ÓÐÁËid»¹ÒªÓÐnameÄØ?!
idµÄÖ÷ÒªÓÃ;:
ÔÚ¿Í»§¶ËÒ³Ãæ×÷Ϊ¶ÔÏóµÄΨһ±íʾ,ͬһ¸öÒ³ÃæÖв»ÔÊÐí³öÏÖ¶à¸öÏàͬµÄid.¿ÉÒÔʹÓÃjavascriptµÄdocument.getElementById('id')À´»ñÈ¡¶ÔÏó.
nameµÄ¾ßÌåÓÃ;ÓУº
ÓÃ;1:
×÷Ϊ¿ÉÓë·þÎñÆ÷½»»¥Êý¾ÝµÄHTMLÔªËصķþÎñÆ÷¶ËµÄ±êʾ£¬±ÈÈçinput¡¢sele ......
À´Ô´£ºÍøÂç
headerÎļþ¸ñʽÀࣺ
'gif' => 'image/gif',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'bmp' => 'image/bmp',
'png' => 'image/png',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'pict' => 'image/x-pict',
'pic' => 'i ......
Èç¹ûAJAX¼ÓÔصÄÊý¾ÝÊÇÒ»¸öHTMLƬ¶Î£¬¶øÇÒÕâ¸öHTMLƬ¶Î»¹°üº¬½Å±¾<script>¿é£¬ÄÇôÔÚÄã°ÑÕâÊý¾ÝxmlHttp.responseTextÓÃinnerHTML·½·¨²åÈëµ½µ±Ç°ÎĵµÒ»¸öÔªËØÖУ¬Äã»á·¢ÏÖAJAX¼ÓÔØ»ØÀ´µÄ½Å±¾¸ù±¾Ã»ÓÐÖ´ÐС£ÕâÊÇAJAX¿ª·¢Öкܳ£¼ûµÄÎÊÌ⣬Èç¹ûÄã²»ÊÇÒ»Ö±ÔÚÓÃJavaScript¿ò¼Ü×ö¿ª·¢£¬ÏàÐÅÄãÔç¾Í·¢ÏÖÕâ¸öÎÊÌâÁË¡£±¾ÎÄ·ÖÎöÁËÁ ......