[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Web Embedded Outline Text format

Posted on 2007-10-02
5
Medium Priority
?
244 Views
Last Modified: 2013-12-18
I have a web based left menu (using an outline) that's embedded in a page. I'm trying to format the text of the page, but it doesn't seem to work. I tried to change in Embedded Outline 1st tab --- Web Access to Using Java Applet. When I change this it runs and opens a Java screen the displays the outline, display looks good, but I don't want the user to see this loading Java page.
0
Comment
Question by:aentice
  • 3
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
Bill-Hanson earned 2000 total points
ID: 19999181
You will have the most control over the outline if you switch back to HTML.  Domino renders the outline as an HTML table, so you could use styles to format the entries.

If that does not provide the flexibility that you need, then don't use the outline and create your own page using any technique you want (HTML, Javascript, AJAX, Flash).

FYI, Here's the Stylesheet that I use in my menus:

body
{
      background-color: #DDDDDD;
}

table
{
      width: 100%;
}

td
{
      font: 9pt Arial, Helvetica, Geneva;
      border: none;
      padding-left: 0px;
}

/* Standard view links: black text - blue on hover */
a:link
{
      font: 9pt Arial, Helvetica, Geneva;
      color: #000000;
}
a:active
{
      font: 9pt Arial, Helvetica, Geneva;
      color: #000000;
}
a:visited
{
      font: 9pt Arial, Helvetica, Geneva;
      color: #000000;
}
a:hover
{
      font: 9pt Arial, Helvetica, Geneva;
      color: #0000ff;
}

0
 

Author Comment

by:aentice
ID: 19999224
So, I need to created a left menu page with HTML codes in it instead of using the outline?
0
 
LVL 22

Expert Comment

by:Bill-Hanson
ID: 19999403
That depends on what customizations you are trying to make.  If you just want to define the colors and mouse-over behavior, you can use the outline control with the "Web Access" property set to "Using HTML" and include a style sheet on the page.

If you need to provide a complicated interface that the outline control does not support, then yes, I would probably hand-code it using HTML.  You can type the HTML directly on the page, or you can create very advanced menus by using a Form instead of  Page, then adding a "WebQueryOpen" agent that builds the menu dynamically using HTML.

For 99% of the menus that I create, I just use a standard outline control (set to "Using HTML) and a style sheet.

Explain what effects you are trying to achieve, and I'll try to provide a more targeted response.
0
 

Author Comment

by:aentice
ID: 20001389
Works well! One more how do I format the button to display a better color than gray?
0
 
LVL 22

Expert Comment

by:Bill-Hanson
ID: 20002056
There are two ways that I know of.  Unfortunately, Domino does not support external CSS for buttons (at least as of version 6.5.4), but you can still add formatting directly to the button's HTML tab (Style property).

ex:  color: white; background-color: red;

A workaround that I've used so that I can set the style using an external style sheet is to place the button inside of a table cell, then give the table cell a class name (HTML Tab / Cell Class) that is only used for buttons.

ex:  

td.RedButton
{
      border: none;
      padding: 0;
      margin: 0;
      color: white;
      background-color: red;
      font-size: 10pt;
      font-weight: bold;
}
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Integration Management Part 2
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question