中国校友会网  中国校友
注册 登录 
排行 论坛 
 
           心情日 | 原创作 | 珍藏佳 | 校园文 | 联合征 | 文集推荐 | 作品精 | 我的作品 | 原创论坛
校友路
作品类别:原创作品  作者:loveni  发表时间:2003-01-04 10:43:43.0  
<html>
<head>
<meta http-equiv=“Content-Type“ content=“text/html; charset=gb2312“>
<link REL=“stylesheet“ TYPE=“text/css“ HREF=“http://images.chinaren.com/product/alumni/htmledit/Html_Editor.css“>
<script language=“javascript“>
var targetDoc;
public_description = new editor;

function editor()
{
this.get_contents = GetContents;
/*
this.get_oritext = GetOritext;
this.get_plaincontents = GetPlainContents;
this.get_allplaincontents = GetAllPlainContents;
*/
this.put_contents = PutContents;
}

var currentHTML=““; // 编辑iframe 里的HTML 代码
function Window_OnLoad() {
var MenuItems = new Array(12);
MenuItems[0] = “剪切“;
MenuItems[1] = “DoCut“;
MenuItems[2] = “复制“;
MenuItems[3] = “DoCopy“;
MenuItems[4] = “粘贴“;
MenuItems[5] = “DoPaste“;
MenuItems[6] = “全选“;
MenuItems[7] = “DoSelectAll“;
window.external.setContextMenu(MenuItems);
}

function DoCut() {
target.document.execCommand(“Cut“, false, null);
target.focus();
}

function DoCopy() {
target.document.execCommand(“Copy“, false, null);
}

function DoPaste() {
target.document.execCommand(“Paste“, false, null);
}

function DoSelectAll() {
target.document.execCommand(“SelectAll“, false, null);
}

function GetContents() {
if (target.document.all[“cdiv“]!=null) return target.document.all[“cdiv“].innerHTML;
else return target.document.body.innerHTML;
}

/*
function GetOritext(){
if (target.document.all[“ori“]!=null) return target.document.all[“ori“].innerText;
else return null;
}

function GetPlainContents()
{
if (target.document.all[“cdiv“]!=null) return target.document.all[“cdiv“].innerText;
else return target.document.body.innerText;
}

function GetAllPlainContents()
{
return target.document.body.innerText;
}
*/

function PutContents(contents)
{
targetDoc.designMode = “On“;
if (target.document.all[“cdiv“]!=null){
target.document.all[“cdiv“].innerHTML = contents;
}else{
target.document.body.innerHTML = contents;
}
}

