Problems with mainmenu and menuitem not showing..

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
n1c
Beginner
Beginner
Posts: 4
Joined: Thu Sep 11, 2003 1:11 pm

Problems with mainmenu and menuitem not showing..

Post by n1c »

Howcome the menu doesn't display the menuitem of a page with the same name as the link of the menuitem?

Hmm..?? I confused myself there..

I'll try to explain it like this.. when i load up the menu on a page called video.html the main menuitem named 'Media' doesn't display until I put the mouse over it.. and the same goes for the menuitem named 'Videos'.. the other two are visible even with the mouse not being over..

with(milonic=new menuname("Media")){
style=menuStyle;
itemwidth="100px";
aI("text=Audio;url=audio.html;");
aI("text=Videos;url=video.html;");
aI("text=Pictures;url=pics.html;");
}

so my guess i the menu is not displaying these things since this is the page that i am already viewing and will not need the link video.html. if this is the case.. how do i disable that function?


Take a look at http://www.headplate.com/test2/video.html

Thanks in advance for any help!
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

It may be me but I can't see what's wrong. The menu appears and when I move the mouse over each one then the sub menu appears.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Looking at your page in XP Pro/IE6 I see all 3 items in the Media menu. No problems.
John
n1c
Beginner
Beginner
Posts: 4
Joined: Thu Sep 11, 2003 1:11 pm

Post by n1c »

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

Post by John »

Given that 2 folks see it with no problems, we'd have to suspect your browser and/or OS for starters. Does everything have the latest updates, especially IE? I'm running 6.0.2800 with SP1 and 6 hot fixes.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I am going to take a shot in the dark here. I am not 100% percent sure this it it because its not consistant across broswers but it may do the trick. In your style, you have pagecolor="black"; The background of your page also happens to be black. Pagecolor determines the color of the menu if you are on that page so change that and you will probably fix it.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
n1c
Beginner
Beginner
Posts: 4
Joined: Thu Sep 11, 2003 1:11 pm

Thank you!!

Post by n1c »

Yes!! The pagecolor thing did the trick.

Thanks alot for your time and help!!


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

Post by John »

Interesting that it showed up fine for some of the other folks here (including me!).
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Yeah John, thats why I was uncertain if that was the solution. The only things I can think of are, (1) there was no way to tell from the screenshots what browser he was using. Possibly our browsers were 'smart' enough to figure out that the colors were the same and change it up, I've seen windows do this sometimes and his browser didn't. THe other thing was possibly the pagecolor attribute was not working for us...maybe because when he was viewing his own page it may have been on a development server and we saw it on the production server so the URLs didnt match up right for us. I dunno, its tough to put your finger on it without getting into the specifics of this situation but at least its solved.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Bottom line is "solved" as you say, and that's what we're after.
John
n1c
Beginner
Beginner
Posts: 4
Joined: Thu Sep 11, 2003 1:11 pm

Post by n1c »

The sceenshots were taken while viewing the page with IE 6.0 (not the latest sp and no fixes) and XP Pro SP1.

The pages were viewed from the actual server.

mentioning this in case soemone wants to dig deeper into this.. eventhough it's solved for me now..

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

Post by John »

n1c wrote:The sceenshots were taken while viewing the page with IE 6.0 (not the latest sp and no fixes) and XP Pro SP1.
I'd get that browser updated and patched in a hurry. True to form, M$ has some giant secruity holes in there (and probably more to be found). That copy is wide open for trouble.
John
Post Reply