PageImage for a page not in the menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Juree
Advanced
Advanced
Posts: 11
Joined: Sat Apr 16, 2005 4:38 am

PageImage for a page not in the menu

Post by Juree »

Hi -

I have a development site that I working your menu into. I have a couple of process pages that are not represented in the menu. For example, I have an eNewsletter signup page that passes information to a second page that processes the information and displays a confirmation. This second page is not available on the menu (you can only get there by submitting info from the first page).

My problem is that I don't see how I can indicate to the second page that it belongs to the same menu selection as the first page.

You can see it in action at http://www.juree.com/exagrid2005/news/eNewsletter.asp Fill in the form with whatever data and submit. On this eNewsletter.asp page the "eNewsletter" menu shows as selected. The next page eNewsletter_thankyou.asp does not show any menu as selected.

Is there a way to have this second page have the same menu selection without having it available as a link in that menu?

Thanks in advance for your help!
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi,

You could try including the pagematch property in the aI() definition for your "eNewsletter" menu item. e.g.,

Code: Select all

aI("pageimage=http://www.juree.com/[etc...];pagematch=eNewsletter;");
If the string assigned to the item's pagematch property appears within the page's url, then it should trigger the item's visual page matching settings. But there is one other thing you'll have to do: I believe the pagematch string is case sensitive. This will be an issue, because the url for the form page is

http://www.juree.com/exagrid2005/news/eNewsletter.asp

but the url for the confirmation page is

http://www.juree.com/exagrid2005/news/e ... ankyou.asp

You see the issue... "eNewsletter" does not equal "enewsletter". You should be able to solve that problem by changing the name of the confirmation page to "eNewsletter_thankyou.asp" (and of course, making the appropriate change to the code in the form page to direct it to the new filename). That way, the URLs for both the form page and the confirmation page will contain the pagematch string, "eNewsletter".

Haven't tried it, but I think it should work (famous last words... ;) )

Cheers,

Kevin
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 Kevin's suggestion will work. If it doesn't try a pagematch to the directory, i.e. pagematch=http://www.juree.com/exagrid2005/news/ However, that will make the News item highlight when any page from that directory is opened, if there is a menu on it.

Ruth
Juree
Advanced
Advanced
Posts: 11
Joined: Sat Apr 16, 2005 4:38 am

Post by Juree »

Kevin,

Your suggestion works like a charm! Thanks for the quick response - not only is your product great but your support is top notch as well!

Thanks again!
Post Reply