PVII Drop Menu Magic Advanced Current Marker
URL Match Option

Overview

The URL Match option allows you to select the link value (the href) of any one of the existing links in the Drop Menu Magic system as the target for the current marker. When the page loads, the system will look for this link value in the menu markup. If a match is found it will apply the current marker style class (current_mark) to the menu link.

The simplest and most direct method for Advanced Current Marking is to use the Text Option. However, there may be occasions where you have duplicate text values in the menu. In these cases you can use the URL match option to target a specific link for current marking.

This feature should only be used on pages that are NOT linked in the menu. The Advanced Current Marker is designed to address current marking only for those pages that are not represented in the menu. If the page does have a corresponding link in the menu then that link will be used by the default current marker instead.

Opening the Advanced Current Marker

To open the interface:

-Click inside the DMM menu that you wish to act on.

-Choose Commands > Studio VII > Drop Menu Magic by PVII > Advanced Current Marker Options...

Choosing the Advanced Current Marker Command

Note: The Advanced Current Marker option will be unavailable (grayed out) if there is no Drop Menu Magic html markup on the page or if you have not clicked on the menu you wish to act on.

The Advanced Current Marker user interface will open.

The Advanced Current Marker Interface

The interface has four options from which to choose. The radio button to the left of each option determines which option is currently active. The default setting is always the second option.

Select the Current Marker Option

-Click on the third radio button to select the URL Match option.

Selecting the Link Text option

Select the URL to Match

The URL Match option includes a drop down listing of the link values (href) for all of the links in your menu.

For this example, let's assume that you have a page that pertains to the "Products" section of your site, but this page is not represented as a link in the menu. Your products section is represented in the menu with a link (href) value of page_three.htm.

-Select page_three.htm in the listing.

Selecting the URL to match

This tells the system to look for the link value (href) in the menu that contains page_three.htm. When it's found, the special current marker style class is assigned to it.

Finished

-Click the OK button to apply the selected Advanced Current Marker to the current page.

Click the OK button

-You can preview and test the menu now.

Note: If your preferences are set to Preview using temporary file, this feature will not work locally. To preview locally, turn off the Preview using temporary file option in Dreamweaver Preferences.