📄 第五章 工作流图形定义工具(九)-- 递归算法的使用_宪华_新浪博客.mht
字号:
.mar5 {
MARGIN-RIGHT: 5px
}
.imBoxBg .conn .title IMG {
BORDER-RIGHT: #dcdcdc 1px solid; BORDER-TOP: #dcdcdc 1px solid; =
VERTICAL-ALIGN: -10px; BORDER-LEFT: #dcdcdc 1px solid; WIDTH: 30px; =
BORDER-BOTTOM: #dcdcdc 1px solid; HEIGHT: 30px
}
.imBoxBg .conn .title A {
FONT-WEIGHT: bold
}
.imBoxBg .connBox {
MARGIN-TOP: 8px; OVERFLOW: hidden; WORD-BREAK: break-all; LINE-HEIGHT: =
20px; HEIGHT: 82px; WORD-WRAP: break-word
}
.imbottom {
RIGHT: 0px; LEFT: 10px; WIDTH: 235px; BOTTOM: 20px; LINE-HEIGHT: 20px; =
POSITION: absolute
}
.imbottom IMG {
VERTICAL-ALIGN: -3px
}
.imbottom SPAN {
FLOAT: right; LINE-HEIGHT: 20px; MARGIN-RIGHT: 12px; _vertical-align: =
3px
}
.imbottom SPAN A {
TEXT-DECORATION: none
}
.imbottom SPAN A:hover {
TEXT-DECORATION: none
}
.imbottom SPAN A:hover EM {
FONT-STYLE: normal; TEXT-DECORATION: underline
}
.imbottom EM {
FONT-STYLE: normal
}
.im2Bg {
BACKGROUND: url(../images/im/box_bg4.png); WIDTH: 246px; HEIGHT: 32px
}
.im2 {
FONT-SIZE: 12px; BACKGROUND: url(../images/im/imbg_03.gif) no-repeat; =
WIDTH: 244px; LINE-HEIGHT: 30px; PADDING-TOP: 2px; FONT-FAMILY: =
"=CB=CE=CC=E5"; POSITION: relative; HEIGHT: 28px
}
.im2 A {
COLOR: #43609c; TEXT-DECORATION: none
}
.im2 A:hover {
COLOR: #cc0000; TEXT-DECORATION: underline
}
.im2_bg2 {
BACKGROUND: url(../images/im/imbg_05.gif) no-repeat; MARGIN-LEFT: 2px; =
WIDTH: 240px; HEIGHT: 26px
}
.im2 IMG {
MARGIN-LEFT: 15px; VERTICAL-ALIGN: -5px; _vertical-align: -10px
}
.im2 A STRONG {
_vertical-align: -5px
}
.im2 SPAN {
FLOAT: right; LINE-HEIGHT: 30px; MARGIN-RIGHT: 12px; _vertical-align: =
3px
}
.im2 SPAN A {
TEXT-DECORATION: none
}
.im2 SPAN A:hover {
TEXT-DECORATION: none
}
.im2 SPAN A:hover EM {
TEXT-DECORATION: underline
}
.im2 EM {
FONT-STYLE: normal
}
------=_NextPart_000_00CE_01C9C403.E7213930
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: http://sjs.sinajs.cn/common/js/boot.js
/**=0A=
* @author stan | chaoliang@staff.sina.com.cn=0A=
*/=0A=
//- debug -=0A=
var __debug_mode =3D false; //should be false=0A=
//- dev -=0A=
//- 1 : index.dev.js | =E5=BC=95=E5=85=A5=E5=B0=8F=E6=96=87=E4=BB=B6=0A=
//- 2 : index.dev.js & import decode file | =
=E5=BC=95=E5=85=A5=E5=B0=8F=E6=96=87=E4=BB=B6=EF=BC=8C=E4=B8=94=E8=AE=B2=E6=
=AF=8F=E4=B8=80=E4=B8=AA=E5=B0=8F=E6=96=87=E4=BB=B6=E5=8E=8B=E7=BC=A9=EF=BC=
=8C=E7=8E=B0=E9=98=B6=E6=AE=B5=E5=8F=AA=E6=98=AF=E5=8E=BB=E9=99=A4=E7=A9=BA=
=E7=99=BD=E8=8A=82=E7=82=B9=0A=
//- 3 : index.php?dev_path=3Dindex.dev.js | =
=E5=BC=95=E5=85=A5=E5=AE=9E=E6=97=B6=E5=90=88=E5=B9=B6=E7=9A=84=E5=A4=A7=E6=
=96=87=E4=BB=B6=EF=BC=8C=E4=B8=8D=E5=81=9A=E5=8E=8B=E7=BC=A9=0A=
//- 4 : index.js | =
=E5=BC=95=E5=85=A5online=E7=9B=AE=E5=BD=95=E4=B8=8B=E5=90=88=E5=B9=B6=E5=A5=
=BD=E7=9A=84=E6=96=87=E4=BB=B6=EF=BC=8C=E9=9C=80=E8=A6=81sh =
5=E5=88=87=E6=8D=A2=E5=88=B0=E4=B8=8A=E7=BA=BF=E7=8A=B6=E6=80=81=0A=
var __dev_mode =3D 4; //should be 4=0A=
=0A=
//- globel scope=0A=
var scope =3D scope ? scope : {};=0A=
//- system message =0A=
var $SYSMSG =3D {};=0A=
$SYSMSG.extend =3D function (info, override){=0A=
for (var i in info) {=0A=
$SYSMSG[i] =3D !!override =3D=3D false ? info[i] : $SYSMSG[i];=0A=
}=0A=
};=0A=
=0A=
//- global=0A=
scope.$BASEJS =3D "http://sjs.sinajs.cn/";=0A=
scope.$BASECSS =3D "http://simg.sinajs.cn/";=0A=
//scope.$BASECNF =3D "http://cnf5.sinajs.cn/";=0A=
scope.$BASECNF =3D "http://blogcnfv5.sinajs.cn/";=0A=
scope.imgPath =3D "http://bj.static.photo.sina.com.cn/orignal/";=0A=
=0A=
//- =0A=
var Boot =3D {=0A=
getCookie : function (name) {=0A=
var arr =3D document.cookie.match(new RegExp("(^| )" + name + =
"=3D([^;]*)(;|$)"));=0A=
if (arr !=3D null) {=0A=
return unescape(arr[2]);=0A=
}=0A=
return null;=0A=
},=0A=
setCookie : function (sName,sValue,objHours,sPath,sDomain,bSecure){=0A=
var sCookie =3D sName + "=3D" + encodeURIComponent(sValue);=0A=
if (objHours) {=0A=
var date =3D new Date();=0A=
var ms =3D objHours * 3600 * 1000;=0A=
date.setTime(date.getTime() + ms);=0A=
sCookie +=3D ";expires=3D" + date.toGMTString();=0A=
}=0A=
if (sPath) {=0A=
sCookie +=3D ";path=3D" + sPath;=0A=
}=0A=
if (sDomain) {=0A=
sCookie +=3D ";domain=3D" + sDomain;=0A=
}=0A=
if (bSecure) {=0A=
sCookie +=3D ";secure";=0A=
}=0A=
document.cookie=3DsCookie;=0A=
},=0A=
checkAuthor : function (){=0A=
var AuthorInfo =3D this.getCookie("SU");=0A=
scope.AuthorUID =3D AuthorInfo && AuthorInfo !=3D "" ? =
AuthorInfo.match(/^([^:]*:){2}(\d{5,11})/)[2] : null;=0A=
$UID =3D scope.AuthorUID || null;=0A=
window.$isLogin =3D !!($UID);=0A=
if(typeof scope.$uid =3D=3D "undefined") {=0A=
window.$isAdmin =3D false;=0A=
}=0A=
else {=0A=
window.$isAdmin =3D (scope.$uid =3D=3D $UID);=0A=
}=0A=
},=0A=
dw : function (s) {=0A=
window.document.write(s);=0A=
},=0A=
dwSwf : function (_sName, _sSrc, _sWidth, _sHeight, _sMode, _aValue) {=0A=
var sValue =3D "", aFlashVars =3D [];=0A=
if (_aValue) {=0A=
for (var key in _aValue) {=0A=
aFlashVars[aFlashVars.length] =3D key + "=3D" + _aValue[key];=0A=
}=0A=
sValue =3D aFlashVars.join('&');=0A=
}=0A=
_sMode =3D _sMode ? 'wmode=3D"transparent"' : '';=0A=
if(_sName =3D=3D "calendar" || _sName =3D=3D"musicFlash2" ){=0A=
return '<object =
classid=3D"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" =
codebase=3D"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swf=
lash.cab#version=3D6,0,0,0" width=3D"' + _sWidth + '" height=3D"' + =
_sHeight + '" id=3D"' + _sName + '" align=3D"middle" ><param =
name=3D"movie" value=3D"' + _sSrc + '?' + sValue + '" /><param =
name=3DallowScriptAccess value=3Dalways><param name=3Dwmode =
value=3Dtransparent><embed name=3D"' + _sName + '" src=3D"' + _sSrc + '" =
' + _sMode + ' quality=3D"high" align=3D"top" salign=3D"lt" =
allowScriptAccess=3D"always" =
pluginspage=3D"http://www.macromedia.com/go/getflashplayer" =
type=3D"application/x-shockwave-flash" width=3D"' + _sWidth + '" =
height=3D"' + _sHeight + '" flashVars=3D"' + sValue + '" \/><\/object>';=0A=
}else{=0A=
return '<embed id=3D"' + _sName + '" name=3D"' + _sName + '" src=3D"' =
+ _sSrc + '" ' + _sMode + ' quality=3D"high" align=3D"top" salign=3D"lt" =
allowScriptAccess=3D"always" =
pluginspage=3D"http://www.macromedia.com/go/getflashplayer" =
type=3D"application/x-shockwave-flash" width=3D"' + _sWidth + '" =
height=3D"' + _sHeight + '" flashVars=3D"' + sValue + '" \/>';=0A=
}=0A=
},=0A=
dwScript : function(o){=0A=
o.id =3D o.id || "";=0A=
o.charset =3D o.charset || "utf-8";=0A=
var def =3D "";=0A=
if(o.defer !=3D null){=0A=
def =3D "defer=3D'true'"; =0A=
} =0A=
if (o.script && o.script !=3D "") {=0A=
this.dw("<script id=3D'" + o.id + "' " + def + ">" + o.script + =
"<\/script>");=0A=
}=0A=
else if (o.url && o.url !=3D "") {=0A=
this.dw("<script id=3D'" + o.id + "' src=3D'" + o.url + "' =
charset=3D'" + o.charset + "' " + def + "><\/script>");=0A=
}=0A=
else {=0A=
throw new Error("no script content or url specified");=0A=
}=0A=
},=0A=
loadScript : function (url, callback, encode){ =0A=
var script =3D document.createElement('script');=0A=
script.type =3D 'text/javascript';=0A=
if (encode) {=0A=
script.charset =3D encode;=0A=
}=0A=
if (callback) {=0A=
script.onload =3D script.onreadystatechange =3D function(){=0A=
if (script.readyState && script.readyState !=3D 'loaded' &&=0A=
script.readyState !=3D 'complete') {=0A=
return;=0A=
}=0A=
script.onreadystatechange =3D script.onload =3D null;=0A=
callback();=0A=
};=0A=
}=0A=
script.src =3D url;=0A=
document.getElementsByTagName('head')[0].appendChild(script); =0A=
},=0A=
dwCSS : function(o){=0A=
o.id =3D o.id || "";=0A=
if (o.url){=0A=
this.dw('<link id=3D"' + o.id + '" rel=3D"stylesheet" =
type=3D"text/css" href=3D"' + o.url + '" />');=0A=
}=0A=
else if (o.styles){=0A=
this.dw('<style id=3D"' + o.id + '" >' + o.styles + '<\/style>');=0A=
}=0A=
},=0A=
$addEvent2: function (elm, func, evType, useCapture) {=0A=
if (typeof useCapture =3D=3D 'undefined') {=0A=
useCapture =3D false;=0A=
}=0A=
if (typeof evType =3D=3D 'undefined') {=0A=
evType =3D 'click';=0A=
}=0A=
if (elm.addEventListener) {=0A=
elm.addEventListener(evType, func, useCapture);=0A=
return true;=0A=
}=0A=
else if (elm.attachEvent) {=0A=
var r =3D elm.attachEvent('on' + evType, func);=0A=
return true;=0A=
}=0A=
else {=0A=
elm['on' + evType] =3D func;=0A=
}=0A=
},=0A=
$removeEvent2 : function (oElement, fHandler, sName) {=0A=
if (typeof fHandler !=3D "function") {=0A=
return;=0A=
}=0A=
if (oElement.addEventListener) {=0A=
oElement.removeEventListener(sName, fHandler, false);=0A=
}=0A=
else if (oElement.attachEvent) {=0A=
oElement.detachEvent("on" + sName, fHandler);=0A=
}=0A=
fHandler[sName] =3D null;=0A=
},=0A=
loadCnf : function (){=0A=
scope.pid_map =3D {=0A=
"blog": "0x00000001",=0A=
"icp" : "0x02000002",=0A=
"photo": "0x00000008",=0A=
"vblog": "0x00000002",=0A=
"tiezi": "0x00000040",=0A=
"quanzi": "0x00000004",=0A=
"music": "0x00000400"=0A=
};=0A=
scope.cfgbak =3D typeof config !=3D "undefined" ? config : {};=0A=
scope.p_key =3D scope.pid_map[scope.$PRODUCT_NAME];=0A=
if(scope.$loadconf && scope.$loadconf =3D=3D true){=0A=
var cnf =3D scope.$BASECNF + "combine?uid=3D" + scope.$uid + =
"&varname=3Dconfig&productid=3D" + scope.pid_map[scope.$PRODUCT_NAME] + =
"&common=3D1&private=3D1&component=3D1&product=3D1&.js";=0A=
this.dwScript({=0A=
url : cnf,=0A=
charset : "utf-8"=0A=
});=0A=
}=0A=
// =
=E5=A6=82=E6=9E=9C=E6=98=AF=E5=B0=8F=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=B0=B1=E4=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -