As most of you probably know, IMS Web Engine and IMS Web
Spinner allow you to assign a HTML link to any Object by using the
Object Editor Link Dialog. This is simple and convenient. When
you create a multi-page project the Editor's ability to keep track of
internal links even after you change a page name is especially
useful.
Sometimes however, you may want to enter a link directly inside a
text Object. Creating a separate Object for multiple links can be
tedious to set up and maintain. A more convenient method is to
enter a link inside a Text, HTML or Rich Text Object. With a little
knowledge of HTML this can be easily accomplished.
A HTML link is created with the Anchor Tag. The tag itself
specifies the URL to be linked to and surrounds a text or picture
that the user can click on. The format is:
<A HREF="http://www.awebpage.com">click here</a>. The Tag
starts with <a. The URL to link to is enclosed in quotes following
the href= command. The text that the user clicks on is between the
> (Greater Than) bracket and the anchor terminating tag </a>.
To create a list of links within a Text or HTML Object, you would
simply combine multiple anchors. I have posted an example at: is3fig2 . For your
information, I used Special Characters as discussed in topic 1 to
display the code needed to produce the link lists. When entering
text into a HTML Object, you can use the <br> tag to start a new
line.
As I mentioned in a previous news letter, I do not normally
recommend that you mix Rich Text and HTML tags. The reason is
that IMS converts the Rich Text format to HTML when you Export
or Publish your project. If you change a Rich Text format such as
the Font Size or Color within a HTML tag, the conversion will mix
the two tags producing incorrect code. If you are careful not to
change any format within a HTML tag, it is possible however, to
mix the two formats successfully. If you do decide to add HTML
code when editing Rich Text and end up with an error, you can
often correct the problem by changing the Object to HTML format,
exiting the editor, re-entering the Editor and then changing the
format back to Rich Text again.
"IMS Web Tips" is a weekly news letter for all web site managers regardless of experience who are looking for detailed information on
creating, maintaining and promoting their web sites.