Coalesys.WebMenu source code(partial)(3)

80酷酷网    80kuku.com

  webbreak;
                case 0:
                    goto case 3;
                case 2:
                    goto case 3;
                case 3:
                    i2: writer.CSF_11("}");
                    writer.CSF_11("function cswmCR()");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmAR=(cswmBW+cswmSLA)-cswmPx[cswmPx.length-1];");
                    writer.CSF_11("if(cswmAR<cswmPW)");
                    writer.CSF_11("{");
                    writer.CSF_11("if(cswmSPnt==\"below\"||cswmSPnt==\"above\")");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmMB=cswmPx[cswmPx.length-1]-(cswmPW-cswmAR);");
                    writer.CSF_11("if(cswmMB<0||cswmMB<cswmSLA)");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmMB=cswmSLA;");
                    writer.CSF_11("}");
                    writer.CSF_11("cswmPx[cswmPx.length-1]=cswmMB;");
                    writer.CSF_11("}");
                    writer.CSF_11("else");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmMB=cswmSEL-cswmPW;");
                    writer.CSF_11("if(cswmMB>=0)");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmPx[cswmPx.length-1]=cswmMB;");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    writer.CSF_11("function cswmCL()");
                    writer.CSF_11("{");
                    writer.CSF_11("if(cswmPx[cswmPx.length-1]<(cswmSLA))");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmPx[cswmPx.length-1]=cswmSEL+cswmSEW;");
                    writer.CSF_11("cswmCR();");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    writer.CSF_11("function cswmCB()");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmAB=(cswmBH+cswmSTA)-cswmPy[cswmPy.length-1];");
                    writer.CSF_11("if(cswmAB<cswmPH)");
                    writer.CSF_11("{");
                    writer.CSF_11("if(cswmSPnt==\"below\")");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmMB=cswmPy[cswmPy.length-1]-cswmPH-cswmSEH;");
                    writer.CSF_11("if(cswmMB>=0)");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmPy[cswmPy.length-1]=cswmMB;");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    writer.CSF_11("else");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmMB=cswmPy[cswmPy.length-1]-(cswmPH-cswmAB);");
                    writer.CSF_11("if(cswmMB<0||cswmMB<cswmSTA)");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmMB=cswmSTA;");
                    writer.CSF_11("}");
                    writer.CSF_11("cswmPy[cswmPy.length-1]=cswmMB;");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    writer.CSF_11("function cswmCA()");
                    writer.CSF_11("{");
                    writer.CSF_11("if(cswmPy[cswmPy.length-1]<(cswmSTA))");
                    writer.CSF_11("{");
                    writer.CSF_11("cswmPy[cswmPy.length-1]=cswmSET+cswmSEH;");
                    writer.CSF_11("cswmCB();");
                    writer.CSF_11("}");
                    writer.CSF_11("}");
                    local60 = local1;
                    switch (local60 - 1) {
                        case 0:
                            writer.CSF_11("function cswmFI(level)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmTL=level;");
                            writer.CSF_11("if(level<=100)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.filter=\"alpha(opacity=\"+cswmTL+\")\";");
                            writer.CSF_11("setTimeout(\"cswmFI(cswmTL+20);\",10);");
                            writer.CSF_11("}");
                            writer.CSF_11("}");
                            writer.CSF_11("function cswmFO(level)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmTL=level;");
                            writer.CSF_11("cswmTS=0;");
                            writer.CSF_11("if(level>=0)");
                            writer.CSF_11("{");
                            writer.CSF_11("var iCount=0;");
                            writer.CSF_11("for(iCount=0;iCount<cswmPI.length;iCount++)");
                            writer.CSF_11("{");
                            writer.CSF_11("eval(cswmOM+\"cswmPopup\"+cswmPI[iCount]+\".style.filter=\\\"alpha(opacity=\\\"+cswmTL+\\\")\\\"\");");
                            writer.CSF_11("}");
                            writer.CSF_11("cswmTTI=setTimeout(\"cswmFO(cswmTL-20);\",10);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmHP(0);");
                            writer.CSF_11("}");
                            writer.CSF_11("}");
                            break;
                        break;
                        case 1:
                            writer.CSF_11("function cswmPixI(level)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmTL=level;");
                            writer.CSF_11("if(level>1)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.filter=\"progid:DXImageTransform.Microsoft.Pixelate(maxsquare=\"+cswmTL+\")\";");
                            writer.CSF_11("setTimeout(\"cswmPixI(cswmTL-5);\",50);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.filter=\"\";");
                            writer.CSF_11("}");
                            writer.CSF_11("}");
                            writer.CSF_11("function cswmPixO(level)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmTL=level;");
                            writer.CSF_11("cswmTS=0;");
                            writer.CSF_11("if(level<30)");
                            writer.CSF_11("{");
                            writer.CSF_11("var iCount=0;");
                            writer.CSF_11("for(iCount=0;iCount<cswmPI.length;iCount++)");
                            writer.CSF_11("{");
                            writer.CSF_11("eval(cswmOM+\"cswmPopup\"+cswmPI[iCount]+\".style.filter=\\\"progid:DXImageTransform.Microsoft.Pixelate(maxsquare=\\\"+cswmTL+\\\")\\\"\");");
                            writer.CSF_11("}");
                            writer.CSF_11("cswmTTI=setTimeout(\"cswmPixO(cswmTL+8);\",50);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmHP(0);");
                            writer.CSF_11("}");
                            writer.CSF_11("}");
                            break;
                        break;
                        case 2:
                            writer.CSF_11("function cswmScI(level)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmTL=level;");
                            writer.CSF_11("switch(cswmSPnt)");
                            writer.CSF_11("{");
                            writer.CSF_11("case \"below\":");
                            writer.CSF_11("if(level>=0)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(\" + level + \" \" + cswmPW + \" \" + cswmPH + \" 0)\";");
                            writer.CSF_11("cswmPR.style.top=(cswmSIP-cswmPH)+(cswmPH-level);");
                            writer.CSF_11("setTimeout(\"cswmScI(cswmTL-cswmSS);\",50);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + cswmPW + \" \" + cswmPH + \" 0)\";");
                            writer.CSF_11("cswmPR.style.top=cswmSIP;");
                            writer.CSF_11("cswmSA=false;");
                            writer.CSF_11("}");
                            writer.CSF_11("break;");
                            writer.CSF_11("case \"right\":");
                            writer.CSF_11("if(level>=0)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + cswmPW + \" \" + cswmPH + \" \" + level + \")\";");
                            writer.CSF_11("cswmPR.style.left=(cswmSIP-cswmPW)+(cswmPW-level);");
                            writer.CSF_11("setTimeout(\"cswmScI(cswmTL-cswmSS);\",50);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + cswmPW + \" \" + cswmPH + \" 0)\";");
                            writer.CSF_11("cswmPR.style.left=cswmSIP;");
                            writer.CSF_11("cswmSA=false;");
                            writer.CSF_11("}");
                            writer.CSF_11("break;");
                            writer.CSF_11("case \"above\":");
                            writer.CSF_11("if(level>=0)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + cswmPW + \" \" + (cswmPH - level) + \" 0)\";");
                            writer.CSF_11("cswmPR.style.top=cswmSIP+level;");
                            writer.CSF_11("setTimeout(\"cswmScI(cswmTL-cswmSS);\",50);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + cswmPW + \" \" + cswmPH + \" 0)\";");
                            writer.CSF_11("cswmPR.style.top=cswmSIP;");
                            writer.CSF_11("cswmSA=false;");
                            writer.CSF_11("}");
                            writer.CSF_11("break;");
                            writer.CSF_11("case \"left\":");
                            writer.CSF_11("if(level>=0)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + (cswmPW - level) + \" \" + cswmPH + \" 0)\";");
                            writer.CSF_11("cswmPR.style.left=cswmSIP+level;");
                            writer.CSF_11("setTimeout(\"cswmScI(cswmTL-cswmSS);\",50);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + cswmPW + \" \" + cswmPH + \" 0)\";");
                            writer.CSF_11("cswmPR.style.left=cswmSIP;");
                            writer.CSF_11("cswmSA=false;");
                            writer.CSF_11("}");
                            writer.CSF_11("break;");
                            writer.CSF_11("}");
                            writer.CSF_11("}");
                            break;
                        break;
                        case 3:
                            writer.CSF_11("function cswmScI(level)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmTL=level;");
                            writer.CSF_11("switch(cswmSPnt)");
                            writer.CSF_11("{");
                            writer.CSF_11("case \"above\":");
                            writer.CSF_11("if(level>=0)");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(\" + level + \" \" + (cswmPW - level) + \" \" + cswmPH + \" 0)\";");
                            writer.CSF_11("setTimeout(\"cswmScI(cswmTL-cswmSS);\",50);");
                            writer.CSF_11("}");
                            writer.CSF_11("else");
                            writer.CSF_11("{");
                            writer.CSF_11("cswmPR.style.clip=\"rect(0 \" + cswmPW + \" \" + cswmPH + \" 0)\";");
                            

分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: