473,513 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing frame location to PDF document

303 Recognized Expert Contributor
Can someone guide me in updating a frame location with new pdf documents? The frame originally loads with a pdf. I need to be able to display a new pdf based on user selections in another frame. I am currently using document.framename.location=url, but that is causing Firefox to crash or freeze. I can post an example if you need to see full code. If it matters, the pdf files are on a document server, not a web server.
Mar 25 '10 #1
6 2146
acoder
16,027 Recognized Expert Moderator MVP
Does it crash/freeze every time? Have you tried another browser?

Perhaps you can use the window.frames syntax instead to reference a frame.
Mar 28 '10 #2
improvcornartist
303 Recognized Expert Contributor
IE and Chrome both work as expected. FF and Opera are both crashing every time. Thanks for the idea, I tried window.frames, but still crashes.
Mar 29 '10 #3
halsteadlane
3 New Member
Hello! I am experiencing this exact issue and cannot find any methods that resolve it. Did you determine an approach that did not cause FF to crash? Much thanks...
Apr 2 '10 #4
improvcornartist
303 Recognized Expert Contributor
I did some more testing and found that this broke with FF 3.6.2 (and is still broken in 3.6.3), but worked fine with FF 3.5.9. Since it also works fine in IE and Chrome, my best guess is FF broke. Other than waiting for a FF update, I don't have a solution.
Apr 5 '10 #5
halsteadlane
3 New Member
Thanks very much, that is good to know. I will continue to look too and let you know if I determine anything that might work with 3.6.2 and 3.6.3. Also maybe 3.6.4 or greater (when they come out) will just resolve the problem, which would be nice!
Apr 5 '10 #6
halsteadlane
3 New Member
This seems to work now in Firefox 3.6.15.
Mar 8 '11 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1620
by: Phil | last post by:
Supposedly, the code below should assign the correct value to the 'url' variable. But all I get is a blank 'main' Frame with apparently nowhere to go when I click on the link in the 'menu'...
24
3461
by: Charles Crume | last post by:
Hello; My "index.htm" page has 3 frames (content, navigation bar, and logo). I set the "SRC" of the "logo" frame to a blank gif image and then want to change it's contents after the other two...
2
5283
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance...
14
2184
by: Frances Del Rio | last post by:
if (parent.frames.main.location == 'mediaselect.html') { I have a very simple frameset, name of frame where I'm checking is 'main'... why is this not working? I mean this is correct syntax,...
7
2298
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
3
10187
by: Vongza | last post by:
<html> <head> <title>Cross Frame Reference</title> <script language="javascript"> function showThisTitle() { alert(document.title); } function showAnotherTitle() { try {...
3
1876
by: Axel Gallus | last post by:
I wrote a javascript function which should return the html code between a frame's body tag: function load_frame_as_string( Framename ) { var Frame =...
3
2834
by: rajarya | last post by:
Hi, I m designing a HTML page(index.html),here i have 2 frames,by defult both frames have index1.html and index2.html as their source . in first frame(index.html) ,i have some redio buttons,and a...
0
7259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7380
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1592
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.