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:47
PageImage for a page not in the menu
Poster: Juree
Dated: Saturday April 16 2005 - 4:58:40 BST
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!
Poster: kevin3442
Dated: Saturday April 16 2005 - 7:45:19 BST
Hi,
You could try including the pagematch property in the aI() definition for your "eNewsletter" menu item. e.g.,
Code:
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
Poster: Ruth
Dated: Saturday April 16 2005 - 16:47:25 BST
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