egroupware_official/phpgwapi/templates/justweb/head.tpl

80 lines
2.9 KiB
Smarty
Raw Normal View History

2001-01-09 22:35:30 +01:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset={charset}">
2001-01-09 22:35:30 +01:00
<META name="AUTHOR" content="phpGroupWare http://www.phpgroupware.org">
<META NAME="description" CONTENT="phpGroupWare">
<META NAME="keywords" CONTENT="phpGroupWare">
<LINK REL="ICON" href="{img_icon}" type="image/x-ico">
<LINK REL="SHORTCUT ICON" href="{img_shortcut}">
2001-01-09 22:35:30 +01:00
<STYLE type="text/css">
<!--
a { text-decoration:none; }
A:link{ text-decoration:none }
A:visted{ text-decoration:none }
A:active{ text-decoration:none }
body { margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: {font_family} }
.tablink { color: #000000; }
{app_css}
-->
2001-01-09 22:35:30 +01:00
</STYLE>
<TITLE>{website_title}</TITLE>
<script type="text/javascript" language="javascript" src="{webserver_url}/phpgwapi/templates/justweb/navcond.js"></script>
<script type="text/javascript" language="javascript">
2001-01-09 22:35:30 +01:00
var myNavBar1 = new NavBar(0);
var dhtmlMenu;
//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width in pixels)
//add more menus simply by adding more "blocks" of same code below
dhtmlMenu = new NavBarMenu(60, 120);
2001-04-18 19:03:21 +02:00
dhtmlMenu.addItem(new NavBarMenuItem("Home", "{home}"));
2001-01-09 22:35:30 +01:00
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(60, 140);
dhtmlMenu.addItem(new NavBarMenuItem("Edit", ""));
2001-04-18 19:03:21 +02:00
dhtmlMenu.addItem(new NavBarMenuItem("Add new Appointment", "{appt}"));
dhtmlMenu.addItem(new NavBarMenuItem("Add new Todo", "{todo}"));
2001-01-09 22:35:30 +01:00
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(125, 140);
dhtmlMenu.addItem(new NavBarMenuItem("Preferences", ""));
2001-04-18 19:03:21 +02:00
dhtmlMenu.addItem(new NavBarMenuItem("General", "{prefs}"));
dhtmlMenu.addItem(new NavBarMenuItem("Email", "{email}"));
dhtmlMenu.addItem(new NavBarMenuItem("Calendar", "{calendar}"));
dhtmlMenu.addItem(new NavBarMenuItem("Addressbook", "{addressbook}"));
2001-01-09 22:35:30 +01:00
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(62, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Help", ""));
2001-04-18 19:03:21 +02:00
dhtmlMenu.addItem(new NavBarMenuItem("General", ""));
2001-01-09 22:35:30 +01:00
myNavBar1.addMenu(dhtmlMenu);
//set menu colors
myNavBar1.setColors("#343434", "#eeeeee", "#60707C", "#ffffff", "#888888", "#eeeeee", "#60707C", "#ffffff", "#777777")
myNavBar1.setFonts("Verdana", "Normal", "Normal", "10pt", "Verdana", "Normal", "Normal", "10pt");
//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")
var fullWidth;
function init() {
// Get width of window, need to account for scrollbar width in Netscape.
fullWidth = getWindowWidth()
- (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);
myNavBar1.moveTo(10,36);
myNavBar1.resize(500 /*fullWidth*/);
myNavBar1.setSizes(0,1,1);
myNavBar1.create();
myNavBar1.setzIndex(2);
}
</script>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="init();" {body_tags}>