以下是 jQuery鼠标经过显示下拉菜单特效代码 的示例演示效果:
部分效果截图:
HTML代码(index.html):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>DENON STUDIO - Smart Menu</title>
<link href="css/smartmenu.css" type="text/css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="css/shCore.css"/>
<link type="text/css" rel="stylesheet" href="css/shThemeDefault.css"/>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/smartmenu-min.js"></script>
<script type="text/javascript" src="js/shCore.js"></script>
<script type="text/javascript" src="js/shBrushJScript.js"></script>
<script type="text/javascript" src="js/shBrushXml.js"></script>
<script type="text/javascript">
jQuery(window).ready(function(){
jQuery("#navigation").Smartmenu({animationDuration: 350});
});
SyntaxHighlighter.all();
</script>
<style type="text/css">
body { background : #333; }
#wrap { margin : 50px auto 0px auto; width : 750px; }
#description { margin-top: 80px; }
#description ul { margin: 0px; padding: 0px; list-style: none; }
h2 { font-family: helvetica, arial; font-size: 15pt; color: #888; }
pre { font-size: 8pt; }
</style>
</head>
<body>
<div id="wrap">
<div id="navigation" class="smartmenu">
<ul>
<li> <a href="#">JavaScript</a>
<ul>
<li> <a href="#">Navigation</a> </li>
<li> <a href="#">Shopping Carts</a> </li>
<li> <a href="#">Forms</a> </li>
<li> <a href="#">News Tickers</a> </li>
<li> <a href="#">Ratings and Charts</a> </li>
<li> <a href="#">Media</a> </li>
</ul>
</li>
<li> <a href="#">Wordpress</a>
<ul>
<li> <a href="#">Blog & Magazines</a> </li>
<li> <a href="#">Creative</a> </li>
<li> <a href="#">Corporate</a> </li>
<li> <a href="#">Retail</a> </li>
</ul>
</li>
<li> <a href="#">Site Template</a>
<ul>
<li> <a href="#">Creative</a> </li>
<li> <a href="#">Technology</a> </li>
</ul>
</li>
<li> <a href="#">PSD Templates</a>
<ul>
<li> <a href="#">Nonprofit</a> </li>
<li> <a href="#">Entertainment</a> </li>
<li> <a href="#">Personal</a> </li>
<li> <a href="#">Miscellaneous</a> </li>
</ul>
</li>
<li> <a href="#">Video</a> </li>
<li> <a href="#">PHP Scripts</a>
<ul>
<li> <a href="#">Project Management Tools</a> </li>
<li> <a href="#">Image & Media</a> </li>
<li> <a href="#">Uploaders</a> </li>
<li> <a href="#">Calendars</a> </li>
</ul>
</li>
</ul>
</div>
</div>
</body>
</html>
JS代码(shCore.js):
/** * SyntaxHighlighter * http://alexgorbatchev.com/ * * SyntaxHighlighter is donationware. If you are using it,please donate. * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate * * @version * 2.0.320 (May 03 2009) * * @copyright * Copyright (C) 2004-2009 Alex Gorbatchev. * * @license * This file is part of SyntaxHighlighter. * * SyntaxHighlighter is free software:you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation,either version 3 of the License,or * (at your option) any later version. * * SyntaxHighlighter is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY;
without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with SyntaxHighlighter. If not,see <http://www.gnu.org/copyleft/lesser.html>. */
eval(function(p,a,c,k,e,d){
e=function(c){
return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))}
;
if(!''.replace(/^/,String)){
while(c--){
d[e(c)]=k[c]||e(c)}
k=[function(e){
return d[e]}
];
e=function(){
return'\\w+'}
;
c=1}
;
while(c--){
if(k[c]){
p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}
}
return p}
('f(!1q.2E){
l 2E=h(){
l p={
77:{
"1e-1f":"","79-2P":1,"1I":u,"6V-70":U,"1C-2A":4,"5f":N,"4Z":U,"1z":U,"56":N,"7G-7F":U,"6Z":N,"4S-1m":U}
,M:{
52:u,5P:16,5S:16,8k:N,8l:N,83:"4R",1k:{
3Y:"97 1c",41:"9b 1c",5U:"9O 93 7A",6t:"9B I 9E 23 8w 7A 8o",34:"34",6P:"?",1v:"2E\\n\\n",6F:"8p\'t 8I 87 D:",7X:"8V 8v\'t bD D 2u-2c bf:",6H:"<!be 2u aV \\"-//9V//6U bz 1.0 bx//bI\\" \\"2g://6D.6v.6m/bi/7c/6U/7c-a4.aw\\"><2u ay=\\"2g://6D.6v.6m/as/8r\\"><6l><8T 2g-92=\\"8P-8L\\" 5B=\\"2d/2u;
8E=8s-8\\" /><3B>8C 2E</3B></6l><2L 1n=\\"3N-8x:8Z,9y,9H,9I-9Q;
9S-4v:#9K;
4v:#9J;
3N-2A:9L;
2d-6k:6i;
\\"><A 1n=\\"2d-6k:6i;
5D-43:99;
\\"><A 1n=\\"3N-2A:9p-9o;
\\">2E</A><A 1n=\\"3N-2A:.9m;
5D-9l:9k;
\\"><A>6f 2.0.9j (9n 9s 6n)</A><A><a 2q=\\"2g://6j.4U\\" 9r=\\"57\\" 1n=\\"4v:#9h;
2d-9g:98;
\\">2g://6j.4U</a></A></A><A>96 I 94 95.</A><A>9f 9e-6n 9c 9t.</A></A></2L></2u>"}
,6T:N}
,1t:{
4D:u,3k:u,3P:u,5K:{
}
}
,2B:{
}
,85:{
9u:/\\/\\*[\\s\\S]*?\\*\\//4k,9N:/\\/\\/.*$/4k,9M:/#.*$/4k,9P:/"(?:\\.|(\\\\\\")|[^\\""\\n])*"/g,9T:/\'(?:\\.|(\\\\\\\')|[^\\\'\'\\n])*\'/g,9R:/"(?:\\.|(\\\\\\")|[^\\""])*"/g,9z:/\'(?:\\.|(\\\\\\\')|[^\\\'\'])*\'/g,3p:/\\w+:\\/\\/[\\w-.\\/?%&=]*/
g,9x:{
E:/(&1F;
|<)\\?=?/g,13:/\\?(&2o;
|>)/g}
,9v:{
E:/(&1F;
|<)%=?/g,13:/%(&2o;
|>)/g}
,9w:{
E:/(&1F;
|<)\\s*2c.*?(&2o;
|>)/4x,13:/(&1F;
|<)\\/\\s*2c\\s*(&2o;
|>)/4x}
}
,1z:{
12:h(3s){
l 3y=L.1s("3j"),4o=p.1z.65;
3y.J="1z";
D(l 2Y 23 4o){
l 6o=4o[2Y],4J=T 6o(3s),28=4J.12();
3s.5I[2Y]=4J;
f(28==u){
1H}
f(9G(28)=="9F"){
28=p.1z.6s(28,3s.1g,2Y)}
28.J+="5k "+2Y;
3y.1G(28)}
q 3y}
,6s:h(4A,6r,4h){
l a=L.1s("a"),4Q=a.1n,4P=p.M,4F=4P.5P,48=4P.5S;
a.2q="#"+4h;
a.3B=4A;
a.5M=6r;
a.6q=4h;
a.1x=4A;
f(55(4F)==N){
4Q.1S=4F+"5x"}
f(55(48)==N){
4Q.2t=48+"5x"}
a.8t=h(e){
8D{
p.1z.6p(c,e||1q.6w,c.5M,c.6q)}
8m(e){
p.B.1v(e.6u)}
q N}
;
q a}
,6p:h(69,68,6h,6g,67){
l 3U=p.1t.5K[6h],3X;
f(3U==u||(3X=3U.5I[6g])==u){
q u}
q 3X.2h(69,68,67)}
,65:{
3Y:h(4b){
c.12=h(){
f(4b.V("56")!=U){
q}
q p.M.1k.3Y}
;
c.2h=h(42,8X,91){
l A=4b.A;
42.7T.5a(42);
A.J=A.J.C("51","")}
}
,41:h(66){
c.12=h(){
q p.M.1k.41}
;
c.2h=h(8R,8Q,8J){
l 3Q=p.B.3G(66.4W).C(/</g,"&1F;
"),2i=p.B.54("","57",8H,8G,"8K=0,8O=1,8N=0,6O=1");
3Q=p.B.2D(3Q);
2i.L.3h("<4R>"+3Q+"</4R>");
2i.L.5O()}
}
,5U:h(5e){
l 3S,8F,5L=5e.1g;
c.12=h(){
l 2S=p.M;
f(2S.52==u){
q u}
h 1A(5E){
l 5s="";
D(l 5y 23 5E){
5s+="<8S 1f=\'"+5y+"\' 1U=\'"+5E[5y]+"\'/>"}
q 5s}
;
h 2v(5t){
l 5Q="";
D(l 5w 23 5t){
5Q+=" "+5w+"=\'"+5t[5w]+"\'"}
q 5Q}
;
l 5m={
1S:2S.5P,2t:2S.5S,1g:5L+"b8",6N:"b7/x-6a-6b",3B:p.M.1k.5U}
,5h={
b6:"b4",b5:"b9",ba:"5M="+5L,bd:"N"}
,5g=2S.52,3H;
f(/bb/i.1R(5Z.5W)){
3H="<6e"+2v({
bc:"b3:b2-aU-aT-aS-aQ",aR:"2g://aW.b1.4U/b0/6a/aX/6b/bg.bh#6f=9,0,0,0"}
)+2v(5m)+">"+1A(5h)+1A({
bB:5g}
)+"</6e>"}
F{
3H="<bA"+2v(5m)+2v(5h)+2v({
bC:5g}
)+"/>"}
3S=L.1s("A");
3S.1x=3H;
q 3S}
;
c.2h=h(bH,bG,5T){
l 6d=5T.bE;
6z(6d){
2N"7u":l 53=p.B.2D(p.B.3G(5e.4W).C(/&1F;
/g,"<").C(/&2o;
/g,">").C(/&bw;
/g,"&"));
f(1q.6c){
1q.6c.bm("2d",53)}
F{
q p.B.2D(53)}
2N"bk":p.B.1v(p.M.1k.6t);
2m;
2N"bj":p.B.1v(5T.6u);
2m}
}
}
,bo:h(58){
c.12=h(){
q p.M.1k.34}
;
c.2h=h(bu,bt,bs){
l 1W=L.1s("bp"),1O=u;
f(p.1t.3P!=u){
L.2L.5a(p.1t.3P)}
p.1t.3P=1W;
1W.1n.bq="aP:aO;
1S:6L;
2t:6L;
E:-6K;
43:-6K;
";
L.2L.1G(1W);
1O=1W.5c.L;
6J(1O,1q.L);
1O.3h("<A 1e=\\""+58.A.J.C("51","")+" ae\\">"+58.A.1x+"</A>");
1O.5O();
1W.5c.4d();
1W.5c.34();
h 6J(6M,64){
l 2F=64.82("4Y");
D(l i=0;
i<2F.v;
i++){
f(2F[i].6R.ac()=="6Q"&&/aa\\.19$/.1R(2F[i].2q)){
6M.3h("<4Y 6N=\\"2d/19\\" 6R=\\"6Q\\" 2q=\\""+2F[i].2q+"\\"></4Y>")}
}
}
}
}
,af:h(ag){
c.12=h(){
q p.M.1k.6P}
;
c.2h=h(aj,ah){
l 2i=p.B.54("","57",ai,a9,"6O=0"),1O=2i.L;
1O.3h(p.M.1k.6H);
1O.5O();
2i.4d()}
}
}
}
,B:{
5H:h(6G){
q 6G+3J.9Y(3J.9W()*9X).2r()}
,5o:h(5R,5G){
l 3m={
}
,1T;
D(1T 23 5R){
3m[1T]=5R[1T]}
D(1T 23 5G){
3m[1T]=5G[1T]}
q 3m}
,8d:h(5z){
6z(5z){
2N"U":q U;
2N"N":q N}
q 5z}
,54:h(3p,6x,44,4c,2J){
l x=(6y.1S-44)/2,y=(6y.2t-4c)/2;
2J+=",E="+x+",43="+y+",1S="+44+",2t="+4c;
2J=2J.C(/^,/,"");
l 49=1q.a5(3p,6x,2J);
49.4d();
q 49}
,7Q:h(1M,25,24){
f(1M.6A){
1M["e"+25+24]=24;
1M[25+24]=h(){
1M["e"+25+24](1q.6w)}
;
1M.6A("an"+25,1M[25+24])}
F{
1M.aG(25,24,N)}
}
,1v:h(z){
1v(p.M.1k.1v+z)}
,4l:h(4M,6B){
l 2k=p.1t.4D,3b=u;
f(2k==u){
2k={
}
;
D(l 4G 23 p.2B){
l 37=p.2B[4G].aF;
f(37==u){
1H}
D(l i=0;
i<37.v;
i++){
2k[37[i]]=4G}
}
p.1t.4D=2k}
3b=p.2B[2k[4M]];
f(3b==u&&6B!=N){
p.B.1v(p.M.1k.6F+4M)}
q 3b}
,4n:h(z,6E){
l 2U=z.1P("\\n");
D(l i=0;
i<2U.v;
i++){
2U[i]=6E(2U[i])}
q 2U.5u("\\n")}
,74:h(){
l A=L.1s("A"),3e=L.1s("A"),6C=10,i=1;
29(i<=aD){
f(i%6C===0){
A.1x+=i;
i+=(i+"").v}
F{
A.1x+="&aI;
";
i++}
}
3e.J="5f 2P";
3e.1G(A);
q 3e}
,6W:h(z){
q z.C(/^[ ]*[\\n]+|[\\n]*[ ]*$/g,"")}
,84:h(z){
l 3d,4u={
}
,4p=T R("^\\\\[(?<4q>(.*?))\\\\]$"),6S=T R("(?<1f>[\\\\w-]+)"+"\\\\s*:\\\\s*"+"(?<1U>"+"[\\\\w-%#]+|"+"\\\\[.*?\\\\]|"+"\\".*?\\"|"+"\'.*?\'"+")\\\\s*;
?","g");
29((3d=6S.Q(z))!=u){
l 2f=3d.1U.C(/^[\'"]|[\'"]$/g,"");
f(2f!=u&&4p.1R(2f)){
l m=4p.Q(2f);
2f=m.4q.v>0?m.4q.1P(/\\s*,\\s*/
):[]}
4u[3d.1f]=2f}
q 4u}
,7g:h(z,19){
f(z==u||z.v==0||z=="\\n"){
q z}
z=z.C(/</g,"&1F;
");
z=z.C(/{
2,}
/g,h(m){
l 4r="";
D(l i=0;
i<m.v-1;
i++){
4r+="&1X;
"}
q 4r+" "}
);
f(19!=u){
z=p.B.4n(z,h(2s){
f(2s.v==0){
q""}
l 3c="";
2s=2s.C(/^(&1X;
| )+/,h(s){
3c=s;
q""}
);
f(2s.v==0){
q 3c}
q 3c+"<I 1e=\\""+19+"\\">"+2s+"</I>"}
)}
q z}
,7a:h(61,62){
l 2I=61.2r();
29(2I.v<62){
2I="0"+2I}
q 2I}
,5p:h(){
l 3x=L.1s("A"),35,3r=0,5i=L.2L,1g=p.B.5H("5p"),2Q="<A 1e=\\"",2V="</A>",4H="</1V>";
3x.1x=2Q+"7P\\">"+2Q+"1m\\">"+2Q+"2P\\">"+2Q+"5B"+"\\"><1V 1e=\\"7i\\"><1V 1g=\\""+1g+"\\">&1X;
"+4H+4H+2V+2V+2V+2V;
5i.1G(3x);
35=L.ar(1g);
f(/aq/i.1R(5Z.5W)){
l 63=1q.ao(35,u);
3r=7b(63.ap("1S"))}
F{
3r=35.at}
5i.5a(3x);
q 3r}
,76:h(5Y,60){
l 1C="";
D(l i=0;
i<60;
i++){
1C+=" "}
q 5Y.C(/\\t/g,1C)}
,71:h(2C,4w){
l az=2C.1P("\\n"),1C="\\t",40="";
D(l i=0;
i<50;
i++){
40+=" "}
h 6I(3z,18,5X){
q 3z.1Q(0,18)+40.1Q(0,5X)+3z.1Q(18+1,3z.v)}
;
2C=p.B.4n(2C,h(2a){
f(2a.1i(1C)==-1){
q 2a}
l 18=0;
29((18=2a.1i(1C))!=-1){
l 7r=4w-18%4w;
2a=6I(2a,18,7r)}
q 2a}
);
q 2C}
,3G:h(z){
l br=/<br\\s*\\/?>|&1F;
br\\s*\\/?&2o;
/4x;
f(p.M.8k==U){
z=z.C(br,"\\n")}
f(p.M.8l==U){
z=z.C(br,"")}
q z}
,33:h(z){
q z.C(/\\s*$/g,"").C(/^\\s*/
,"")}
,2D:h(z){
l 21=p.B.3G(z).1P("\\n"),av=T 5V(),8a=/^\\s*/
,1Z=ax;
D(l i=0;
i<21.v&&1Z>0;
i++){
l 3V=21[i];
f(p.B.33(3V).v==0){
1H}
l 3W=8a.Q(3V);
f(3W==u){
q z}
1Z=3J.1Z(3W[0].v,1Z)}
f(1Z>0){
D(l i=0;
i<21.v;
i++){
21[i]=21[i].1Q(1Z)}
}
q 21.5u("\\n")}
,7d:h(2K,2O){
f(2K.G<2O.G){
q-1}
F{
f(2K.G>2O.G){
q 1}
F{
f(2K.v<2O.v){
q-1}
F{
f(2K.v>2O.v){
q 1}
}
}
}
q 0}
,30:h(7S,2H){
h 7R(4V,7Y){
q[T p.4i(4V[0],4V.G,7Y.19)]}
;
l au=0,5N=u,39=[],7Z=2H.4L?2H.4L:7R;
29((5N=2H.3q.Q(7S))!=u){
39=39.31(7Z(5N,2H))}
q 39}
,7C:h(86){
q 86.C(p.85.3p,h(m){
q"<a 2q=\\""+m+"\\">"+m+"</a>"}
)}
}
,1I:h(88,4T){
h 81(5j){
l 59=[];
D(l i=0;
i<5j.v;
i++){
59.K(5j[i])}
q 59}
;
l 3g=4T?[4T]:81(L.82(p.M.83)),80="1x",2e=u;
f(3g.v===0){
q}
D(l i=0;
i<3g.v;
i++){
l 2G=3g[i],2l=p.B.84(2G.J),32;
2l=p.B.5o(88,2l);
32=2l["87"];
f(32==u){
1H}
f(2l["2u-2c"]=="U"){
2e=T p.4B(32)}
F{
l 4O=p.B.4l(32);
f(4O){
2e=T 4O()}
F{
1H}
}
2e.1I(2G[80],2l);
l 2p=2e.A;
f(p.M.6T){
2p=L.1s("aA");
2p.1U=2e.A.1x;
2p.1n.1S="aB";
2p.1n.2t="aK"}
2G.7T.aJ(2p,2G)}
}
,aL:h(7U){
p.B.7Q(1q,"aM",h(){
p.1I(7U)}
)}
}
;
p.4i=h(4j,7V,19){
c.1U=4j;
c.G=7V;
c.v=4j.v;
c.19=19}
;
p.4i.Y.2r=h(){
q c.1U}
;
p.4B=h(4y){
l 1J=p.B.4l(4y),4z=T p.2B.aN(),aH=u;
f(1J==u){
q}
1J=T 1J();
c.4E=4z;
f(1J.3O==u){
p.B.1v(p.M.1k.7X+4y);
q}
4z.5n.K({
3q:1J.3O.I,4L:89}
);
h 3a(4K,7W){
D(l j=0;
j<4K.v;
j++){
4K[j].G+=7W}
}
;
h 89(17,aC){
l 8f=17.I,1L=[],4N=1J.5n,8e=17.G+17.E.v,2Z=1J.3O,1l;
D(l i=0;
i<4N.v;
i++){
1l=p.B.30(8f,4N[i]);
3a(1l,8e);
1L=1L.31(1l)}
f(2Z.E!=u&&17.E!=u){
1l=p.B.30(17.E,2Z.E);
3a(1l,17.G);
1L=1L.31(1l)}
f(2Z.13!=u&&17.13!=u){
1l=p.B.30(17.13,2Z.13);
3a(1l,17.G+17[0].aE(17.13));
1L=1L.31(1l)}
q 1L}
}
;
p.4B.Y.1I=h(8h,8i){
c.4E.1I(8h,8i);
c.A=c.4E.A}
;
p.8b=h(){
}
;
p.8b.Y={
V:h(8c,8g){
l 3Z=c.1A[8c];
q p.B.8d(3Z==u?8g:3Z)}
,12:h(8j){
q L.1s(8j)}
,72:h(38,7O){
l 2w=[];
f(38!=u){
D(l i=0;
i<38.v;
i++){
2w=2w.31(p.B.30(7O,38[i]))}
}
2w=2w.am(p.B.7d);
q 2w}
,73:h(){
l 26=c.2R;
D(l i=0;
i<26.v;
i++){
f(26[i]===u){
1H}
l 2x=26[i],45=2x.G+2x.v;
D(l j=i+1;
j<26.v&&26[i]!==u;
j++){
l 20=26[j];
f(20===u){
1H}
F{
f(20.G>45){
2m}
F{
f(20.G==2x.G&&20.v>2x.v){
c.2R[i]=u}
F{
f(20.G>=2x.G&&20.G<45){
c.2R[j]=u}
}
}
}
}
}
}
,7m:h(2M){
l 36=2M.1P(/\\n/g),3f=7b(c.V("79-2P")),7e=(3f+36.v).2r().v,7f=c.V("1I",[]);
2M="";
D(l i=0;
i<36.v;
i++){
l 1r=36[i],2y=/^(&1X;
|\\s)+/.Q(1r),5A="2P a3"+(i%2==0?1:2),7j=p.B.7a(3f+i,7e),7k=7f.1i((3f+i).2r())!=-1,1E=u;
f(2y!=u){
1E=2y[0].2r();
1r=1r.1Q(1E.v);
1E=1E.C(/&1X;
/g," ");
2y=p.1t.3k*1E.v}
F{
2y=0}
1r=p.B.33(1r);
f(1r.v==0){
1r="&1X;
"}
f(7k){
5A+=" a6"}
2M+="<A 1e=\\""+5A+"\\">"+"<I 1e=\\"a7\\">"+7j+".</I>"+"<1V 1e=\\"5B\\">"+(1E!=u?"<I 1e=\\"a2\\">"+1E.C(/\\s/g,"&1X;
")+"</I>":"")+"<1V 1e=\\"7i\\" 1n=\\"5D-E:"+2y+"5x !78;
\\">"+1r+"</1V>"+"</1V>"+"</A>"}
q 2M}
,7l:h(5v,5r){
l 18=0,3o="",3n=p.B.7g;
D(l i=0;
i<5r.v;
i++){
l 1N=5r[i];
f(1N===u||1N.v===0){
1H}
3o+=3n(5v.1Q(18,1N.G-18),"7h")+3n(1N.1U,1N.19);
18=1N.G+1N.v}
3o+=3n(5v.1Q(18),"7h");
q 3o}
,1I:h(1j,6Y){
l a1=p.M,3l=p.1t,A,9Z,3i,a0="78";
c.1A={
}
;
c.A=u;
c.1m=u;
c.I=u;
c.1h=u;
c.5I={
}
;
c.1g=p.B.5H("a8");
3l.5K[c.1g]=c;
f(1j===u){
1j=""}
f(3l.3k===u){
3l.3k=p.B.5p()}
c.1A=p.B.5o(p.77,6Y||{
}
);
f(c.V("6Z")==U){
c.1A.1z=c.1A.4Z=N}
c.A=A=c.12("3j");
c.1m=c.12("3j");
c.1m.J="1m";
J="7P";
A.1g=c.1g;
f(c.V("56")){
J+=" 51"}
f(c.V("4Z")==N){
J+=" ak"}
f(c.V("4S-1m")==N){
c.1m.J+=" al-4S"}
J+=" "+c.V("1e-1f");
A.J=J;
c.4W=1j;
c.I=p.B.6W(1j).C(/\\r/g," ");
3i=c.V("1C-2A");
c.I=c.V("6V-70")==U?p.B.71(c.I,3i):p.B.76(c.I,3i);
c.I=p.B.2D(c.I);
f(c.V("1z")){
c.1h=c.12("3j");
c.1h.J="1h";
c.1h.1G(p.1z.12(c));
A.1G(c.1h);
l 1h=c.1h;
h 5d(){
1h.J=1h.J.C("75","")}
;
A.ab=h(){
5d();
1h.J+=" 75"}
;
A.ad=h(){
5d()}
}
f(c.V("5f")){
A.1G(p.B.74())}
A.1G(c.1m);
c.2R=c.72(c.5n,c.I);
c.73();
1j=c.7l(c.I,c.2R);
1j=c.7m(p.B.33(1j));
f(c.V("7G-7F")){
1j=p.B.7C(1j)}
c.1m.1x=1j}
,bn:h(z){
z=z.C(/^\\s+|\\s+$/g,"").C(/\\s+/g,"\\\\b|\\\\b");
q"\\\\b"+z+"\\\\b"}
,bl:h(2W){
c.3O={
E:{
3q:2W.E,19:"2c"}
,13:{
3q:2W.13,19:"2c"}
,I:T R("(?<E>"+2W.E.1c+")"+"(?<I>.*?)"+"(?<13>"+2W.13.1c+")","bv")}
}
}
;
q p}
()}
f(!5V.1i){
5V.Y.1i=h(7M,3R){
3R=3J.bF(3R||0,0);
D(l i=3R;
i<c.v;
i++){
f(c[i]==7M){
q i}
}
q-1}
}
f(!1q.R){
(h(){
l 2z={
Q:11.Y.Q,7K:5b.Y.7K,C:5b.Y.C,1P:5b.Y.1P}
,1K={
W:/(?:[^\\\\([#\\s.]+|\\\\(?!k<[\\w$]+>|[7B]{
[^}
]+}
)[\\S\\s]?|\\((?=\\?(?!#|<[\\w$]+>)))+|(\\()(?:\\?(?:(#)[^)]*\\)|<([$\\w]+)>))?|\\\\(?:k<([\\w$]+)>|[7B]{
([^}
]+)}
)|(\\[\\^?)|([\\S\\s])/g,by:/(?:[^$]+|\\$(?![1-9$&`\']|{
[$\\w]+}
))+|\\$(?:([1-9]\\d*|[$&`\'])|{
([$\\w]+)}
)/g,3M:/^(?:\\s+|#.*)+/,5F:/^(?:[?*+]|{
\\d+(?:,\\d*)?}
)/,7x:/&&\\[\\^?/g,7v:/]/g}
,7n=h(5l,5k,4X){
D(l i=4X||0;
i<5l.v;
i++){
f(5l[i]===5k){
q i}
}
q-1}
,7y=/()??/.Q("")[1]!==3K,3w={
}
;
R=h(1d,1Y){
f(1d 3T 11){
f(1Y!==3K){
3L 7N("4C\'t 4I bJ 7H aY 7J 11 4X aZ")}
q 1d.3C()}
l 1Y=1Y||"",7w=1Y.1i("s")>-1,6X=1Y.1i("x")>-1,5q=N,3u=[],14=[],W=1K.W,H,3D,3F,3E,3v;
W.O=0;
29(H=2z.Q.2n(W,1d)){
f(H[2]){
f(!1K.5F.1R(1d.15(W.O))){
14.K("(?:)")}
}
F{
f(H[1]){
3u.K(H[3]||u);
f(H[3]){
5q=U}
14.K("(")}
F{
f(H[4]){
3E=7n(3u,H[4]);
14.K(3E>-1?"\\\\"+(3E+1)+(55(1d.5J(W.O))?"":"(?:)"):H[0])}
F{
f(H[5]){
14.K(3w.7t?3w.7t.7u(H[5],H[0].5J(1)==="P"):H[0])}
F{
f(H[6]){
f(1d.5J(W.O)==="]"){
14.K(H[6]==="["?"(?!)":"[\\\\S\\\\s]");
W.O++}
F{
3D=R.7q("&&"+1d.15(H.G),1K.7x,1K.7v,"",{
7s:"\\\\"}
)[0];
14.K(H[6]+3D+"]");
W.O+=3D.v+1}
}
F{
f(H[7]){
f(7w&&H[7]==="."){
14.K("[\\\\S\\\\s]")}
F{
f(6X&&1K.3M.1R(H[7])){
3F=2z.Q.2n(1K.3M,1d.15(W.O-1))[0].v;
f(!1K.5F.1R(1d.15(W.O-1+3F))){
14.K("(?:)")}
W.O+=3F-1}
F{
14.K(H[7])}
}
}
F{
14.K(H[0])}
}
}
}
}
}
}
3v=11(14.5u(""),2z.C.2n(1Y,/[8y]+/g,""));
3v.1u={
1c:1d,2j:5q?3u:u}
;
q 3v}
;
R.8B=h(1f,o){
3w[1f]=o}
;
11.Y.Q=h(z){
l 1b=2z.Q.2n(c,z),1f,i,5C;
f(1b){
f(7y&&1b.v>1){
5C=T 11("^"+c.1c+"$(?!\\\\s)",c.4a());
2z.C.2n(1b[0],5C,h(){
D(i=1;
i<7z.v-2;
i++){
f(7z[i]===3K){
1b[i]=3K}
}
}
)}
f(c.1u&&c.1u.2j){
D(i=1;
i<1b.v;
i++){
1f=c.1u.2j[i-1];
f(1f){
1b[1f]=1b[i]}
}
}
f(c.3A&&c.O>(1b.G+1b[0].v)){
c.O--}
}
q 1b}
}
)()}
11.Y.4a=h(){
q(c.3A?"g":"")+(c.8M?"i":"")+(c.7D?"m":"")+(c.3M?"x":"")+(c.8Y?"y":"")}
;
11.Y.3C=h(7o){
l 4g=T R(c.1c,(7o||"")+c.4a());
f(c.1u){
4g.1u={
1c:c.1u.1c,2j:c.1u.2j?c.1u.2j.15(0):u}
}
q 4g}
;
11.Y.2n=h(90,z){
q c.Q(z)}
;
11.Y.8W=h(8U,7p){
q c.Q(7p[0])}
;
R.47=h(4f,4e){
l 46="/"+4f+"/"+(4e||"");
q R.47[46]||(R.47[46]=T R(4f,4e))}
;
R.3t=h(z){
q z.C(/[-[\\]{
}
()*+?.\\\\^$|,#\\s]/g,"\\\\$&")}
;
R.7q=h(z,E,Z,1a,2T){
l 2T=2T||{
}
,2X=2T.7s,X=2T.8A,1a=1a||"",4s=1a.1i("g")>-1,7E=1a.1i("i")>-1,7L=1a.1i("m")>-1,4t=1a.1i("y")>-1,1a=1a.C(/y/g,""),E=E 3T 11?(E.3A?E:E.3C("g")):T R(E,"g"+1a),Z=Z 3T 11?(Z.3A?Z:Z.3C("g")):T R(Z,"g"+1a),1D=[],2b=0,1o=0,1p=0,1y=0,27,22,1w,1B,3I,4m;
f(2X){
f(2X.v>1){
3L 8n("4C\'t 4I 8q 8z 7J 3t 7I")}
f(7L){
3L 7N("4C\'t 4I 3t 7I 7H 9U 9D 7D 9C")}
3I=R.3t(2X);
4m=T 11("^(?:"+3I+"[\\\\S\\\\s]|(?:(?!"+E.1c+"|"+Z.1c+")[^"+3I+"])+)+",7E?"i":"")}
29(U){
E.O=Z.O=1p+(2X?(4m.Q(z.15(1p))||[""])[0].v:0);
1w=E.Q(z);
1B=Z.Q(z);
f(1w&&1B){
f(1w.G<=1B.G){
1B=u}
F{
1w=u}
}
f(1w||1B){
1o=(1w||1B).G;
1p=(1w?E:Z).O}
F{
f(!2b){
2m}
}
f(4t&&!2b&&1o>1y){
2m}
f(1w){
f(!2b++){
27=1o;
22=1p}
}
F{
f(1B&&2b){
f(!--2b){
f(X){
f(X[0]&&27>1y){
1D.K([X[0],z.15(1y,27),1y,27])}
f(X[1]){
1D.K([X[1],z.15(27,22),27,22])}
f(X[2]){
1D.K([X[2],z.15(22,1o),22,1o])}
f(X[3]){
1D.K([X[3],z.15(1o,1p),1o,1p])}
}
F{
1D.K(z.15(22,1o))}
1y=1p;
f(!4s){
2m}
}
}
F{
E.O=Z.O=0;
3L 9q("9A 9i 9a 9d 8u")}
}
f(1o===1p){
1p++}
}
f(4s&&!4t&&X&&X[0]&&z.v>1y){
1D.K([X[0],z.15(1y),1y,z.v])}
E.O=Z.O=0;
q 1D}
;
',62,728,'||||||||||||this|||if||function||||var||||sh|return||||null|length||||str|div|utils|replace|for|left|else|index|_10f|code|className|push|document|config|false|lastIndex||exec|XRegExp||new|true|getParam|part|vN|prototype|_127||RegExp|create|right|_10d|slice||_c4|pos|css|_128|_117|source|_107|class|name|id|bar|indexOf|_f0|strings|_cb|lines|style|_132|_133|window|_e3|createElement|vars|_x|alert|_137|innerHTML|_134|toolbar|params|_138|tab|_130|_e8|lt|appendChild|continue|highlight|_be|lib|_c7|obj|_ef|doc|split|substr|test|width|_4b|value|span|_3c|nbsp|_108|min|_dc|_98|_136|in|_57|_56|_d7|_135|_8|while|_91|_131|script|text|_b2|_6e|http|execute|wnd|captureNames|_5b|_b5|break|call|gt|_b8|href|toString|_75|height|html|attributes|_d5|_d9|_e4|_fe|size|brushes|_88|unindent|SyntaxHighlighter|_40|_b4|_a2|_7a|_51|m1|body|_dd|case|m2|line|_80|matches|_28|_129|_62|_81|_fa|_12a|_5|_ca|getMatches|concat|_b6|trim|print|_7c|_de|_5e|_d3|_a7|offsetMatches|_5c|_76|_6a|_65|_df|_b0|write|_f6|DIV|spaceWidth|_f3|_4a|_ed|_ec|url|regex|_7d|_2|escape|_10c|_113|_106|_7b|_3|_8e|global|title|addFlags|cc|_112|len|fixInputString|_32|_139|Math|undefined|throw|extended|font|htmlScript|printFrame|_22|_fc|_25|instanceof|_17|_9d|_9e|_18|expandSource|_d1|_8c|viewSource|_1a|top|_4f|_da|key|cache|_10|win|getNativeFlags|_19|_50|focus|_122|_121|_11c|_b|Match|_ba|gm|findBrush|esc|eachLine|_4|_6c|values|_73|_12c|_12f|_6b|color|_89|gi|_bd|_bf|_9|HtmlScript|can|discoveredBrushes|xmlBrush|_f|_5d|_82|supply|_7|_c1|func|_59|_c8|_b7|_e|_d|pre|wrap|_ac|com|_a3|originalCode|from|link|gutter||collapsed|clipboardSwf|_37|popup|isNaN|collapse|_blank|_38|_ae|removeChild|String|contentWindow|hide|_24|ruler|swf|_30|_7e|_ad|item|_101|_2f|regexList|merge|measureSpace|_10b|_ea|_2a|_2c|join|_e9|_2e|px|_2b|_4c|_e5|content|r2|margin|_29|quantifier|_49|guid|toolbarCommands|charAt|highlighters|_27|highlighterId|_a6|close|toolbarItemWidth|_2d|_48|toolbarItemHeight|_35|copyToClipboard|Array|userAgent|_90|_84|navigator|_85|_78|_79|_83|_3f|items|_1e|_16|_13|_12|shockwave|flash|clipboardData|_36|object|version|_15|_14|center|alexgorbatchev|align|head|org|2009|_6|executeCommand|commandName|_a|createButton|copyToClipboardConfirmation|message|w3|event|_4e|screen|switch|attachEvent|_5a|_66|www|_61|noBrush|_47|aboutDialog|insertSpaces|copyStyles|500px|0px|_3e|type|scrollbars|help|stylesheet|rel|_6d|debug|DTD|smart|trimFirstAndLastLines|_10a|_f1|light|tabs|processSmartTabs|findMatches|removeNestedMatches|createRuler|show|processTabs|defaults|important|first|padNumber|parseInt|xhtml1|matchesSortCallback|_e0|_e1|decorate|plain|block|_e6|_e7|processMatches|createDisplayLines|_100|_11b|args|matchRecursive|_93|escapeChar|unicode|get|classRight|_109|classLeft|_105|arguments|clipboard|pP|processUrls|multiline|_12d|links|auto|when|character|one|match|_12e|_fb|TypeError|_d4|syntaxhighlighter|addEvent|defaultAdd|_a1|parentNode|_b9|_bb|_c2|brushNotHtmlScript|_a4|_a8|_b1|toArray|getElementsByTagName|tagName|parseParams|regexLib|_a9|brush|_ab|process|_9a|Highlighter|_cf|toBoolean|_c9|_c6|_d0|_cd|_ce|_d2|bloggerMode|stripBrs|catch|SyntaxError|now|Can|more|xhtml|utf|onclick|delimiters|wasn|your|family|sx|than|valueNames|addPlugin|About|try|charset|_26|400|750|find|_21|location|Type|ignoreCase|menubar|resizable|Content|_20|_1f|param|meta|_11f|Brush|apply|_1b|sticky|Geneva|_11d|_1c|equiv|to|syntax|highlighter|JavaScript|expand|none|3em|contains|view|Alex|unbalanced|2004|Copyright|decoration|0099FF|data|320|4em|bottom|75em|May|large|xx|Error|target|03|Gorbatchev|multiLineCComments|aspScriptTags|scriptScriptTags|phpScriptTags|Arial|multiLineSingleQuotedString|subject|The|flag|the|is|string|typeof|Helvetica|sans|000|fff|1em|singleLinePerlComments|singleLineCComments|copy|doubleQuotedString|serif|multiLineDoubleQuotedString|background|singleQuotedString|using|W3C|random|1000000|round|_f5|_f7|_f2|spaces|alt|transitional|open|highlighted|number|highlighter_|250|shCore|onmouseover|toLowerCase|onmouseout|printing|about|_42|_44|500|_43|nogutter|no|sort|on|getComputedStyle|getPropertyValue|opera|getElementById|1999|offsetWidth|_a5|_99|dtd|1000|xmlns|_8a|textarea|70em|_c5|150|lastIndexOf|aliases|addEventListener|_c0|middot|replaceChild|30em|all|load|Xml|absolute|position|444553540000|codebase|96b8|11cf|ae6d|PUBLIC|download|cabs|constructing|another|pub|macromedia|d27cdb6e|clsid|always|wmode|allowScriptAccess|application|_clipboard|transparent|flashVars|msie|classid|menu|DOCTYPE|option|swflash|cab|TR|error|ok|forHtmlScript|setData|getKeywords|printSource|IFRAME|cssText||_3b|_3a|_39|sgi|amp|Transitional|replaceVar|XHTML|embed|movie|src|configured|command|max|_34|_33|EN|flags'.split('|'),0,{
}
))
JS代码(smartmenu-min.js):
eval(function(p,a,c,k,e,r){
e=function(c){
return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))}
;
if(!''.replace(/^/,String)){
while(c--)r[e(c)]=k[c]||e(c);
k=[function(e){
return r[e]}
];
e=function(){
return'\\w+'}
;
c=1}
;
while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);
return p}
('(4($){
$.N.O=4(a){
2 b=P();
b.v=v;
b.k=k;
b.r=r;
b.w=w;
b.3=$.Q(s,{
x:{
8:0,l:0}
,m:1a,k:R,n:b,t:E,F:s}
,a);
b.S(4(e){
b.r()}
);
b.T(4(e){
b.k(b.3.k)}
);
9 b}
;
4 o(){
9($.y.U&&$.y.V=="6.0")}
;
4 P(){
2 a=7(G.H("I")).p("1b");
2 b=7(G.H("I")).p((o())?"W 1c":"W");
2 c=7(G.H("I")).p((o())?"q X":"q");
a.1d();
a.z(b);
a.z(c);
7("1e").z(a);
9 a}
;
4 w(){
9(5.3.t!=E)}
;
4 r(){
Y.1f(5.3.t);
5.3.t=E}
;
4 v(a){
u(5.3.F){
5.3.F=J;
5.Z({
"8":5.3.x.8+"A","l":5.3.x.l+"A"}
)}
5.1g(5.3.m);
5.1h({
"l":a.l+"A","8":a.8+"A"}
,{
1i:J,1j:5.3.m}
);
u(5.w())5.r()}
;
4 k(a){
2 b=5;
5.3.t=Y.1k(4(){
b.1l(b.3.m)}
,a)}
}
)(7);
(4($){
$.N.1m=4(b){
2 c=$.Q(s,{
10:R,11:1n,m:1o}
,b);
c.n=7("").O({
m:c.m,x:7(5).12()}
);
c.q=c.n.j((o())?".X":".q");
9 5.1p(4(){
2 a={
3:c,B:7(5)}
;
13(a)}
)}
;
4 o(){
9($.y.U&&$.y.V=="6.0")}
;
4 13(a){
2 b=a.B;
2 c=b.j("K:C");
2 d=c.1q();
b.p((o())?"1r":"");
d.j("a:C").14("S",a,15);
d.j("a:C").14("T",a,16);
u(d.D>0){
7(d[d.D-1]).j("a:C").p("L")}
}
;
4 16(e){
2 a=7(e.B);
2 b=e.17;
2 c=(a.18().j("K").D>0)?s:J;
u(b.3.n&&c)b.3.n.k(b.3.10)}
;
4 15(e){
2 b=7(e.B);
4 19(){
2 a=b.18().j("K").1s(s);
a.j("1t:L").p("L");
9 a}
2 c=e.17;
2 d=19();
u(d.D==0)9;
2 f=b.12();
2 g=M(f.8);
2 h=M(f.l);
2 i=M(b.Z("1u-8"));
c.3.q.1v();
c.3.q.z(d);
c.3.n.v({
l:h+c.3.11,8:g+i}
)}
}
)(7);
',62,94,'||var|options|function|this||jQuery|left|return||||||||||find|hideIn|top|animationDuration|floaty|isIE6|addClass|padder|cancelHiding|true|timerHandle|if|show|willHideSoon|startPosition|browser|append|px|target|first|length|null|appearingFirstTime|document|createElement|div|false|ul|last|parseInt|fn|Floaty|buildFloaty|extend|1000|mouseenter|mouseleave|msie|version|tip|padderIE6|window|css|hideSubmenuIn|pushSubmenuDownBy|position|initialize|bind|topMenuEnter|topMenuLeave|data|parent|getChildList|300|smartmenufloaty|tipIE6|hide|body|clearInterval|fadeIn|animate|queue|duration|setTimeout|fadeOut|Smartmenu|30|200|each|children|smartmenuie6|clone|li|padding|empty'.split('|'),0,{
}
))
CSS代码(shCore.css):
/** * SyntaxHighlighter * http://alexgorbatchev.com/ * * SyntaxHighlighter is donationware. If you are using it,please donate. * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate * * @version * 2.0.320 (May 03 2009) * * @copyright * Copyright (C) 2004-2009 Alex Gorbatchev. * * @license * This file is part of SyntaxHighlighter. * * SyntaxHighlighter is free software:you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation,either version 3 of the License,or * (at your option) any later version. * * SyntaxHighlighter is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY;without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with SyntaxHighlighter. If not,see <http://www.gnu.org/copyleft/lesser.html>. */
.syntaxhighlighter,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter span{margin:0 !important;padding:0 !important;border:0 !important;outline:0 !important;background:none !important;text-align:left !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:"Consolas","Monaco","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:9pt !important;}
.syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;padding:1px !important;/* adds a little border on top and bottom */
position:relative !important;}
.syntaxhighlighter code{display:inline !important;}
.syntaxhighlighter .bold{font-weight:bold !important;}
.syntaxhighlighter .italic{font-style:italic !important;}
.syntaxhighlighter .line .number{float:left !important;width:3em !important;padding-right:.3em !important;text-align:right !important;display:block !important;}
/* Disable numbers when no gutter option is set */
.syntaxhighlighter.nogutter .line .number{display:none !important;}
.syntaxhighlighter .line .content{margin-left:3.3em !important;padding-left:.5em !important;display:block !important;}
.syntaxhighlighter .line .content .block{display:block !important;padding-left:1.5em !important;text-indent:-1.5em !important;}
.syntaxhighlighter .line .content .spaces{display:none !important;}
/* Disable border and margin on the lines when no gutter option is set */
.syntaxhighlighter.nogutter .line .content{margin-left:0 !important;border-left:none !important;}
.syntaxhighlighter .bar{display:none !important;}
.syntaxhighlighter .bar.show{display:block !important;}
.syntaxhighlighter.collapsed .bar{display:block !important;}
.syntaxhighlighter.nogutter .ruler{margin-left:0 !important;padding-left:0 !important;}
.syntaxhighlighter .ruler{padding:0 0 .5em .5em !important;margin-left:3.3em !important;overflow:hidden !important;}
/* Adjust some properties when collapsed */
.syntaxhighlighter.collapsed .lines,.syntaxhighlighter.collapsed .ruler{display:none !important;}
.syntaxhighlighter .lines.no-wrap{overflow:auto;overflow-y:hidden;}
/* Styles for the toolbar */
.syntaxhighlighter .toolbar{position:absolute !important;right:0px !important;top:0px !important;font-size:1px !important;padding:8px 8px 8px 0 !important;/* in px because images don't scale with ems */
}
.syntaxhighlighter.collapsed .toolbar{font-size:80% !important;padding:.2em 0 .5em .5em !important;position:static !important;}
.syntaxhighlighter .toolbar a.item,.syntaxhighlighter .toolbar .item{display:block !important;float:left !important;margin-left:8px !important;background-repeat:no-repeat !important;overflow:hidden !important;text-indent:-5000px !important;}
.syntaxhighlighter.collapsed .toolbar .item{display:none !important;}
.syntaxhighlighter.collapsed .toolbar .item.expandSource{background-image:url(../images/magnifier.png) !important;display:inline !important;text-indent:0 !important;width:auto !important;float:none !important;height:16px !important;padding-left:20px !important;}
.syntaxhighlighter .toolbar .item.viewSource{background-image:url(../images/page_white_code.png) !important;}
.syntaxhighlighter .toolbar .item.printSource{background-image:url(../images/printer.png) !important;}
.syntaxhighlighter .toolbar .item.copyToClipboard{text-indent:0 !important;background:none !important;overflow:visible !important;}
.syntaxhighlighter .toolbar .item.about{background-image:url(../images/help.png) !important;}
/** * Print view. * Colors are based on the default theme without background. */
.syntaxhighlighter.printing,.syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content,.syntaxhighlighter.printing .line .content .block{background:none !important;}
.syntaxhighlighter .no-wrap .line .content .block{white-space:nowrap !important;}
/* Gutter line numbers */
.syntaxhighlighter.printing .line .number{color:#bbb !important;}
/* Add border to the lines */
.syntaxhighlighter.printing .line .content{color:#000 !important;}
/* Toolbar when visible */
.syntaxhighlighter.printing .toolbar,.syntaxhighlighter.printing .ruler{display:none !important;}
.syntaxhighlighter.printing a{text-decoration:none !important;}
.syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:#000 !important;}
.syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
.syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
.syntaxhighlighter.printing .keyword{color:#069 !important;font-weight:bold !important;}
.syntaxhighlighter.printing .preprocessor{color:gray !important;}
.syntaxhighlighter.printing .variable{color:#a70 !important;}
.syntaxhighlighter.printing .value{color:#090 !important;}
.syntaxhighlighter.printing .functions{color:#ff1493 !important;}
.syntaxhighlighter.printing .constants{color:#0066CC !important;}
.syntaxhighlighter.printing .script{font-weight:bold !important;}
.syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:#808080 !important;}
.syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
.syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
CSS代码(smartmenu.css):
.smartmenu,.smartmenufloaty{background:#8DB638 none repeat scroll 0 0;border-top:1px solid #B7DF63;margin:0px;padding:0px;overflow:hidden;-moz-border-radius-bottomleft:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-left-radius:5px;-webkit-border-bottom-right-radius:5px;}
.smartmenuie6{height:30px;}
.smartmenu a,.smartmenufloaty a{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:10pt;font-weight:bold;text-decoration:none;color:#FFF;border-right:1px dotted #FFF;padding:0px 10px;}
.smartmenu a.last{border:none;}
.smartmenu a:hover{color:#333;}
.smartmenu ul,.smartmenufloaty ul{margin:0px;padding:0px;list-style:none;}
.smartmenu ul li,.smartmenufloaty li{padding:5px 0px 5px 0px;float:left;}
.smartmenu li ul{display:none;}
.smartmenufloaty{background:transparent;position:absolute;border:none;width:auto;height:auto;left:0px;top:0px;z-index:1000;}
.smartmenufloaty .tip{background:url(../images/floatytip.png) no-repeat;font-size:0px;height:20px;width:50px;margin:0px;overflow:hidden;display:block;}
.smartmenufloaty .tipIE6{background:url(../images/floatytip.gif);}
.smartmenufloaty .padder{background:url(../images/floatybg.png);padding:0px 8px;-moz-border-radius-bottomleft:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-left-radius:5px;-webkit-border-bottom-right-radius:5px;}
.smartmenufloaty .padderIE6{background:url(../images/floatybg.gif);}
.smartmenufloaty li{float:none;border-bottom:1px dotted #FFF;padding:5px 8px;}
.smartmenufloaty li.last{border:none;}
.smartmenufloaty a{border:none;padding:0px;}
.smartmenufloaty a:hover{color:#222;}