phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/templates/justweb phpgw.xsl,NONE,1.1 sc


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/justweb phpgw.xsl,NONE,1.1 scripts.js,NONE,1.1
Date: Fri, 08 Nov 2002 17:35:46 -0500

Update of /cvsroot/phpgroupware/phpgwapi/templates/justweb
In directory subversions:/tmp/cvs-serv6943

Added Files:
        phpgw.xsl scripts.js 
Log Message:
moved justweb to use xslt

***** Error reading new file: [Errno 2] No such file or directory: 'phpgw.xsl'
--- NEW FILE ---

                                        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);
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Home", "{home}"));
                                                myNavBar1.addMenu(dhtmlMenu);

                                                dhtmlMenu = new NavBarMenu(60, 
140);
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Edit", ""));
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Add new Appointment", "{appt}"));
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Add new Todo", "{todo}"));
                                                myNavBar1.addMenu(dhtmlMenu);

                                                dhtmlMenu = new NavBarMenu(125, 
140);
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Preferences", ""));
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("General", "{prefs}"));
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Email", "{email}"));
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Calendar", "{calendar}"));
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Addressbook", "{addressbook}"));
                                                myNavBar1.addMenu(dhtmlMenu);

                                                dhtmlMenu = new NavBarMenu(62, 
120);
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("Help", ""));
                                                dhtmlMenu.addItem(new 
NavBarMenuItem("General", ""));
                                                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);
                                                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]