function cleanHtml() {
var fonts = target.document.body.all.tags(“FONT“);
var curr;
for (var i = fonts.length - 1; i >= 0; i--) {
curr = fonts[i];
if (curr.style.backgroundColor == “#ffffff“) curr.outerHTML = curr.innerHTML;
}
}

function setMode(newMode) {
bTextMode = newMode;
var cont;
if (bTextMode) {
cleanHtml();
cleanHtml();

cont=target.document.body.innerHTML;
target.document.body.innerText=cont;
} else {
cont=target.document.body.innerText;
target.document.body.innerHTML=cont;
}
target.focus();
}

function onBlank()
{
if(targetDoc.body.innerHTML!=“<PRE></PRE>“){
if(confirm(“你确认清除当前编辑内容吗?“)){
PutContents(top.text)
}
}
}
function onSave()
{
top.HTML = targetDoc.body.innerHTML;
alert(top.HTML);
}

function onFontName(value)
{
targetDoc.execCommand(''FontName'', '''', value);
target.focus();
}

function onFontSize(value)
{
targetDoc.execCommand(''FontSize'', '''', value);
target.focus();
}

function onColor(value)
{
targetDoc.execCommand(''forecolor'','''',value);
target.focus();
}

function onBKColor(value)
{
targetDoc.execCommand(''backcolor'','''',value);
target.focus();
}

function onBold()
{
targetDoc.execCommand(''Bold'');
target.focus();
}

function onItalic()
{
targetDoc.execCommand(''Italic'');
target.focus();
}

function onUnderLine()
{
targetDoc.execCommand(''Underline'');
target.focus();
}

function onALeft()
{
targetDoc.execCommand(''JustifyLeft'');
target.focus();
}

function onACenter()
{
targetDoc.execCommand(''JustifyCenter'');
target.focus();
}

function onARight()
{
targetDoc.execCommand(''JustifyRight'');
target.focus();
}

function onNList()
{
targetDoc.execCommand(''InsertOrderedList'');
target.focus();
}

function onBList()
{
targetDoc.execCommand(''InsertUnorderedList'');
target.focus();
}

function onOutDent()
{
targetDoc.execCommand(''Outdent'');
target.focus();
}

function onInDent()
{
targetDoc.execCommand(''Indent'');
target.focus();
}

function getElem(sTag,start)
{
while ((start != null) && (start.tagName != sTag)) start = start.parentElement;
return start;
}

function onHyperLink()
{
if(targetDoc.selection.type==“Control“){
return;
};
target.focus();
var DoA = getElem(“A“,targetDoc.selection.createRange().parentElement());
var str = prompt(“请输入超链接地址(例如http://www.sohu.com):“, DoA ? DoA.href : “http:\/\/“);

if ((str != null) && (str != “http://“))
{
if (targetDoc.selection.type == “None“)
{
var sel = targetDoc.selection.createRange();
sel.pasteHTML(“<A HREF=\““+str+“\“>“+str+“</A> “);
sel.select();
}
else
{
targetDoc.execCommand(''CreateLink'','''',str);
}
}
else target.focus();
}

function onImage()
{
if(targetDoc.selection.type==“Control“){
return;
};
target.focus();
var DoA = getElem(“A“,targetDoc.selection.createRange().parentElement());
var str = prompt(“输入图片的超链接(例如http://images.sohu.com/soh1.gif):“,DoA ? DoA.href : “http:\/\/“);

if ((str != null) && (str != “http://“))
{
if (targetDoc.selection.type == “None“)
{
var sel = targetDoc.selection.createRange();
sel.pasteHTML(“<img src=\““+str+“\“>“);
sel.select();
}
else
{
targetDoc.execCommand(''InsertImage'','''',str);
}
}
else target.focus();
}

function onEmotion(str)
{
if(targetDoc.selection.type==“Control“){
return;
};
if ((str != null))
{
target.focus();
if (targetDoc.selection.type == “None“)
{
var sel = targetDoc.selection.createRange();
sel.pasteHTML(str);
sel.select();
}
else
{
var sel = targetDoc.selection.createRange();
sel.pasteHTML(str);
}
}
else target.focus();
}
</script>

</head>
<body onload=“Window_OnLoad()“>
<div class=“BAR“ ID=“FormatToolbar1“ style=“display:“>
<select ID=“FontName“ class=“GEN“ style=“WIDTH: 110px“ TITLE =“字体“ LANGUAGE=“javascript“
onchange=“onFontName(this[this.selectedIndex].value);“>
<option value=““ selected>字体</option>
<option value=“宋体“>宋体</option>
<option value=“黑体“>黑体</option>
<option value=“楷体_GB2312“>楷体</option>
<option value=“仿宋_GB2312“>仿宋</option>
<option value=“MS Song“>MS宋体</option>
<option value=“MS Hei“>MS黑体</option>
<option value=“MingLiU“>MingLiU</option>
<option value=“Arial“>Arial</option>
<option value=“Arial Black“>Arial Black</option>
<option value=“Arial Narrow“>Arial Narrow</option>
<option value=“Bradley Hand ITC“>Bradley Hand ITC</option>
<option value=“Brush Script MT“>Brush Script MT</option>
<option value=“Century Gothic“>Century Gothic</option>
<option value=“Comic Sans MS“>Comic Sans MS</option>
<option value=“Courier“>Courier</option>
<option value=“Courier New“>Courier New</option>
<option value=“MS Sans Serif“>MS Sans Serif</option>
<option value=“Script“>Script</option>
<option value=“System“>System</option>
<option value=“Times New Roman“>Times New Roman</option>
<option value=“Viner Hand ITC“>Viner Hand ITC</option>
<option value=“Verdana“>Verdana</option>
<option value=“Wide Latin“>Wide Latin</option>
<option value=“Wingdings“>Wingdings</option>
</select>
<select ID=“FontSize“ class=“GEN“ TITLE =“字号“ LANGUAGE=“javascript“
onchange=“onFontSize(this[this.selectedIndex].value);“>
<option value=““ selected>字号</option>
<option value=“1“>1</option>
<option value=“2“>2</option>
<option value=“3“>3</option>
<option value=“4“>4</option>
<option value=“5“>5</option>
<option value=“6“>6</option>
<option value=“7“>7</option>
</select>
</div>
<div class=“BAR“ ID=“FormatToolbar2“>
<div class=“SEP“></div>
<div class=“BTN“ ID=“BTN_CUT“ TITLE=“剪切“ LANGUAGE=“javascript“ onclick=“return DoCut()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/buttonCut.gif“ width=22>
</div>

<div class=“BTN“ ID=“BTN_COPY“ TITLE=“拷贝“ LANGUAGE=“javascript“ onclick=“return DoCopy()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/buttonCopy.gif“ width=22>
</div>

<div class=“BTN“ ID=“BTN_PASTE“ TITLE=“粘贴“ LANGUAGE=“javascript“ onclick=“return DoPaste()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/buttonPaste.gif“ width=22>
</div>
</div>
<div class=“BAR“ ID=“FormatToolbar3“>
<div class=“SEP“></div>
<div class=“BTN“ ID=“BTN_BOLD“ TITLE=“粗体“ LANGUAGE=“javascript“ onclick=“return onBold()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/bold.gif“ width=22>
</div>
<div class=“BTN“ ID=“BTN_ITALIC“ TITLE=“斜体“ LANGUAGE=“javascript“ onclick=“return onItalic()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/italic.gif“ width=22>
</div>
<div class=“BTN“ ID=“BTN_UNDERLINE“ TITLE=“下划线“ LANGUAGE=“javascript“ onclick=“return onUnderLine()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/under.gif“ width=22>
</div>

<div class=“BTN“ ID=“BTN_FONTCOLOR“ TITLE=“选择字体颜色“ LANGUAGE=“javascript“ >
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/buttonFontColor.gif“ width=22
onDragstart=“return(false)“
onDragend=“return(false)“
onDrag=“return(false)“
onClick=“fnCallDialog(''onColor'')“

</div>

<div class=“BTN“ ID=“BTN_BG“ TITLE=“选择背影颜色“ LANGUAGE=“javascript“
onClick=“fnCallDialog(''onBKColor'')“

<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/buttonBG.gif“ width=22 >
</div>
</div>

<div class=“BAR“ ID=“FormatToolbar4“>
<div class=“SEP“></div>
<div class=“BTN“ ID=“BTN_ALEFT“ TITLE=“左对齐“ NAME=“Justify“ LANGUAGE=“javascript“ onclick=“return onALeft()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/aleft.gif“ width=22>
</div>
<div class=“BTN“ ID=“BTN_ACENTER“ TITLE=“居中“ NAME=“Justify“ LANGUAGE=“javascript“ onclick=“return onACenter()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/center.gif“ width=22>
</div>
<div class=“BTN“ ID=“BTN_ARIGHT“ TITLE=“右对齐“ NAME=“Justify“ LANGUAGE=“javascript“ onclick=“return onARight()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/aright.gif“ width=22>
</div>

<div class=“SEP“></div>

<div class=“BTN“ ID=“BTN_NLIST“ TITLE=“数字编号“ LANGUAGE=“javascript“ onclick=“return onNList()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/nlist.gif“ width=22>
</div>

<div class=“BTN“ ID=“BTN_BLIST“ TITLE=“项目符号“ LANGUAGE=“javascript“ onclick=“return onBList()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/blist.gif“ width=22>
</div>

<div class=“BTN“ ID=“BTN_OUTDENT“ TITLE=“减小缩进“ LANGUAGE=“javascript“ onclick=“return onOutDent()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/ileft.gif“ width=22>
</div>
<div class=“BTN“ ID=“BTN_INDENT“ TITLE=“增加缩进“ LANGUAGE=“javascript“ onclick=“return onInDent()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/iright.gif“ width=22>
</div>
</div>
<div class=“BAR“ ID=“FormatToolbar5“>
<div class=“SEP“></div>

<div class=“BTN“ ID=“BTN_HYPERLINK“ TITLE=“插入超级链接“ LANGUAGE=“javascript“ onclick=“return onHyperLink()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/wlink.gif“ width=22>
</div>

<div class=“BTN“ ID=“BTN_IMAGE“ TITLE=“插入图片“ LANGUAGE=“javascript“ onclick=“return onImage()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/img.gif“ width=22>
</div>
<div class=“BTN“ ID=“BTN_EMOTION“ TITLE=“插入表情“ LANGUAGE=“javascript“ onclick=“return ShowEmotion()“>
<IMG class=ICO height=22 src=“http://images.chinaren.com/product/alumni/htmledit/images/buttonFace.gif“ width=22>
</div>
</div>
<div ID=“tbContentElement“ class=“tbContentElement“ style=“display:“>
<iframe id=target name=target scrolling=“yes“ marginwidth=1 style=“HEIGHT: 100%; WIDTH: 100%“>
</iframe>
</div>

<script LANGUAGE=“Javascript“ SRC=“http://images.chinaren.com/product/alumni/htmledit/Html_Editor.js“>
</script>
<script>
var targetDoc = document.frames.target.document;
targetDoc.designMode = “On“;
//target.focus();
var oFunName = ““;
var bDialogStatus = false;
function fnCallDialog(val)
{
oFunName = val;
showModelessDialog(“colorchange.html“,window,“status:false;dialogLeft:“+event.screenX+“;dialogTop:“+event.screenY+“;dialogWidth:130px;dialogHeight:150px;edge:raised;help:off;status:off;scroll:off“);
}

var emotion=““;
function ShowEmotion(){
showModelessDialog(“emotion.html“,window,“status:false;dialogLeft:“+event.screenX+“;dialogTop:“+event.screenY+“;dialogWidth:210px;dialogHeight:210px;edge:raised;help:off;status:off;scroll:off“);
}

function ShowTable(){
showModelessDialog(“table.html“,window,“status:false;dialogLeft:“+event.screenX+“;dialogTop:“+event.screenY+“;dialogWidth:340px;dialogHeight:220px;edge:raised;help:off;status:off;scroll:off“);
}

function addMonitor(){
targetDoc.async = false;
if(targetDoc.readyState!=“complete“){
window.setTimeout(“addMonitor()“,200);
}else{
targetDoc.attachEvent(''oncontrolselect'',doFocusObj);
}
}
function doFocusObj(){}
addMonitor();

function switchDesignMode(){
if(targetDoc.designMode == “On“){
currentHTML = targetDoc.body.innerHTML;
targetDoc.designMode = “Off“;
targetDoc.attachEvent(“onreadystatechange“,onTargetDocStateChange);
}else{
targetDoc.designMode = “On“;
targetDoc.attachEvent(“onreadystatechange“,onTargetDocStateChange);
}
}
function onTargetDocStateChange(){
if (targetDoc.readyState!=“complete“) return ;
targetDoc.body.innerHTML = currentHTML;
}
</script>
</body>
</html>
中国校友会(www.cuaa.net) 



历史回顾:
 2008年
· 2008年1月2日,中国校友会网大学评价课题组正式发布《2008中国大学评价研究报告》,这是中国校友会网、《大学》杂志和21世纪人才报连续第6年发布中国大学排行榜。北京大学超越清华大学荣登“2008中国大学排行榜”榜首,清华大学下降至第2名;复旦大学和浙江大学仍列第3和第4名;与2007年相同,南京大学列第5名,上海交通大学列第6名,武汉大学列第7名;吉林大学上升至第8名,中国人民大学和四川大学进入前十名,分列第9和第10名,其中四川大学是首次进入前十强。同时发布:高校国家重大自然科学奖排行榜、高校Nature&Science论文排行榜、高校国家重大技术发明奖排行榜、高校国家重大科技进步奖排行榜 高校中国专利奖金奖排行榜、高校社会科学贡献力排行榜、2007中国高校杰出社会科学家校友榜、2008中国最受媒体关注大学排行榜 ;编制单位:中国校友会网、《大学》杂志、21世纪人才报;编写:中国校友会网大学评价课题组;执笔:赵德国、蔡言厚、冯用军、王凌峰和刘明等
 2007年
·2007年8月: 2007年12月24日,“中国校友会网大学评价课题组”发布《2007中国杰出社会科学家研究报告》正式揭晓,报告公布了“2007(首届)中国杰出社会科学家”入选名单,来自全国高校和科研院所的505名学者入选。报告公布的入选学者工作单位、研究领域和毕业院校等统计结果显示,中国社会科学院入选“杰出社会科学家”的学者人数最多,位居全国首位;北京大学教师和校友入选“杰出社会科学家”的人数最多位居全国高校首位,中国人民大学和复旦大学紧随其后,位居高校第二和第三名;法学学科“杰出社会科学家”人数最多,教育学学科最少。 ;编制单位:中国校友会网、《大学》杂志、21世纪人才报;编写:中国校友会网大学评价课题组;执笔:赵德国、蔡言厚、冯用军、王凌峰和刘明等
·2007年8月: 2007年8月6日,我国首个针对高考状元职业状况的调查报告--《中国高考状元职业状况调查报告》出炉,报告由“中国校友会网大学评价课题组”历时6个月时间通过对1977-1998年我国各省市自治区高考状元的职业状况的调查与研究得出的。调查显示,高考状元大学期间学习能力突出,考研深造和出国留学成为毕业首选;高考状元职业发展并不理想,职业成就平平远低社会预期;状元仅是“考场状元”,尚未成为“职场状元”。 ;编制单位:中国校友会网、《大学》杂志、21世纪人才报;编写:中国校友会网大学评价课题组;执笔:赵德国、蔡言厚、冯用军、王凌峰和刘明等
·2007年5月:发布《2007中国民办高校评价研究报告》,发布2007中国最受媒体关注民办大学排行榜,中国最受媒体关注独立学院排行榜,中国独立学院学费排行榜,中国民办大学学费排行榜,2007中国民办高校评价研究报告,同时 推出2007中国独立学院排行榜和2007中国民办大学排行榜 (中国民办高校排行榜),其中江西蓝天学院位居2007中国民办大学排行榜榜首,西安外事学院和湖南涉外经济学院分列第二和第三;华中科技大学武昌分校、浙江大学城市学院和浙江大学宁波理工学院名列2007中国独立学院排行榜前三名;编制单位:中国校友会网、《大学》杂志、21世纪人才报;编写:中国校友会网大学评价课题组;执笔:赵德国、蔡言厚、王留拴、冯用军、王凌峰、黄天彦、黄新勇和刘明等
·2007年5月:发布《1999-2006中国高考状元调查报告》,发布中国最受高考状元青睐大学排行榜、中国最受高考状元青睐专业排行榜、中国最受高考状元青睐院系排行榜、中国中学高考状元排行榜,将推出2007中国民办高校评价研究报告,同时将推出2007中国独立学院排行榜和2007中国民办大学排行榜(中国民办高校排行榜);编制单位:中国校友会网、《大学》杂志和21世纪人才报;编写:中国校友会网大学评价课题组;执笔:赵德国、蔡言厚、冯用军、黄天彦和刘明等
·2007年1月04日:发布2007中国大学排行榜、2007中国高校科学贡献力排行榜、2007中国高校杰出校友榜和2007中国最受媒体关注大学排行榜,并公布《2007中国大学评价研究报告》,同时开展中国杰出社会科学家遴选工作,将推出2007中国民办高校评价研究报告,同时将推出2007中国独立学院排行榜和2007中国民办大学排行榜(中国民办高校排行榜);编制单位:中国校友会网、《大学》杂志和21世纪人才报;编写:中国校友会网大学评价课题组;执笔:赵德国、蔡言厚、冯用军和刘明等
 2006年
·2006年6月27日:发布2006中国独立学院排行榜;编制单位:中国校友会网、21世纪人才报·大学周刊;编写:中国校友会网大学评价委员会;
·2006年5月19日:发布2006中国民办大学排行榜,并公布《2006中国民办大学评价报告》;编制单位:中国校友会网、21世纪人才报·大学周刊;编写:中国校友会网大学评价委员会;执笔:赵德国、王留栓、冯用军和刘明等
·2006年1月05日:发布2006中国大学排行榜和中国高校杰出校友榜,并公布《中国高校杰出人才培养状况调查报告》;编制单位:中国校友会网、21世纪人才报·大学周刊;编写:中国校友会网大学评价委员会;执笔:赵德国、蔡言厚、冯用军和刘明等
 2005年
·2005年6月10日:发布2005中国民办大学排行榜;编制单位:中国校友会网、21世纪人才报·大学周刊
·2005年4月:发布2005中国高校富豪校友榜和中国高校院士校友榜;
·2005年3月29日:发布2005中国大学排行榜;编制单位:中国校友会网、21世纪人才报·大学周刊、TOM教育
 2004年
·2004年4月10日:发布2004中国大学排行榜;编制单位:中国校友会网
 2003年
·2003年10月:发布2003中国大学排行榜;编制单位:中国校友会网
 2003年
·2003年10月:发布2003中国大学排行榜;编制单位:中国校友会网
 2001年
·2001年11月:中国校友会网正式上线运行!
合作媒体:  新浪教育  腾讯教育  ;搜狐教育  网易教育  博客网  中华网  TOM教育  慧聪教育  北方网  课堂内外社  超级考生网
           《21世纪人才报》  《大学》杂志  《中国民营经济周刊》  新课堂网   搜学网   新浪博客   历年大学排行榜   更多...
推荐网站:  天涯社区  中国校庆网  爱国者俱乐部  敬业人才网   宁波交友网   中国同乡会   商务基地网   自助游社区  更多...