Links in submenu do not work

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
hobbes488
Beginner
Beginner
Posts: 4
Joined: Wed Nov 02, 2005 6:08 pm

Links in submenu do not work

Post by hobbes488 »

http://htpcsw.hopto.org/test/index.php

The links in the Forum sub menu dont work and I dont know why.

Here is the code for the submenu:

Code: Select all

with(milonic=new menuname("forum_menu")){
style=menuStyle;
aI("text=Gereral;url=../forum/viewforum.php?f=1;");
aI("text=Non-htpcSW;url=../forum/viewforum.php?f=2;");
aI("text=Front Ends;url=../forum/viewforum.php?f=8;");
aI("text=Media Players;url=../forum/viewforum.php?f=3;");
aI("text=Utilities;url=../forum/viewforum.php?f=5;");
aI("text=Remote Software;url=../forum/viewforum.php?f=4;");
aI("text=Games;url=../forum/viewforum.php?f=6;");
aI("text=htpcSW News;url=../forum/viewforum.php?f=7;");
aI("text=Version Tracker;url=../forum/viewforum.php?f=9;");
}
http://www.htpcsw.com - Home Theater PC Software
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Look in your menu_data.js file and get rid of any whitespace between the ; and the url= Each aI has that space and that is making the link void.

Ruth
hobbes488
Beginner
Beginner
Posts: 4
Joined: Wed Nov 02, 2005 6:08 pm

Post by hobbes488 »

From what I can see, there is no white space beteen the ; and url=

I looked through each line and there doesnt seem to be any space
http://www.htpcsw.com - Home Theater PC Software
hobbes488
Beginner
Beginner
Posts: 4
Joined: Wed Nov 02, 2005 6:08 pm

Post by hobbes488 »

i figured it out. i was linking to the wrong menu_dat.js file :oops:

I feel dumb
http://www.htpcsw.com - Home Theater PC Software
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

It just shows you're one of us! So, it should be....

"I feel human" :? :lol:

Ruth
Post Reply