Frames based version error

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
benright
Beginner
Beginner
Posts: 6
Joined: Mon Dec 04, 2006 4:14 pm

Frames based version error

Post by benright »

Hi everyone,
I'm having an issue with the Frames based version menu. When I select an item from my nav menu it takes me to that appropriate link's page in the body with no problem, everyting looks like its all working. But when I go to use the menu from there to select another main item link in my navigation menu, it does not work. The only way I can get out of this is if I return back to my home page, but it then keeps happening again. When I try to test the navigation page locally, it gives me an "mm_tf is null or not an object error". Does anyone know why this could be happening and how I can fix it? Any help is greatly appreciated...

Thanks,

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

Post by Ruth »

Hi Ben,

Do you have the submenus coded on the pages you are loading into the frame? If there is no submenu coded on the page along with the 3 program files then the 'main' menu in the other frame can't find any submenus to open. I'm not saying this is your issue, but for many frames can be confusing because we tend to think about them as 'one' page, but in reality they are like an apartment building, each page is a different aparment, so if you want your telephone to ring in a different apartment you have to put an extension there :)

If that's not the issue, we'd need a link to test your page.

Ruth
benright
Beginner
Beginner
Posts: 6
Joined: Mon Dec 04, 2006 4:14 pm

Post by benright »

Ruth,

Thanks so much, sure enough that was my problem. So I'll have to go through every apartment and give them an extension !

One last question, for pages that I have in other folders and not my root web folder (where I would put a "../" infront of milonic_src.js, mmenuns4.js, etc.) I noticed when I visit that page then use the menu from there, the sub items have a broken image for the right white arrow image, I see the default white box with a red x in it. Do you know how I would handle that?

Thanks again for your prompt response,

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

Post by John »

Change the image link in your style definition to be server-relative; e.g., /images/arrow.gif (or whatever your correct path sould be). Coding with ../ is asking for trouble, especially in a situation where pages are in different directories.
John
benright
Beginner
Beginner
Posts: 6
Joined: Mon Dec 04, 2006 4:14 pm

Post by benright »

John,

Thanks I made those images server relative and now it works fine. What about links that open a .pdf file in the body frame? I'm noticing when this happens I'm unable to use the menu after its open. Is there a way of getting around this? Or would I have to just have the pdf open in a new browser? (so that the menu would not be affected)


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

Post by John »

I'd have them open in a new browser window. Cleaner, and keeps your visitor in place on your site.
John
benright
Beginner
Beginner
Posts: 6
Joined: Mon Dec 04, 2006 4:14 pm

Post by benright »

Ok thanks... I have numerous pages with many links to .pdf's. Its too bad there wasnt a way other than having to open a new browser every time, oh well.

Thanks again,

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

Post by Ruth »

Hi,

You're back to the no submenus coded on the page i.e. pdf in the frame. I have no idea how you can do this but what you'd need to do is get the menu into the pdf document.

Ruth
Post Reply