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

Display menu matching url id wild card

Poster: Maz
Dated: Thursday June 17 2004 - 18:49:14 BST

Hey Guys and Gals I have a url match question.

I have an if statement for when the menu should display, if not then I get everything else. I want to change that to all articles.

I'll probably need a new if statement to match a wild card id for article so it doesn't display "category_id=1"

Something like:

if (location.pathname == "*"){

What do I use here * as a wild card?

Thank you,