diff options
author | alonso <alonso@us.es> | 2009-11-07 15:28:42 +0000 |
---|---|---|
committer | alonso <alonso@us.es> | 2009-11-07 15:28:42 +0000 |
commit | 902e3b6db4c0d9b617bf4855ce80cf08b82e28c9 (patch) | |
tree | bdfd6aa0d4545e90681c8ad2755e23c3d891189d /admin/WebConsole/jscripts/colasacciones.js | |
parent | a2bd9322aa8e8bfb4244091d8c0cde938895ae19 (diff) |
primeros archivos de administración
git-svn-id: https://opengnsys.es/svn/trunk@522 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/jscripts/colasacciones.js')
-rw-r--r-- | admin/WebConsole/jscripts/colasacciones.js | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/admin/WebConsole/jscripts/colasacciones.js b/admin/WebConsole/jscripts/colasacciones.js index 041542dc..2f58c3b2 100644 --- a/admin/WebConsole/jscripts/colasacciones.js +++ b/admin/WebConsole/jscripts/colasacciones.js @@ -1,4 +1,4 @@ -// ************************************************************************************************************************************************* +// ************************************************************************************************************************************************* // Libreria de scripts de Javascript // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla // Fecha Creación:2003-2004 @@ -541,11 +541,16 @@ var NS=(navigator.appName=="Netscape"); } //________________________________________________________________________________________________________ function ver_notificaciones(o,sw,ida){ - o=o.parentNode - o.childNodes[sw].style.display="none" + return; + + o=o.parentNode // Elemento HREF + o=o.parentNode // Elemento TD + var IMG=o.childNodes[0].childNodes[sw] // Imagen + IMG.style.display="none" sw++ if(sw>1)sw=0 - o.childNodes[sw].style.display="block" + + IMG.style.display="block" while (o.tagName!="TBODY"){ o=o.parentNode @@ -553,10 +558,18 @@ var NS=(navigator.appName=="Netscape"); var oTRs=o.getElementsByTagName('TR') for(var i=0;i<oTRs.length;i++){ if(oTRs[i].getAttribute("id")=='NOT_'+ida || oTRs[i].getAttribute("id")=='PAR_'+ida) + if (oTRs[i].style.visibility=="hidden") oTRs[i].style.visibility="visible" + else + oTRs[i].style.visibility="hidden" + } + /* + for(var i=0;i<oTRs.length;i++){ + if(oTRs[i].getAttribute("id")=='NOT_'+ida || oTRs[i].getAttribute("id")=='PAR_'+ida) if (oTRs[i].style.display=="none") oTRs[i].style.display="block" else oTRs[i].style.display="none" - } + } + */ } //________________________________________________________________________________________________________ function vertabla_calendario(ofecha){ |