Search DominoPower's 11,420 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
A dynamic menu management system for the Web and Notes (continued)

A simple tool that I use for creating buttons is Hot Buttons from Jalapeno software (at http://www.jalapenosoftware.com). There are probably many other great software packages for creating menu images but I haven't found one as simple, quick and cheap as this one. Plus, the buttons it creates also look good in a Notes navigator. [This tip alone is worth the price of admission! -- DG]

The "heart" of the system: The Menu Item Form
The heart of the system is the Menu Item Form, which can be seen in Figure A. This form collects all of the vital information about a link that can be used for maximum effectiveness. Rather than just gathering the name of the link and the URL that it pointed to, I also wanted to gather other information that could be useful.

FIGURE A


The Menu Item Form collects a lot of useful information about a link. Roll over picture for a larger image.

Table A contains a rundown of the most important fields on the form and what their purpose is. Don't be confused comparing Figure A with the table -- I'm describing only the most important fields here.

Field Name Description
NotesDocLink This is a rich-text field where I pasted the Notes doclink if there was one. I'll tell you why later.
MenuItemHeading This is a keyword field with an @DbColumn formula that enables me to pick one of the menu item headings that has already been defined with the menu heading form.
MenuHeadingGIF and MenuHeadingRank These are both computed fields that use an @DbLookup formula (based on contents of the MenuItemHeading field) to find out the URL for the Menu Heading GIF and to calculate the ranking of this heading.
MenuItemTarget This is a radio button field that is used by the framed version of the Web Menu View.
StatusBarMessage This is a text field that contains a description of the link that is put in the status bar of the browser when the mouse moves over the link.

I'll show you how I use the MenuItemTarget and StatusBarMessage fields later in this article.

The "eyes" of the system: The Web Menu View
Creating Web views with HTML has always been one of my favorite things to do (OK, so I'm easily amused!). And I definitely had fun creating the Web Menu View that brings this whole system together. The greatest advantage, of course, to making every link a document is that you can view them in myriad ways without changing the information.

There are actually two slightly different versions of the Web Menu View, one that works in a framed environment and one that can be inserted directly on a regular page (in a $$ViewBody field). You can see how the Web Menu View looks in design mode in Figure B.

FIGURE B


Here is how the Web Menu View looks in design mode. This is the non-frames version. Roll over picture for a larger image.

There are hidden columns in each view that sort the menu items into exactly the order I want them (using both the MenuHeadingRank and MenuItemRank fields). All but two columns are hidden. The first visible column is sorted ascending and categorized on either the MenuItemHeading or the MenuHeadingName, depending on whether or not you have an image for the heading or not. Here's the formula:


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Lotus Technologies > Notes (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
Latest Lotus Headlines
New Notes/Domino Technotes published about Chile's extended daylight saving time
SnnT: How to prevent Google from listing your Sametime Server
How to send someone an email that shows your calendar availability
"The collection has become invalid"
More XPages onclick event weirdness...
Domino 8.5.1 Fix Pack 1 Interim Fix 1 (8.5.1 FP1 IF1) - DAOS Fixes
Domino Designer 8.5 Tip: Where Working Sets Are Stored
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Make Mafia Wars an offer it can't refuse
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Removing an Office installation that doesn't want to go away
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your mail and ACL groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.

Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).

Tap here to get started!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login