About that fancy 'You-Are-Here' feature on the Milonic site

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

About that fancy 'You-Are-Here' feature on the Milonic site

Post by Areometer »

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
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I use pageimage to show an arrow on current page.

maz
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

It works, but ...

Post by Areometer »

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
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Its probably your paths.

/Milonic2/arrow.gif

remove the ../ and just use /before path on all the others.

maz
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Post by Areometer »

Thanks again for your reply.

My code says:
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)";
}
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
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Post by Areometer »

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:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=10;
left=10;
alwaysvisible=1;
orientation="vertical";
screenposition="center, left";
position="relative";
aI("text=&nbsp;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&nbsp;;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;");
}
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Post by Areometer »

I just purchased the license. Any one who can help me in resolving this issue? Thank you in advance.

Areometer
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

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.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Post by Areometer »

What is your URL? I would like to take a look.

Areometer
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Click on Andy's 'www' button.
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

You might have to use pagematch= -matching url-

maz
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I'm with you. I've tried everything i can think of and cannot get the arrow to display like it does on Milonic :cry: I really like that.

Ruth
Areometer
Advanced
Advanced
Posts: 28
Joined: Mon Sep 01, 2003 6:14 am
Location: Mass, USA

Post by Areometer »

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.
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

Did my pagematch attribute stop working with the new release

Post by cubefree »

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://milonic.com/forum/viewtopic. ... highlight=
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.
But I've check all CSS and it did not define those globally... so.. ?? I don't know....
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Did my pagematch attribute stop working with the new rel

Post by kevin3442 »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

it's the LINE-HEIGHT: 18px; in the HTML { and the BODY { with those removed the mouseover and click starts immediately anyplace in the image area.


And, I still can't get the pretty arrows to work :(

Ruth
Post Reply