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: Menu Images
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:15

Pagematch with images?


Poster: dubbelepunt
Dated: Monday August 16 2004 - 14:05:32 BST

I'm using the Milonic menu system on a client's website. This works great, but now my client requested to highlight the active menu item.

I found out about the pagematch property, but this only seems to work with text-based menu's, not with image-based menu's? So I want to display the 'overimage' on the active page. Removing the images to display text is not an option.

So, is there a way to show the active menu item with images?
Unfortunately I'm not allowed to show the site I'm working on...

Thanks!


Poster: Andy
Dated: Monday August 16 2004 - 14:21:10 BST

Hi,

Try declaring a pageimage. This should change the image based on current page.

Hope this helps
Andy


Poster: dubbelepunt
Dated: Monday August 16 2004 - 14:26:11 BST

thanks for your quick reply!

I read about pageimage too... what I understood is that this is one image, that is displayed on the highlighted menu item. So one image for the entire menu.
But I want to display the overimage for the hightlighted image, which is (of course) different for each item. And not the same image for every button...

Can I use pageimage to do this? I think I am missing something here :?


Poster: Andy
Dated: Monday August 16 2004 - 14:29:07 BST

Any of the properties that are declared as a style can also be applied for a single menu item.

If you want pageimage to be different for each menu item, you can declare the pageimage for each menu item within the aI() text string, then the appropriate image will be displayed based on URL match

Hope this is what you are looking for
-- Andy


Poster: dubbelepunt
Dated: Monday August 16 2004 - 14:31:36 BST

I think it is! :)
I'll have a look at it, I'll let you know if it works!


Poster: dubbelepunt
Dated: Monday August 16 2004 - 15:11:08 BST

this works very well indeed, thanks :D

a related question just occured... I have some wizard-like pages, through which the user can navigate with a 'next' and 'previous' button. These buttons (and the url's to those pages) are not mentioned in the menu code. Because of this, the highlight will not work for these pages...

Mentioning those page in the pagematch property doesn't seem to work either. Is there another way to do this?


Poster: Ruth
Dated: Sunday September 5 2004 - 12:35:32 BST

Yes, it can be done, but it depends on what you're trying to do and how you set up your site folders.Try this posted question about page matching. You might try a search of the topic pagematch or page matching and there may be something else to help.

Ruth