From 7a821129e4ccce3e5cb9b3d72d3e121908667f7a Mon Sep 17 00:00:00 2001 From: ceb Date: Wed, 6 Nov 2002 23:19:27 +0000 Subject: [PATCH] moved the js functions to a seperate file --- phpgwapi/templates/idsociety/phpgw.xsl | 49 +------------------ phpgwapi/templates/idsociety/scripts.js | 62 +++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 47 deletions(-) create mode 100644 phpgwapi/templates/idsociety/scripts.js diff --git a/phpgwapi/templates/idsociety/phpgw.xsl b/phpgwapi/templates/idsociety/phpgw.xsl index 665fbf052b..fb54721ae0 100644 --- a/phpgwapi/templates/idsociety/phpgw.xsl +++ b/phpgwapi/templates/idsociety/phpgw.xsl @@ -4,6 +4,7 @@ + @@ -34,53 +35,7 @@ <xsl:value-of select="website_title"/> - - + diff --git a/phpgwapi/templates/idsociety/scripts.js b/phpgwapi/templates/idsociety/scripts.js new file mode 100644 index 0000000000..f5257bc773 --- /dev/null +++ b/phpgwapi/templates/idsociety/scripts.js @@ -0,0 +1,62 @@ + + function MM_swapImgRestore() + { //v3.0 + var i,x,a=document.MM_sr; + for(i=0;a&&i0&&parent.frames.length) + { + d=parent.frames[n.substring(p+1)].document; + n=n.substring(0,p); + } + + if(!(x=d[n])&&d.all) x=d.all[n]; + + for (i=0;!x&&i