Javascript links doesn't work after downloading a pdf

A

Albert Smith

Hi i've IE6 sp1. I've a frames page and on one frame a
form. When submitted depending on the input fields it can
return a pdf file (i use Content-disposition: attachment to
open it with acrobat reader).

After downloading the pdf, javascript links on the other
frames doesn't work, and no javascript error appears. This
links load a page on the form's frame but nothing happens
when clicking on them. If i do not download the pdf the
links work perfectly.

Any idea?

Thnx
 
A

Albert Smith

I've installed windows scripting 5.6 for XP, but i has
solved nothing.

I've tested on both IE 5.5 and Mozilla Firebird and on both
all work perfectly.

Plz help!!
 
H

Hans Le Roy

Hi Albert,

If you give us an address to look at it will be a LOT easier...

Kind regards

Hans Le Roy
MS MVP Win/IE-OE
 
G

Guest

I'm sorry i can't, its a private data web application. The
only thing i can do is a test site.

But no one has the same problem?
 
A

Albert Smith

I'm building a test site.

But, before i've been playing with a sniffer to figure out
what is happening.

This are the http headers i send when sending the pdf file:

Date: Wed, 17 Dec 2003 12:03:20 GMT
Server: Apache/1.3.27 (Debian GNU/Linux) PHP/4.3.3RC3
mod_ssl/2.8.9 OpenSSL/0.9.6g mod_jk/1.1.0
Content-Length: 2015
Content-Disposition: attachment; filename=test.pdf
Last-Modified: Wed, 17 Dec 2003 12:03:21 GMT
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: application/pdf; name="test.pdf"

.... and the pdf data

After downloading and saving the file to disk, the links i
have that load a page in the same frame of the form that
asks for the pdf does nothing apparently, but actually they
make the http query to my server, and my webserver answers
but IE DOES NOT LOAD THE PAGE in that frame.

Hope this could be useful for resolving this issue.

Thnx.
 
R

Robert Aldwinckle

http://telemarch.bancamarch.es/test/

Worked for me. NTF.

What Languages preferences do you have?
(FWIW mine were EN-US only.)

That's the only difference that I can imagine that we can have.

One other possibility from your description is that you may not have
focus properly in step 4 (Click on the red page link...)
You could right-click instead to ensure that focus was on that link
and then press Enter instead.

Can you please clarify what the JavaScript links factor is now?
Your test page didn't mention it and it has no JavaScript that I can see.
Just in case I switched to another window which has some mouseovers
in it and they worked fine too.


HTH

Robert Aldwinckle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top