jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes frame problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "frame problem" Watch "frame problem" New topic
Author

frame problem

guddu jain
Greenhorn

Joined: Dec 12, 2002
Posts: 2
Hi,
I am facing a weird problem with browser's back button. My html page is having 2 frames. First frame contains menu items and on click event of these menu's, corresponding pages are opened in 2nd frame. These pages can be PDF file or other html pages. I click on menu link to get PDF form open in 2nd frame and so on. Now if I click on browser's back button to go to previous page (that is PDF form), now onwards frames doesn't work properly. If we click on any of the menu items now, corresponding page is being opened in new window not in second frame. This problem starts occurring only when I go to PDF file using browser's back button.
Thanks in advance.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Frames have a big problem with the back button. I would rec. opening a new window with the pdf instead in the frame. Pain, but it will work
guddu jain
Greenhorn

Joined: Dec 12, 2002
Posts: 2
we have specifically that requirement of frames. Actually I am not able to understand the reason why it's happening only when I go to PDF file using back button. If I use back button to go to any other html/jsp, it is working fine. Could there be any specific reason behind this?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
All i know is from persoannly experience is that pdf files have a hard time loading due to having to load acrobat. I am not sure why it is causing trouble.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: frame problem
 
Similar Threads
Problem with persisting text box values in JSP
to view multiple pages of a file or document
Frames not working properly in Netscape 6.2
NETSCAPE 6.2 & FRAMES
Frameset and Servlet problem