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:40
About that fancy 'You-Are-Here' feature on the Milonic site
Poster: Areometer
Dated: Monday March 1 2004 - 15:54:27 GMT
Hi, I have noticed that this site uses a fancy version of 'you are here'. IE: the current page name is being high-lighted inside the menu. This fancy version uses not just high-lighting, but also a double red arrows to show the right page.
May I ask if we are granted this feature? If yes then where can I read more about it?
On another note, the followscroll="1" + position="relative" no longer work together (when compared to the old 5.0 ver.). This is important I think if one wants his menu to first appear within a table. Then follow-scroll through that exact vertical axis downward when one scrolls down the page. Is there any way to trick these to work together again?
Finally, I wonder if some of the icons used on this site is available for us to use (of course that I will buy the lisence shortly)?
Thank you in advance.
Areometer
Poster: Maz
Dated: Monday March 1 2004 - 18:48:18 GMT
I use pageimage to show an arrow on current page.
maz
It works, but ...
Poster: Areometer
Dated: Tuesday March 2 2004 - 0:16:07 GMT
Thanks. I wonder how come this is not mentioned anywhere else? Right now, mine works for only submenus, but not the 1st level one like this website.
Please take a look here:
http://www.Aquaristics.com - main page
http://www.Aquaristics.com/news_aquaristics.asp - you can test the pageimage parameters here
Thanks.
Areometer
Poster: Maz
Dated: Tuesday March 2 2004 - 0:48:10 GMT
Its probably your paths.
/Milonic2/arrow.gif
remove the ../ and just use /before path on all the others.
maz
Poster: Areometer
Dated: Tuesday March 2 2004 - 1:04:03 GMT
Thanks again for your reply.
My code says:
Quote:
with(menuStyle=new mm_style()){
onbgcolor="#C2E1FE";
oncolor="#000000";
offbgcolor="#FFFFFF";
offcolor="#000000";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="95%";
fontstyle="normal";
fontfamily="Verdana, Arial, Tahoma";
pageimage="/img9/arrowred.gif";
pagecolor="black";
pagebgcolor="#e6e6e6";
headercolor="#000000";
headerbgcolor="lightyellow";
subimage="/Milonic2/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=99);Shadow(color='#777777', Direction=135, Strength=3)";
outfilter="randomdissolve(duration=0.3)";
}
onbgcolor="#C2E1FE";
oncolor="#000000";
offbgcolor="#FFFFFF";
offcolor="#000000";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="95%";
fontstyle="normal";
fontfamily="Verdana, Arial, Tahoma";
pageimage="/img9/arrowred.gif";
pagecolor="black";
pagebgcolor="#e6e6e6";
headercolor="#000000";
headerbgcolor="lightyellow";
subimage="/Milonic2/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=99);Shadow(color='#777777', Direction=135, Strength=3)";
outfilter="randomdissolve(duration=0.3)";
}
But the main menu still has no red arrow shown at the current page. Only the submenus have the red arrows. You can take a look at the actual page here: http://www.aquaristics.com/pro_lightriga.asp
Aqua Connect is highlighted at the main menu but it has no red arrow. Only its submenus (2 layers) have the red arrows.
Thank you again.
Areometer
Poster: Maz
Dated: Tuesday March 2 2004 - 2:08:44 GMT
I don't know if I understand your code, but take this out of the table and place it under the body tag. Remove the ..
<!-- Milonic Menu here-->
<SCRIPT language=JavaScript src="../Milonic2/milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=../Milonic2/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=../Milonic2/mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=JavaScript src="../Milonic2/menu_data.js" type=text/javascript></SCRIPT>
If you want this in a table that's okay:
<SCRIPT language=JavaScript src="../Milonic2/menu_data.js" type=text/javascript></SCRIPT>
Make sure the image is in the folder.
maz
Poster: Areometer
Dated: Tuesday March 2 2004 - 4:04:32 GMT
Hi, I did everything that you suggested. But the result is exactly the same. For some reasons, the red arrow doesn't show in the highlighted main menu.
http://www.aquaristics.com/pro_lightriga.asp
I am not sure if you need to see this code:
Quote:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=10;
left=10;
alwaysvisible=1;
orientation="vertical";
screenposition="center, left";
position="relative";
aI("text= Home;url=http://www.aquaristics.com/;status=Back To Aquaristics Home Page;image=http://www.aquaristics.com/MilonicVertical/home.gif;");
aI("text=<b> Index :</b>;separatorcolor=green;separatorsize=1;type=header;align=left;");
aI("text=Aqua Connect ;showmenu=Aqua Connect;");
aI("text=Schuran;showmenu=Schuran;");
aI("text=<b> Info :</b>;separatorcolor=green;separatorsize=1;type=header;align=left;");
aI("text=News;showmenu=News;");
aI("text=Contact;showmenu=Contact;");
aI("text=Mailing List;showmenu=Mailing List;");
aI("text=Monitor Site;showmenu=Monitor;");
}
style=menuStyle;
top=10;
left=10;
alwaysvisible=1;
orientation="vertical";
screenposition="center, left";
position="relative";
aI("text= Home;url=http://www.aquaristics.com/;status=Back To Aquaristics Home Page;image=http://www.aquaristics.com/MilonicVertical/home.gif;");
aI("text=<b> Index :</b>;separatorcolor=green;separatorsize=1;type=header;align=left;");
aI("text=Aqua Connect ;showmenu=Aqua Connect;");
aI("text=Schuran;showmenu=Schuran;");
aI("text=<b> Info :</b>;separatorcolor=green;separatorsize=1;type=header;align=left;");
aI("text=News;showmenu=News;");
aI("text=Contact;showmenu=Contact;");
aI("text=Mailing List;showmenu=Mailing List;");
aI("text=Monitor Site;showmenu=Monitor;");
}
Poster: Areometer
Dated: Tuesday March 2 2004 - 20:06:06 GMT
I just purchased the license. Any one who can help me in resolving this issue? Thank you in advance.
Areometer
Poster: fredlongworthhighschool
Dated: Friday March 5 2004 - 13:39:56 GMT
Its a feature I've not used before, but looked very useful so I tried to implement it also.
It highlights my home page, but if when I go to another, it doesn't make the change for some reason.
Poster: Areometer
Dated: Wednesday March 10 2004 - 6:35:21 GMT
What is your URL? I would like to take a look.
Areometer
Poster: Maz
Dated: Wednesday March 10 2004 - 16:20:32 GMT
You might have to use pagematch= -matching url-
maz
Poster: Ruth
Dated: Thursday March 11 2004 - 18:54:40 GMT
I'm with you. I've tried everything i can think of and cannot get the arrow to display like it does on Milonic I really like that.
Ruth
Poster: Areometer
Dated: Sunday March 14 2004 - 3:08:04 GMT
Andy's page contains a lot of external links and the few local ones that I tried didn't even highlight the current page!
My case is a lil' better, the highlighting works beautifully well, but the "pageimage" only shows in subsequent levels, not the top one. BUT let me stress it again that the highlighting works flawlessly in ALL levels. Wierd huh?
Anyway, I have since removed the pageimage feature altogether. Now my page only highlights.
Did my pagematch attribute stop working with the new release
Poster: cubefree
Dated: Friday March 19 2004 - 1:13:44 GMT
Hmm.... my pagematch seemed to have stopped working with the new release.... http://www.stillpointhealth.net/dev/
Try 'Services' link -- SIDE NOTE (you have to click above the image because, for some reason, since this image is larger than the others the cursor does not change to the hand until you're well above the image.)
Andy says per http://www.milonic.com/forum/viewtopic.php?t=3561&highlight=
Quote:
It's your CSS - As you've got global styles set for A: this is having an
effect on the menu.
Global CSS styles for 'DIV', 'TABLE', 'TR', 'TD' and 'A' will break the menu
because the menu consists of these HTML properties.
effect on the menu.
Global CSS styles for 'DIV', 'TABLE', 'TR', 'TD' and 'A' will break the menu
because the menu consists of these HTML properties.
But I've check all CSS and it did not define those globally... so.. ?? I don't know....
Re: Did my pagematch attribute stop working with the new rel
Poster: kevin3442
Dated: Friday March 19 2004 - 1:59:11 GMT
cubefree wrote:
Hmm.... my pagematch seemed to have stopped working with the new release....
I believe the new release broke it. See today's discussion in this thread.
Kevin
Edit: I have reported this as a possible bug.