Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\js\smalltabs.jsp
<% /****************************************************************************** * Copyright (c) 2000-2004 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. * * ******************************************************************************/ %><%@page session="true" import="com.edeal.frontline.*,java.util.*"%><%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><fl:allowAnonymousAccess/><% response.setContentType("application/x-javascript"); %> function swapSmallTabs(tabSetName, inOut, sTabPos) { var selectedSTab = eval(tabSetName + "_selectedSTab"); var nbSTabs = eval(tabSetName + "_nbSTabs"); window.setTimeout( function() { if ($("#ATTACHMENT").length) $("#ATTACHMENT").addClass("refresh"+Math.random()); }, 1500); if (selectedSTab == sTabPos) { return; } var csTab = document.getElementById(tabSetName + "_stab" + sTabPos); var leftImgName = tabSetName + "_swapPict" + (sTabPos == 0 ? "" : sTabPos - 1); var rightImgName = tabSetName + "_swapPict" + sTabPos; if (inOut == "out") { csTab.style.backgroundImage = "url(<fl:webapp/>/icons/smalltabs/bg_unselect.gif)"; //cell2_fd.gif if (sTabPos == 0) { document.images[leftImgName].src = "<fl:webapp/>/icons/smalltabs/bd_n-g.gif"; //cell1_fdgris.gif } else { if (selectedSTab == (sTabPos - 1) ) { document.images[leftImgName].src = "<fl:webapp/>/icons/smalltabs/bd_w-g.gif"; //cell_interblancgris.gif } else { document.images[leftImgName].src = "<fl:webapp/>/icons/smalltabs/bd_g-g.gif"; //cell3_intergris.gif } } if (sTabPos == nbSTabs - 1) { document.images[rightImgName].src = "<fl:webapp/>/icons/smalltabs/bd_g-n.gif"; //cellfin_gris.gif } else { if (selectedSTab == (sTabPos + 1) ) { document.images[rightImgName].src = "<fl:webapp/>/icons/smalltabs/bd_g-w.gif"; //cell_intergrisblanc.gif } else { document.images[rightImgName].src = "<fl:webapp/>/icons/smalltabs/bd_g-g.gif"; //cell3_intergris.gif } } } else { // in csTab.style.backgroundImage = "url(<fl:webapp/>/icons/smalltabs/bg_select.gif)"; //cell2_fdblanc.gif if (sTabPos == 0) { document.images[leftImgName].src = "<fl:webapp/>/icons/smalltabs/bd_n-w.gif"; //cell1_blanc.gif } else { if (selectedSTab == (sTabPos - 1) ) { document.images[leftImgName].src = "<fl:webapp/>/icons/smalltabs/bd_w-w.gif"; //cell_interblancs.gif } else { document.images[leftImgName].src = "<fl:webapp/>/icons/smalltabs/bd_g-w.gif"; //cell_intergrisblanc.gif } } if (sTabPos == nbSTabs - 1) { document.images[rightImgName].src = "<fl:webapp/>/icons/smalltabs/bd_w-n.gif"; //cellfin_blanc.gif } else { if (selectedSTab == (sTabPos + 1) ) { document.images[rightImgName].src = "<fl:webapp/>/icons/smalltabs/bd_w-w.gif"; //cell_interblancs.gif } else { document.images[rightImgName].src = "<fl:webapp/>/icons/smalltabs/bd_w-g.gif"; //cell_interblancgris.gif } } } } function selectSmallTab(tabSetName, sTabPos) { // If the window is not fully loaded, then tab selection is not allowed // the ed_loaded property is set @ global_js level if (!window.document.ed_loaded) return; var selectedSTab = eval(tabSetName + "_selectedSTab"); var nbSTabs = eval(tabSetName + "_nbSTabs"); if (selectedSTab == sTabPos) { return; } // Changement de l'onglet var prevTab = document.getElementById(tabSetName + "_stab" + selectedSTab); prevTab.className = "stabunselected"; var nextTab = document.getElementById(tabSetName + "_stab" + sTabPos); nextTab.className = "stabselected"; eval(tabSetName + "_selectedSTab = " + sTabPos + ";"); swapSmallTabs(tabSetName, "out", selectedSTab); // Visibilite des contenus var prevDivId = eval(tabSetName + "_divIds[" + selectedSTab + "]"); var nextDivId = eval(tabSetName + "_divIds[" + sTabPos + "]"); var prevDiv = document.getElementById(prevDivId); var nextDiv = document.getElementById(nextDivId); prevDiv.style.display = "none"; nextDiv.style.display = "inline"; // Execution du JavaScript var jsEval = eval(tabSetName + "_jsEvals[" + sTabPos + "]"); if (jsEval && jsEval != "") { eval(jsEval); } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de