current page indicator

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
amanda
Beginner
Beginner
Posts: 7
Joined: Mon Apr 16, 2007 5:54 pm

current page indicator

Post by amanda »

I was wondering if anyone has had luck with using relative urls and getting the pagebgimage to show? It works fine with an absolute url in the aI declaration. I am creating another fabulous Milonic menu and the absolute path will change once the site goes live. I just wanted to save some time now so i don't have to find/replace the urls later. Thanks!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I think you'd need to either use the full url, or use pagematch in each item, but I think the pagematch would have to begin with the first folder under the 'root' directory. You could use a 'match' to a folder, also, for example pagematch=/aboutus/. That will show a match on the item for any page that is listed in that folder.

I know the page properties work if the page it is matching is in the main directory. For example, on the Milonic main site, if mouseover About Milonic and then in the submenu click on About Us, you will get the pageimage double red arrow on the about us, and in the menu_data.php file the aI for this is

Code: Select all

aI("text=About Us;url=/aboutus.php;
I can only suggest that you try using pagematch and a relative path that starts from the 'root' In other words not using the domain name but everything from that point on...hope that made sense.
Ruth
amanda
Beginner
Beginner
Posts: 7
Joined: Mon Apr 16, 2007 5:54 pm

Post by amanda »

YES! Pagematch worked great! I will have to post my new menu when the site is live =]

Thanks and thanks for your thought on other posts i have had !
Post Reply