<?php
include ("menu.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>代码编辑器</title>
<link rel="STYLESHEET" type="text/css" href="css.css">
<script language=javascript>
var sInitColor;
function callColorDlg(src){
if(sInitColor == null)
var sColor = dlgHelper.ChooseColorDlg();
else
var sColor = dlgHelper.ChooseColorDlg(sInitColor);
sColor = sColor.toString(16);
if (sColor.length < 6) {
var sTempString = "000000".substring(0,6-sColor.length);
sColor = sTempString.concat(sColor);
}
//document.all[src].style.backgroundColor = '#' + sColor;
clor='#' + sColor;
doFormat(src,clor);
sInitColor = sColor;
}
</script>
<script language="JScript">
document.onmouseover = doOver;
document.onmouseout = doOut;
document.onmousedown = doDown;
document.onmouseup = doUp;
var loaded = 0;
function doOver() {
var toEl = getReal(window.event.toElement, "className", "coolButton");
var fromEl = getReal(window.event.fromElement, "className", "coolButton");
if (toEl == fromEl) return;
var el = toEl;
var cDisabled = el.cDisabled;
cDisabled = (cDisabled != null);
if (el.className == "coolButton")
el.onselectstart = new Function("return false");
if ((el.className == "coolButton") && !cDisabled) {
makeRaised(el);
makeGray(el,false);
}
}
function doOut() {
var toEl = getReal(window.event.toElement, "className", "coolButton");
var fromEl = getReal(window.event.fromElement, "className", "coolButton");
if (toEl == fromEl) return;
var el = fromEl;
var cDisabled = el.cDisabled;
cDisabled = (cDisabled != null);
var cToggle = el.cToggle;
toggle_disabled = (cToggle != null);
if (cToggle && el.value) {
makePressed(el);
makeGray(el,true);
}
else if ((el.className == "coolButton") && !cDisabled) {
makeFlat(el);
makeGray(el,true);
}
}
function doUp() {
el = getReal(window.event.srcElement, "className", "coolButton");
var cDisabled = el.cDisabled;
cDisabled = (cDisabled != null);
if ((el.className == "coolButton") && !cDisabled) {
makeRaised(el);
}
}
function getReal(el, type, value) {
temp = el;
while ((temp != null) && (temp.tagName != "BODY")) {
if (eval("temp." + type) == value) {
el = temp;
return el;
}
temp = temp.parentElement;
}
return el;
}
function findChildren(el, type, value) {
var children = el.children;
var tmp = new Array();
var j=0;
for (var i=0; i<children.length; i++) {
if (eval("children[i]." + type + "==\"" + value + "\"")) {
tmp[tmp.length] = children[i];
}
tmp = tmp.concat(findChildren(children[i], type, value));
}
return tmp;
}
function disable(el) {
if (document.readyState != "complete") {
window.setTimeout("disable(" + el.id + ")", 100);
return;
}
var cDisabled = el.cDisabled;
cDisabled = (cDisabled != null);
if (!cDisabled) {
el.cDisabled = true;
el.innerHTML = '<span style="background: buttonshadow; width: 100%; height: 100%; text-align: center;">' +
'<span style="filter:Mask(Color=buttonface) DropShadow(Color=buttonhighlight, OffX=1, OffY=1, Positive=0); height: 100%; width: 100%%; text-align: center;">' +
el.innerHTML + '</span>' + '</span>';
if (el.onclick != null) {
el.cDisabled_onclick = el.onclick;
el.onclick = null;
}
}
}
function enable(el) {
var cDisabled = el.cDisabled;
cDisabled = (cDisabled != null);
if (cDisabled) {
el.cDisabled = null;
el.innerHTML = el.children[0].children[0].innerHTML;
if (el.cDisabled_onclick != null) {
el.onclick = el.cDisabled_onclick;
el.cDisabled_onclick = null;
}
}
}
function addToggle(el) {
var cDisabled = el.cDisabled;
cDisabled = (cDisabled != null);
var cToggle = el.cToggle;
cToggle = (cToggle != null);
if (!cToggle && !cDisabled) {
el.cToggle = true;
if (el.value == null)
el.value = 0;
if (el.onclick != null)
el.cToggle_onclick = el.onclick;
else
el.cToggle_onclick = "";
el.onclick = new Function("toggle(" + el.id +"); " + el.id + ".cToggle_onclick();");
}
}
function removeToggle(el) {
var cDisabled = el.cDisabled;
cDisabled = (cDisabled != null);
var cToggle = el.cToggle;
cToggle = (cToggle != null);
if (cToggle && !cDisabled) {
el.cToggle = null;
if (el.value) {
toggle(el);
}
makeFlat(el);
if (el.cToggle_onclick != null) {
el.onclick = el.cToggle_onclick;
el.cToggle_onclick = null;
}
}
}
function toggle(el) {
el.value = !el.value;
if (el.value)
el.style.background = "URL(/images/tileback.gif)";
else
el.style.backgroundImage = "";
}
function makeFlat(el) {
with (el.style) {
background = "";
border = "1px solid buttonface";
if ((el.id != "more") && (el.id != "fore"))
padding = "1px";
}
}
function makeRaised(el) {
with (el.style) {
borderLeft = "1px solid buttonhighlight";
borderRight = "1px solid buttonshadow";
borderTop = "1px solid buttonhighlight";
borderBottom = "1px solid buttonshadow";
if ((el.id != "more") && (el.id != "fore"))
padding = "1px";
}
}
function makePressed(el) {
with (el.style) {
borderLeft = "1px solid buttonshadow";
borderRight = "1px solid buttonhighlight";
borderTop = "1px solid buttonshadow";
borderBottom = "1px solid buttonhighlight";
if ((el.id != "more") && (el.id != "fore")){
paddingTop = "2px";
paddingLeft = "2px";
paddingBottom = "0px";
paddingRight = "0px";
}
}
}
function makeGray(el,b) {
}
document.write("<style>");
document.write(".coolBar {background: buttonface;border-top: 1px solid buttonhighlight; border-left: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow; border-right: 1px solid buttonshadow; padding: 2px; font: menu;}");
document.write(".coolButton {border: 1px solid buttonface; padding: 1px; text-align: center; cursor: default;}");
document.write("</style>");
var activeCSS = "border: 1 solid buttonface; color: windowtext; cursor: text;";
var inactiveCSS = "border: 1 solid window; cursor: hand; color: red;";
var validTextColor = "windowtext";
var invalidTextColor = "buttonshadow";
// 调用格式命令
function doFormat(what) {
var eb = document.all.editbar;
eb._editor.execCommand(what, arguments[1]);
}
function Format1(what,opt,which) {
var eb = document.all.editbar;
eb._editor.addpic(what,opt,which);
}
function doMark(str,tiaojian) {
document.all.editbar._editor.specialtype(str,tiaojian);
}
function MTable() {
document.all.editbar._editor.ModifyTable();
}
function MCell() {
document.all.editbar._editor.ModifyCell();
}
//表格修改功能
function insrowabove(){
document.all.editbar._editor.insrowabove();
}
function insrowbelow(){
document.all.editbar._editor.insrowbelow();
}
function deleterow(){
document.all.editbar._editor.deleterow();
}
function deletecol(){
document.all.editbar._editor.deletecol();
}
function inscolafter(){
document.all.editbar._editor.inscolafter();
}
function inscolbefore(){
document.all.editbar._editor.inscolbefore();
}
function sNewImg(){
document.all.editbar._editor.sNewImg();
}
function sImgProps(){
document.all.editbar._editor.sImgProps();
}
// 007
function sFlashProps(){
document.all.editbar._editor.sFlashProps();
}
function findreplace() {
document.all.editbar._editor.findreplace();
}
//
function doGuide() {
document.all.editbar._editor.sBorders();
}
function doSelectClick(str, el) {
var Index = el.selectedIndex;
if (Index != 0){
el.selectedIndex = 0;
if (el.id == "specialtype")
document.all.editbar._editor.specialtype(el.options[Index].value);
else
doFormat(str,el.options[Index].value);
}
}
function doDown() {
if (window.event.button == 1 && (Layer1.style.visibility == "visible" || Layer2
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论
收起资源包目录
网博士智能建站系统 v5.3_mediweb_电子商务网站开发模板(使用说明+源代码+html).zip (2000个子文件)
commonstyle.css 4KB
commonstyle.css 4KB
style.css 2KB
style.css 807B
style.css 807B
dtree.css 660B
Thumbs.db 455KB
Thumbs.db 134KB
admin_1.gif 22KB
admin_1.gif 22KB
welcome3.gif 22KB
welcome3.gif 22KB
welcome.gif 20KB
welcome.gif 20KB
top.gif 15KB
top5.gif 13KB
top_5.gif 12KB
welcome2.gif 11KB
welcome2.gif 11KB
top_5.gif 11KB
top_1.gif 11KB
intro.gif 10KB
jieshao.gif 10KB
anzhuang.gif 10KB
welcome5.gif 10KB
welcome5.gif 10KB
pop15.gif 9KB
1149951615.gif 9KB
md40.gif 9KB
pop11.gif 9KB
md48.gif 9KB
pop5.gif 8KB
progressbar.gif 8KB
ecall_4.gif 8KB
admintop.gif 8KB
welcome7.gif 8KB
welcome7.gif 8KB
md47.gif 8KB
ecall_6.gif 8KB
md6.gif 8KB
md8.gif 8KB
md5.gif 8KB
md30.gif 8KB
md1.gif 8KB
top_1.gif 8KB
md12.gif 8KB
md7.gif 7KB
md42.gif 7KB
md37.gif 7KB
pop7.gif 7KB
md46.gif 7KB
t3.gif 7KB
pop13.gif 7KB
welcome4.gif 7KB
welcome4.gif 7KB
md49.gif 7KB
t1.gif 7KB
md51.gif 7KB
md3.gif 7KB
xd1.gif 7KB
md33.gif 7KB
3.gif 7KB
md26.gif 7KB
md28.gif 6KB
md25.gif 6KB
md52.gif 6KB
md41.gif 6KB
ecall_2.gif 6KB
md35.gif 6KB
md20.gif 6KB
md18.gif 6KB
md32.gif 6KB
md13.gif 6KB
md45.gif 6KB
md19.gif 6KB
md43.gif 6KB
md11.gif 6KB
md4.gif 6KB
md17.gif 6KB
md10.gif 6KB
pop14.gif 6KB
md14.gif 6KB
md44.gif 6KB
md38.gif 6KB
md29.gif 6KB
md54.gif 6KB
ok.gif 6KB
top6.gif 6KB
md27.gif 6KB
md53.gif 6KB
md9.gif 6KB
md31.gif 6KB
md50.gif 5KB
md22.gif 5KB
md23.gif 5KB
md34.gif 5KB
md2.gif 5KB
md36.gif 5KB
md15.gif 5KB
md24.gif 5KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
CrMylive.
- 粉丝: 1w+
- 资源: 4万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功