[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/skins/default/phpgw.xsl, 1.1.1.1.2.29
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/skins/default/phpgw.xsl, 1.1.1.1.2.29 |
Date: |
Fri, 21 May 2004 18:30:18 -0000 |
Update of /api/skins/default
Modified Files:
Branch: proposal-branch
phpgw.xsl
date: 2004/04/24 20:38:20; author: seek3r; state: Exp; lines: +64 -24
Log Message:
changed menu system to drop downs
=====================================================================
Index: api/skins/default/phpgw.xsl
diff -u api/skins/default/phpgw.xsl:1.1.1.1.2.28
api/skins/default/phpgw.xsl:1.1.1.1.2.29
--- api/skins/default/phpgw.xsl:1.1.1.1.2.28 Fri Apr 16 20:59:49 2004
+++ api/skins/default/phpgw.xsl Sat Apr 24 20:38:20 2004
@@ -19,6 +19,23 @@
</xsl:for-each>
<link rel="icon" href="favicon.ico" type="image/x-ico" />
<link rel="shortcut icon" href="favicon.ico" />
+ <script>
+ function autoshowhidediv(divid){
+
if(document.getElementById(divid).style.visibility == 'hidden'){
+ showdiv(divid);
+ } else {
+ hidediv(divid);
+ }
+ }
+ function showdiv(divid){
+ document.getElementById(divid).style.display =
'block';
+ document.getElementById(divid).style.visibility
= 'visible';
+ }
+ function hidediv(divid){
+ document.getElementById(divid).style.display =
'none';
+ document.getElementById(divid).style.visibility
= 'hidden';
+ }
+ </script>
</head>
<body bgcolor="#e5e5e5">
<div style="position:absolute; left:4; top:4; bottom:0; padding:0;
width:98%; height:99%;">
@@ -93,15 +110,32 @@
<table cellSpacing="0" cellPadding="0" width="100%"
border="0">
<tr vAlign="top">
<td width="5"> </td>
- <td valign="top" width="1">
+ <td width="2"> </td>
+ <td valign="top">
+ <table border="0"
cellSpacing="0" cellPadding="0" width="99%">
+ <tr>
+ <td>
+
<!--<xsl:apply-templates select="PHPGW/API/hooks/hooks_item" />-->
+
<xsl:choose>
+
<xsl:when test="PHPGW/APP != '' or /PHPGW/APPHTML">
+
<form method="POST" name="phpgw_form" action="{/PHPGW/API/baseurl}">
+
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
+
<tr>
+
<td vAlign="top" height="100%">
+
+
<table cellSpacing="0" cellPadding="0"
width="100%" border="0"><tr align="left">
+
<xsl:if
test="count(/PHPGW/API/apps/apps_item) > 0">
- <table class="sidebox"
cellSpacing="1" cellPadding="0" width="100%" border="0">
+ <td align="left" width="1%">
+ <div
onMouseover="javascript:showdiv('apimenu{position()}');"
onMouseout="javascript:hidediv('apimenu{position()}');">
+ <table class="sidebox"
cellSpacing="1" cellPadding="0" width="100%" border="0">
<tr>
- <td
class="sideboxtitle" align="center" height="28"><xsl:value-of
select="/PHPGW/address@hidden'General Menu']"/></td>
+ <td
class="sideboxtitle" align="center" height="28"><a onMouseOver="" onMouseout=""
onClick="javascript:autoshowhidediv('apimenu{position()}');"><xsl:value-of
select="/PHPGW/address@hidden'General Menu']"/></a></td>
</tr>
<tr>
- <td
class="sideboxcontent" bgColor="#efefef">
- <table
class="sideboxtext" cellSpacing="0" cellPadding="0" width="100%" border="0"
valign="top">
+ <td>
+ <div
id="apimenu{position()}" style="float:left; width:150px;position: absolute;
visibility: hidden;">
+ <table
class="sideboxcontent" bgColor="#efefef" cellSpacing="0" cellPadding="0"
width="100%" border="0" valign="top">
<xsl:for-each select="/PHPGW/API/apimenu/apimenu_item">
<xsl:variable name="op" select="op" />
<tr>
@@ -117,19 +151,23 @@
</tr>
</xsl:for-each>
</table>
+ </div>
</td>
</tr>
</table>
-
+ </div>
+ </td>
<xsl:for-each
select="/PHPGW/API/appmenus/appmenus_item">
- <br />
+ <td align="left" width="1%">
+ <div
onMouseover="javascript:showdiv('appmenu{position()}');"
onMouseout="javascript:hidediv('appmenu{position()}');">
<table class="sidebox"
cellSpacing="1" cellPadding="0" width="100%" border="0">
<tr>
- <td
class="sideboxtitle" align="center" height="28"><xsl:value-of
select="title"/></td>
+ <td
class="sideboxtitle" align="center" height="28"><a onMouseOver="" onMouseout=""
onClick="javascript:autoshowhidediv('appmenu{position()}');"><xsl:value-of
select="title"/></a></td>
</tr>
<tr>
- <td
class="sideboxcontent" bgColor="#efefef">
- <table
class="sideboxtext" cellSpacing="0" cellPadding="0" width="100%" border="0"
valign="top">
+ <td>
+ <div
id="appmenu{position()}" style="float:left; width:150px;position: absolute;
visibility: hidden;">
+ <table
class="sideboxcontent" bgColor="#efefef" cellSpacing="0" cellPadding="0"
width="100%" border="0" valign="top">
<xsl:for-each select="links/links_item">
<tr>
<td vAlign="top" align="center"><font
color="#ff9933">*</font></td>
@@ -144,24 +182,26 @@
</tr>
</xsl:for-each>
</table>
+ </div>
</td>
</tr>
</table>
+ </div>
+ </td>
</xsl:for-each>
</xsl:if>
- </td>
- <td width="2"> </td>
- <td valign="top">
- <table border="0"
cellSpacing="0" cellPadding="0" width="99%">
- <tr>
- <td>
-
<!--<xsl:apply-templates select="PHPGW/API/hooks/hooks_item" />-->
-
<xsl:choose>
-
<xsl:when test="PHPGW/APP != '' or /PHPGW/APPHTML">
-
<form method="POST" name="phpgw_form" action="{/PHPGW/API/baseurl}">
-
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
-
<tr>
+ <td width="99%"></td></tr></table>
+
+
+
+
</td>
+
</tr>
+
<tr>
<td vAlign="top" height="100%">
+
+
+
+
<table align="center" class="box"
cellSpacing="1" cellPadding="0" width="100%" border="0">
<tr>
<td height="23"
colSpan="2" align="center" class="articletitle">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/skins/default/phpgw.xsl, 1.1.1.1.2.29,
nomail <=