[phpWebApp-commits] CVS: documentation/templates/mainMenu mainMenu.css,NONE,1.1.2.1 mainMenu.html,1.
Brought to you by:
dashohoxha
|
From: Yves G. <ga...@us...> - 2002-04-13 19:18:13
|
Update of /cvsroot/phpwebapp/documentation/templates/mainMenu
In directory usw-pr-cvs1:/tmp/cvs-serv20719/templates/mainMenu
Modified Files:
Tag: gablin_1
mainMenu.html mainMenu.js mainMenu.php
Added Files:
Tag: gablin_1
mainMenu.css
Log Message:
--- NEW FILE: mainMenu.css ---
#mainMenu-tabs {
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 0 4px;
width: 100%;
z-index: 3;
background-color: rgb(223,223,255);
}
h1 {
text-align: center;
font-size: 1.4em;
font-weight: 600;
font-family: sans-serif;
padding: 0;
}
.mainMenu-between-tabs {
border-bottom: 1px solid rgb(0,0,0);
width: 5px;
}
.mainMenu-tab {
line-height: 1.5em;
vertical-align: top;
border: 1px solid black;
background-color: rgb(255,255,255);
}
.mainMenu-tab-current {
line-height: 1.5em;
vertical-align: top;
border-top: 1px solid rgb(0,0,0);
border-left: 1px solid rgb(0,0,0);
border-right: 1px solid rgb(0,0,0);
border-bottom: none;
background-color: rgb(239,239,255);
}
.mainMenu-tab a {
font-size: 1.0em;
font-family: sans-serif;
padding: 0 2px;
color: rgb(0,0,127);
text-transform: none;
text-decoration: none;
background-color: rgb(255,255,255);
}
.mainMenu-tab-current a {
font-size: 0.9em;
font-family: sans-serif;
padding: 0 2px;
color: rgb(0,0,0);
text-transform: uppercase;
text-decoration: none;
background-color: rgb(239,239,255);
}
.mainMenu-tab-current a:before {
content: "-{ ";
text-decoration: none;
color: rgb(128,128,128);
}
.mainMenu-tab-current a:after {
content: " }-";
text-decoration: none;
color: rgb(128,128,128);
}
.mainMenu-tab-current a:hover, .mainMenu-tab a:hover {
text-decoration: underline;
}
Index: mainMenu.html
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/templates/mainMenu/mainMenu.html,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -C2 -d -r1.2.4.1 -r1.2.4.2
*** mainMenu.html 1 Apr 2002 22:46:44 -0000 1.2.4.1
--- mainMenu.html 13 Apr 2002 19:18:04 -0000 1.2.4.2
***************
*** 3,21 ****
<script language="javascript" src="{{./}}mainMenu.js"></script>
! <div id="tabs">
<h1>phpWebApp Documentation</h1>
<table cellspacing="0"><tr>
<td class="{{class_about}}"
! ><a href="javascript: mainMenu_select('about')">About</a></td>
! <td class="between-tabs"> </td>
<td class="{{class_tutorial}}"
! ><a href="javascript: mainMenu_select('tutorial')">Tutorial</a></td>
! <td class="between-tabs"> </td>
<td class="{{class_user_manual}}"
! ><a href="javascript: mainMenu_select('user_manual')">User Manual</a></td>
! <td class="between-tabs"> </td>
<td class="{{class_developer_docs}}"
! ><a href="javascript: mainMenu_select('developer_docs')">Developer Docs</a></td>
</tr></table>
</div>
--- 3,21 ----
<script language="javascript" src="{{./}}mainMenu.js"></script>
! <div id="mainMenu-tabs">
<h1>phpWebApp Documentation</h1>
<table cellspacing="0"><tr>
<td class="{{class_about}}"
! ><a href="javascript: mainMenu_select('about')">About</a></td>
! <td class="mainMenu-between-tabs"> </td>
<td class="{{class_tutorial}}"
! ><a href="javascript: mainMenu_select('tutorial')">Tutorial</a></td>
! <td class="mainMenu-between-tabs"> </td>
<td class="{{class_user_manual}}"
! ><a href="javascript: mainMenu_select('user_manual')">User Manual</a></td>
! <td class="mainMenu-between-tabs"> </td>
<td class="{{class_developer_docs}}"
! ><a href="javascript: mainMenu_select('developer_docs')">Developer Docs</a></td>
</tr></table>
</div>
Index: mainMenu.js
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/templates/mainMenu/mainMenu.js,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -C2 -d -r1.1 -r1.1.4.1
*** mainMenu.js 15 Dec 2001 06:04:25 -0000 1.1
--- mainMenu.js 13 Apr 2002 19:18:04 -0000 1.1.4.1
***************
*** 2,5 ****
function mainMenu_select(selected)
{
! GoTo("thisPage?event=mainMenu.select(tab="+selected+")");
}
--- 2,5 ----
function mainMenu_select(selected)
{
! GoTo("thisPage?event=mainMenu.select(tab="+selected+")");
}
Index: mainMenu.php
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/templates/mainMenu/mainMenu.php,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -d -r1.3.4.1 -r1.3.4.2
*** mainMenu.php 1 Apr 2002 22:46:44 -0000 1.3.4.1
--- mainMenu.php 13 Apr 2002 19:18:04 -0000 1.3.4.2
***************
*** 44,50 ****
function mainMenu_onRender()
{
! //add backgroung variables for the tabs
WebApp::addVars( array(
! "class_tutorial" => "mainMenu-tab",
"class_user_manual" => "mainMenu-tab",
"class_developer_docs" => "mainMenu-tab",
--- 44,50 ----
function mainMenu_onRender()
{
! //add class variables for the tabs
WebApp::addVars( array(
! "class_tutorial" => "mainMenu-tab",
"class_user_manual" => "mainMenu-tab",
"class_developer_docs" => "mainMenu-tab",
|