Part of menu data not displaying

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
posword
Advanced
Advanced
Posts: 28
Joined: Tue Jun 20, 2006 7:42 am

Part of menu data not displaying

Post by posword »

Here's an extract from my menudata.js file...

Code: Select all

with(milonic=new menuname("Weblog")){style=menuStyle;
aI("text=Weblog;url=/modules.php?name=News;");aI("text=Weblog Archive;url=/modules.php?name=Stories_Archive;");aI("text=Search Weblog;url=/modules.php?name=Search;");aI("text=Newsletter Archive;url=/modules.php?name=Archive;")}

with(milonic=new menuname("Peter Wade live")){style=menuStyle;
aI("text=Seminars;url=/modules.php?name=Seminars;");
aI("text=Meetings;url=/modules.php?name=Seminars;")}

with(milonic=new menuname("OtherPages")){style=menuStyle;
aI("text=Seminars;url=/modules.php?name=Seminars;");
aI("text=Quote of the Day;url=/modules.php?name=Quotes;");
aI("text=Cartoon of the Week;url=/modules.php?name=Cartoon;");
aI("text=Web Links;url=/modules.php?name=Links;target=_blank;")}
The problem is that the middle item "Peter Wade live" does not display... the other two do. I've looked at this until I've gone cross-eyed but still can't see what is different.

Any help appreciated.

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

Post by Ruth »

Hi,

We will need the page to see what's up since nothing in the data file looks wrong.

Ruth
posword
Advanced
Advanced
Posts: 28
Joined: Tue Jun 20, 2006 7:42 am

Part of menu data not displaying

Post by posword »

Ruth wrote:Hi,

We will need the page to see what's up since nothing in the data file looks wrong.

Ruth
Well, Ruth, good to know I'm not going stupid... at least the data file is right. I'm not sure which page you are referring to... the menu displays at http://peterwade.com/ on every page, running under PHPNuke. The menu is part of the theme. It is called from a file named center_right.html with this code

Code: Select all

<SCRIPT type="text/javascript" src="themes/48/main_menu.js"></SCRIPT>
.

Let me know which files to send you.

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

Post by Ruth »

Hi,

That was the page, so I could get all the files and see why that submenu doesn't show.

Well, here are the aI items for the main file

Code: Select all

aI("showmenu=Teachings;text=Teachings;");
aI("showmenu=StreamingAudio;text=Streaming Audio;");
aI("showmenu=Resources;text=Resources;");
aI("showmenu=Weblog;text=Weblog & Newsletter;");
aI("showmenu=OtherPages;text=Other Pages;");
aI("showmenu=OurSite;text=OurSite;");
aI("text=Home;url=http://peterwade.com/");
}
drawMenus();
There is no showmenu=Peter Wade Live; any place in that. It needs to be called to show. If it's supposed to show from a submenu, then you'll have to put the showmenu=Peter Wade Live in whatever item is supposed to show it.

Ruth
posword
Advanced
Advanced
Posts: 28
Joined: Tue Jun 20, 2006 7:42 am

Part of menu data not displaying

Post by posword »

Thanks, Ruth. I knew it had to be a silly mistake!

I'd forgotten all about the main_menu.js file.

Cheers,
Peter
Post Reply