pagematch not working w/tertiary navigation
-
- Beginner
- Posts: 6
- Joined: Wed Oct 20, 2004 8:08 pm
pagematch not working w/tertiary navigation
I've implemented the menu in a site that has 3 levels of navigation. I've created a directory structure to mirror the navigation structure so I can use the pagematch to highlight the primary and secondary navigation pages accordingly - it works for the primary and secondary nav - but not the tertiary nav -
here's the example site:
http://www.alittlemoxie.com/dsourcevamain/index.asp
Go to: Education->Diamond Industry
(you'll notice the "Education" and "Diamond Industry" highlighted)
However, within that page, there are tertiary nav categories (Diamond History, etc) If you go one level deeper to the Diamond History page, the "Diamond Industry" doesn't stay highlighted.
I'm using the same method for this nav as I did for the other nav levels - for example:
Education men item:
aI("text=Education;url=http://www.alittlemoxie.com/dsourcevama ... Education/");
Diamond Industry menu item:
aI("text=Diamond Industry;url=http://www.alittlemoxie.com/dsourcevama ... us=Diamond Industry;pagematch=/DiamondIndustry/");
Since the Diamond History page is within the "DiamondIndustry" folder, shouldn't it stay highlighted?
I thought you could use a portion of the URL to check for a "match"
Anyone have any ideas what I'm doing wrong?
I appreciate any input. Thanks!
Vicky
here's the example site:
http://www.alittlemoxie.com/dsourcevamain/index.asp
Go to: Education->Diamond Industry
(you'll notice the "Education" and "Diamond Industry" highlighted)
However, within that page, there are tertiary nav categories (Diamond History, etc) If you go one level deeper to the Diamond History page, the "Diamond Industry" doesn't stay highlighted.
I'm using the same method for this nav as I did for the other nav levels - for example:
Education men item:
aI("text=Education;url=http://www.alittlemoxie.com/dsourcevama ... Education/");
Diamond Industry menu item:
aI("text=Diamond Industry;url=http://www.alittlemoxie.com/dsourcevama ... us=Diamond Industry;pagematch=/DiamondIndustry/");
Since the Diamond History page is within the "DiamondIndustry" folder, shouldn't it stay highlighted?
I thought you could use a portion of the URL to check for a "match"
Anyone have any ideas what I'm doing wrong?
I appreciate any input. Thanks!
Vicky
I think you left out a folder in the match. I think you need
But, I don't know for sure since I can't test that on the desktop.
Ruth
Code: Select all
pagematch=/Education/DiamondIndustry/
Ruth
-
- Beginner
- Posts: 6
- Joined: Wed Oct 20, 2004 8:08 pm
I don't see where you have a path to DiamondIndustry.
http://www.alittlemoxie.com/dsourcevama ... ustry.asp;
Did you try taking off pagematch?
It looks like you want: diamonds-diamond-industry.asp
would a partial match work if you used just: diamond?
Sorry if I'm not much help.
maz
http://www.alittlemoxie.com/dsourcevama ... ustry.asp;
Did you try taking off pagematch?
It looks like you want: diamonds-diamond-industry.asp
would a partial match work if you used just: diamond?
Sorry if I'm not much help.
maz
-
- Beginner
- Posts: 6
- Joined: Wed Oct 20, 2004 8:08 pm
Well, I want to use partial matching b/c I want the "Diamond Industry" to be highlighted when you go to any page one level deeper (the tertiary nav that's part of the page above the text - History of Diamonds,etc...
It's when I go to those pages which reside in this folder:
http://www.alittlemoxie.com/dsourcevama ... dIndustry/
that I wan the "Diamond Industry" to be highlighted in the secondary nav (along the site)
I didn't include the folder above these "dsourcevamain" b/c this site is only temporarily posted and will eventually reside on it's own domain - and the other page matches are working without it...
Anyone have any other suggestions?
It seems like it should be so straight-forward - I feel like I'm missing something obvious...
It's when I go to those pages which reside in this folder:
http://www.alittlemoxie.com/dsourcevama ... dIndustry/
that I wan the "Diamond Industry" to be highlighted in the secondary nav (along the site)
I didn't include the folder above these "dsourcevamain" b/c this site is only temporarily posted and will eventually reside on it's own domain - and the other page matches are working without it...
Anyone have any other suggestions?
It seems like it should be so straight-forward - I feel like I'm missing something obvious...
-
- Beginner
- Posts: 6
- Joined: Wed Oct 20, 2004 8:08 pm
Hi Ruth!
Thank you SO much for putting together the example you did!!!!
I just looked at it - and your files - and realize why my menus aren't working how I want them to -
You actually have the Diamonds Industry page inside the Diamond Industry folder - Since my folder structure mirrored my nav structure, and the Diamonds Industry page is only the second level of nav, it was in the /Education/ folder - not the /Education/DiamondIndustry/ folder - where all the subpages were -
It seems in order to use pagematch, the file has to reside in the folder you're trying to match - for example:
this won't work:
aI("text=Diamond Industry;url=http://www.alittlemoxie.com/dsourcevama ... us=Diamond Industry;pagematch=/Education/DiamondIndustry/");
But this will work:
aI("text=Diamond Industry;url=http://www.alittlemoxie.com/dsourcevama ... us=Diamond Industry;pagematch=/Education/DiamondIndustry/");
I knew I was over-looking something -
Thanks so much for your help!!
Vicky
Thank you SO much for putting together the example you did!!!!
I just looked at it - and your files - and realize why my menus aren't working how I want them to -
You actually have the Diamonds Industry page inside the Diamond Industry folder - Since my folder structure mirrored my nav structure, and the Diamonds Industry page is only the second level of nav, it was in the /Education/ folder - not the /Education/DiamondIndustry/ folder - where all the subpages were -
It seems in order to use pagematch, the file has to reside in the folder you're trying to match - for example:
this won't work:
aI("text=Diamond Industry;url=http://www.alittlemoxie.com/dsourcevama ... us=Diamond Industry;pagematch=/Education/DiamondIndustry/");
But this will work:
aI("text=Diamond Industry;url=http://www.alittlemoxie.com/dsourcevama ... us=Diamond Industry;pagematch=/Education/DiamondIndustry/");
I knew I was over-looking something -
Thanks so much for your help!!
Vicky
-
- Beginner
- Posts: 6
- Joined: Wed Oct 20, 2004 8:08 pm