The MediaRichâ„¢ Locators (MRLs) used to
generate and display the top level navigation graphics are:
/mgen/MRDemos%3A/Scripts/navigation/
navigation.ms
?f=makeNav&nav= 1
&col= 0
&font= arial
&stat= off
&txt= COMPANY
/mgen/MRDemos%3A/Scripts/navigation/
navigation.ms
?f=makeNav&nav= 1
&col= 0
&font= arial
&stat= off
&txt= TEMPLATE
/mgen/MRDemos%3A/Scripts/navigation/
navigation.ms
?f=makeNav&nav= 1
&col= 0
&font= arial
&stat= off
&txt= ELEMENTS
In addition to automatically modifying
existing images, MediaRich can create images from scratch based on information
in a content management system or database. As you can see from the MRLs,
MediaRich does not call any existing images to create the navigation.
Instead, MediaRich creates all the
navigational elements on the page using the functions makeText() and
makeCanvas() from navigation.ms
, along with the text (e.g.,
COMPANY
), font ( arial
), and style color ( 0
) variables. Secondary navigation on
the page is created using the same MediaScriptâ„¢. The only difference is that
the "nav" variable is set to
2 instead of
1 .
MediaRich also generates graphics for
the rollover state of each navigational element. When you roll over a menu
item, new information is sent to the MediaRich image server, which
automatically creates a new graphic.
If you wanted to make this page without MediaRich, you would need to manually
create at least 20 unique images (3 top nav, 7 left nav, plus a rollover state
for each). With MediaRich, you don't have to create any; plus you can change
the content or look of the navigation quickly and easily.
|