Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working with frames

Status
Not open for further replies.

zonash001

Programmer
Mar 10, 2004
15
PK
i've designed a site using three frames: a header frame at top; a navigational frame at left and a content frame on right.

The navigational frame contains a dhtml pop up menu. When the mouse is moved over the menu, the sub menu pops up on the content frame.

Next, i've a link on navigational frame named "Company Forms" with a sub menu "Form A", "Form B" and so on. These forms are in .pdf format. When clicked, the Acrobat Reader loads in the content frame thereby opening the form clicked. With acrobat reader still opened in content frame, the problem arises when i move the mouse over "Company Forms"; the sub menu doesn't pop up in the content frame. Infact it pops up and over laps in the navigational frame. The file format under any case cannot b changed from .pdf to .htm,.asp etc.

Can any one suggest how can i fix it????
 
Nope... you won't be able to do it using the set up you are using. I'm guessing the reason you have the sub menu popping up in the contentFrame is so it lines up nicely with the menu in the navigationFrame (and because you can't span content across frame boundaries).

The reason it won't work when you have a PDF (say) loaded in the ContentFrame is that it is not an HTML document. Your navigation menu code is unable to create/manipulate content in the contentFrame because it's not an HTML document (and as such the browser doesn't know how to manipluate it properly).

That's my guess at least.

Suggestions include
- a menu system that is completely self-contained within the NavigationFrame
- throw the PDFs into a popup window
- remove the frames

Maybe a combination of all three would give you a better solution?

Just my thoughts... let us know how you go.
Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top