Setting Index/start page?
Setting Index/start page?
Is there a way to let the menu know what page name is for the default page of the website? On all of my sites, I use home.asp as the main page, which the user gets if they just go to URL. However, Milonic does not use the pagecolor or pagebgcolor settings in the menu for that page if they just come to website via the base URL without the page name.
That's what I was looking for
Thanks Ruth, that's what I was looking for. I just failed to notice that property before.
Doesn't work
Hi Ruth,
This does not work for what I am wanting to do. It seems that in order for the pagematch feature to work, a file name actually has to be called in the URL. The problem is that when a user first goes to a website, there is no file name in URL, ie. http://www.yahoo.com.
What I want to be able to do is have the home page (or index page) show as selected when someone first goes to the website by simply typing in the URL, with no file name. The pagematch does not work because the milonic menu is reading the URL to get the actual file name being called, which obviously in this case does not exist.
This does not work for what I am wanting to do. It seems that in order for the pagematch feature to work, a file name actually has to be called in the URL. The problem is that when a user first goes to a website, there is no file name in URL, ie. http://www.yahoo.com.
What I want to be able to do is have the home page (or index page) show as selected when someone first goes to the website by simply typing in the URL, with no file name. The pagematch does not work because the milonic menu is reading the URL to get the actual file name being called, which obviously in this case does not exist.
Hi,
I don't think you'll be able to do that since there's no page there, and if you use pagematch=www.whatever with no page, then when they click on a link to it that has a page, it won't match.
I can suggest guaranteed way of doing it, but it does involve having two menu_data.js files. You'd make one for the main page, which had the offbgcolor set to the same color as the pagebgcolor that you are using for all the page highlighting in your now existing menu_data.js file, then on that main page only you'd call that data file. Not elegant, but it would work no matter how the person got to that page since it's actually the offbgcolor that is showing.
I'll try some experimenting and see what else I can figure out, if anything.
Ruth
I don't think you'll be able to do that since there's no page there, and if you use pagematch=www.whatever with no page, then when they click on a link to it that has a page, it won't match.
I can suggest guaranteed way of doing it, but it does involve having two menu_data.js files. You'd make one for the main page, which had the offbgcolor set to the same color as the pagebgcolor that you are using for all the page highlighting in your now existing menu_data.js file, then on that main page only you'd call that data file. Not elegant, but it would work no matter how the person got to that page since it's actually the offbgcolor that is showing.
I'll try some experimenting and see what else I can figure out, if anything.
Ruth