Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:31

current page indicator


Poster: amanda
Dated: Thursday August 9 2007 - 23:18:17 BST

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!


Poster: Ruth
Dated: Friday August 10 2007 - 3:32:04 BST

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:
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


Poster: amanda
Dated: Friday August 10 2007 - 14:26:37 BST

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 !