Harvey Waxman posted in macromedia.dreamweaver
Quote:
Can someone look at these pages and see why one works and one
doesn't? The three button links are identical
http://righttax.org/pdf.html
http://righttax.org/pdftest.html |
You are using form submit buttons without using the <form> element.
Quote:
http://righttax.org/pdf.html |
With JavaScript off, the buttons do nothing at all. With JS on, I get
all three files. As you mentioned, they are very slow loading. I
recommend using a simple text link that includes the file sizes.
Something like:
<a href="pdfs/NK06.07web.xls.pdf">N. Kingstown 06/07 data</a> (3.7 MB)
You can dress that up with CSS if you want it to have a different look
than your other links.
This has the added benefit in that users can right-click and Save As or
choose to open in a new window/tab (if their browser is set to load PDF
files in the browser).
Quote:
http://righttax.org/pdftest.html |
The submit buttons don't work even with JS turned on. The reason is
that there is no MM_openBrWindow() function available. That function is
typically inserted into the head section when you create such a link.
If you did this in a different file, look for the JavaScript in the
head section of that file.
My recommendation for text links applies here, too.
Side note: If you're recommending Adobe Acrobat (Adobe Reader), I
recommend linking to Adobe's reader.
http://www.adobe.com/products/acrobat/readstep2.html
Otherwise, you might want to recommend PDF Reader/Writer since that's
where you're linking.
--
Mark A. Boyd
Keep-On-Learnin'