[WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread dwain
i know that this has come up before, but would someone point me to best practices to introduce a prompt to open or download a pdf or any file for that matter? dwain -- dwain alford The artist may use any form which his expression demands; for his inner impulse must find suitable expression.

Re: [WSG] How to make DHML cover flash

2007-10-16 Thread Michael MD
I have a page where there are some dhtml menus with drop downs across the top of the page, and a large flash object in the body of one of the pages. However the drop-down menu items are going underneath the flash object so they can't be clicked on. I thought I should just put the flash

Re: [WSG] How to make DHML cover flash

2007-10-16 Thread Kit Grose
Michael, A couple of things to make it work cross-browser: - Set the Flash element to have wmode set as opaque or transparent (if you use SWFobject, it's addParam('wmode','opaque');). - Position a transparent IFRAME behind the menus (really not simple if it's not functionality written into

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Jermayn Parker
debatable about opening in new windows but its best to use a pdf icon with size next to the link. On 10/16/07, dwain [EMAIL PROTECTED] wrote: i know that this has come up before, but would someone point me to best practices to introduce a prompt to open or download a pdf or any file for

RE: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Paul Minty
Sent: Tuesday, 16 October 2007 4:16 PM To: web standards group Subject: [WSG] introducing a prompt to download or open a pdf i know that this has come up before, but would someone point me to best practices to introduce aprompt to open or download a pdf or any file for that matter?

RE: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Frank Palinkas
Responding to Paul, I'm doing the same, with the addition of a note to the user that a new window will open upon activation of the icon/hyperlink. Some may think this is overkill, but I'd rather have the user aware of what's going to occur. Kind regards, Frank -Original Message- From:

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Kit Grose
I like your suggestion of including the file size, but just as an aside: Kb stands for Kilobit, not Kilobyte (which you probably mean). Both letters should be in caps to mean Kilobytes/Megabytes. I'd think (as a user) if you use the terminology 'download' for the link, the PDF should be

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Price
I would use the file name (or description) as a hyperlink. Its good to have the file size so the visitor knows what they're dealing with. I link to a php page for pdf downloads. The header of the page ensures that the file is served as a pdf not html which means that an option is presented

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread dwain
On 10/16/07, Paul Minty [EMAIL PROTECTED] wrote: I'd recommend displaying with a PDF icon, the text 'PDF' and a file size (in Kb or Mb). I suggest setting the target to a new window, then the user can righ click to save. here's the address where the pdf links are. i did not put the pdf icon

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread dwain
On 10/16/07, Kit Grose [EMAIL PROTECTED] wrote: I'd think (as a user) if you use the terminology 'download' for the link, the PDF should be sent with a force-download Content-type header if possible (so it doesn't try to view it). how would you code this force download? dwain -- dwain alford

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
Rather than open a pdf in a browser window albeit the same window or a popup, I prefer that a pdf is either saved to the filesystem or opened by a program external to the browser like Acrobat reader. This behaviour depends on what headers the webserver responds with. In php you can serve a file

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Price
dwain wrote: On 10/16/07, Kit Grose [EMAIL PROTECTED] wrote: I'd think (as a user) if you use the terminology 'download' for the link, the PDF should be sent with a force-download Content-type header if possible (so it doesn't try to view it). how would you code this force download?

[WSG] Which screen reader to test with?

2007-10-16 Thread Simon Cockayne
Hi, What screen reader(s) should one test with? Seemingly WSG is keen on the development of web sites that are compatible with vision-impaired users and more specifically those who use screen-readers. It's a laudable goal...but screen reader software seems quite expensive...Jaws $1000 approx.

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Nick Fitzsimons
On 16 Oct 2007, at 08:40, dwain wrote: i did not put the pdf icon (don't know where to get one) http://www.adobe.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe:

Re: [WSG] Which screen reader to test with?

2007-10-16 Thread John Faulds
Here's a list of free screenreaders: http://access.benjaminhawkeslewis.com/free-screen-readers.html On Tue, 16 Oct 2007 18:35:13 +1000, Simon Cockayne [EMAIL PROTECTED] wrote: Hi, What screen reader(s) should one test with? Seemingly WSG is keen on the development of web sites that are

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread dwain
On 10/16/07, Nick Fitzsimons [EMAIL PROTECTED] wrote: On 16 Oct 2007, at 08:40, dwain wrote: i did not put the pdf icon (don't know where to get one) http://www.adobe.com/ then where? i've looked under downloads and support. i would think that they would have a place special just for us

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread dwain
On 10/16/07, Nick Fitzsimons [EMAIL PROTECTED] wrote: On 16 Oct 2007, at 08:40, dwain wrote: i did not put the pdf icon (don't know where to get one) http://www.adobe.com/ thanks, i found one. where do i put this icon before or after the link? dwain -- dwain alford The artist may use any

RE: [WSG] How to make DHML cover flash

2007-10-16 Thread Michael Kear
Thanks Michael and Kit, setting the wmode did the trick. Happily I didn't even need to go back to the flash programmer (who's in China and we have a language issue whenever we try to make a change - it's a long story but suffice to say I'm dealing with the designer in China like it or not!)

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Nick Fitzsimons
On 16 Oct 2007, at 10:43, dwain wrote: On 10/16/07, Nick Fitzsimons [EMAIL PROTECTED] wrote: On 16 Oct 2007, at 08:40, dwain wrote: i did not put the pdf icon (don't know where to get one) http://www.adobe.com/ thanks, i found one. where do i put this icon before or after the link?

[WSG] Padding Hebrew in CGI POST

2007-10-16 Thread Simon Cockayne
Hi WSG folks, How can I ensure that field values from a Hebrew field arrive in a POSTED CGI string with any spaces on the right (start of Hebrew) field, intact? I have a HTML form that contains a mixture of Hebrew and English fields. HTML page is !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN

RE: [WSG] Which screen reader to test with?

2007-10-16 Thread Steve Green
This raises several issues. Firstly, screen readers are not all the same, so you cannot test with one and assume the others will work just as well. Some announce the presence of some semantic structure, some don't announce any at all and some (I'm thinking primarily of Firevox) announce too much.

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread dwain
On 10/16/07, Nick Fitzsimons [EMAIL PROTECTED] wrote: On 16 Oct 2007, at 10:43, dwain wrote: On 10/16/07, Nick Fitzsimons [EMAIL PROTECTED] wrote: On 16 Oct 2007, at 08:40, dwain wrote: i did not put the pdf icon (don't know where to get one) http://www.adobe.com/ thanks, i found

[WSG] Out of Office AutoReply: WSG Digest

2007-10-16 Thread Bryant, Scott
Thankyou for your email - I am currently out of the office and will reply to your email on Monday 22nd October 2007. If your matter is urgent, please contact Jackie Moyes, [EMAIL PROTECTED] This message and its attachments may contain legally privileged or confidential information. It is

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Simon Cockayne
Hi, Someone suggested using a PDF icon. Is this something you can get from adobe? Simon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help:

Re: [WSG] How to make DHML cover flash

2007-10-16 Thread Bruce
Kit Grose wrote: One of the more horrible problems drop-down menus experience. It appears it is universal, a client said he wanted a site similar to www.time.com Going there, guess what the top menu does... http://www.time.com/time/business Bruce bkdesign

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Simon Moss
They certainly don't make it easy to find - http://www.adobe.com/misc/linking.html#pdficon Someone suggested using a PDF icon. Is this something you can get from adobe? Simon *** List Guidelines:

Re: [WSG] Padding Hebrew in CGI POST

2007-10-16 Thread Andrew Cunningham
Hi i don't work with RTL languages often, so I may be somewhat off track here but ... *** This is how I want it to be passed (note the spaces on the right of _hebrew_field2 ! ): I'd actually expect the space to be at the left of the _hebrew_field2 in your example Spaces are neutral

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Tee G. Peng
On Oct 16, 2007, at 12:39 AM, Chris Price wrote: BTW Macs don't have a right click. Hi Chris, Mac has right click. It's just Steve Jobs made it so difficult with his Apple mouse (a piece of pricey junk). If you use Apple mouse, use the combination of control on keyboard + click on

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Price
Tee G. Peng wrote: Mac has right click. It's just Steve Jobs made it so difficult with his Apple mouse (a piece of pricey junk). If you use Apple mouse, use the combination of control on keyboard + click on mouse, this will open up the right click window for options. I know its not strictly

RE: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread John Horner
Maybe it's just me, but this: -- $type = $_GET['type']; $fileName = $_GET['filename'] . . . $type; $mimeType = application/$type; if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 5') or strpos($_SERVER['HTTP_USER_AGENT'], 'Opera 7')) $mimeType = 'application/x-download';

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
John Horner wrote: Maybe it's just me, but this: where the link would be download.php?filename=mypdftype=pdf looks terribly insecure to me -- I'm allowed to put whatever I want into the URL until I find something interesting? I think I'd start with download.php?filename=../htpasswdtype=

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread E Michael Brandt
that people who author these links without the aid of server side scripting can develop this user experience easily. Anyone seen anything like that? As it happens I offer an inexpensive script, divaPOP (both as a Dreamweaver Extension, and a Standalone script for everyone else) that does

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
John Horner wrote: Maybe it's just me, but this: -- $type = $_GET['type']; $fileName = $_GET['filename'] . . . $type; $mimeType = application/$type; if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 5') or strpos($_SERVER['HTTP_USER_AGENT'], 'Opera 7')) $mimeType =

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Christian Snodgrass
I haven't specifically used code like this, but I do use a dynamic page system (a more advanced version of the '?p=mypage' system commonly seen). To avoid letting people include stuff they should be able to, the page that processes all of this basically has an array where I set which pages

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
Paul Minty wrote: I'd like to see a microformat for this, and an external javascript, so that people who author these links without the aid of server side scripting can develop this user experience easily. Anyone seen anything like that? Cheers Paul heres a generic javascript function

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Kit Grose
On 17/10/2007, at 1:05 PM, Chris Knowles wrote: heres a generic javascript function I wrote to open links in a new window based on class name. It's only a partial solution to the pdf issue but maybe someone will find it useful anyway. just call it on dom load or window load with the class name

Re: [WSG] introducing a prompt to download or open a pdf

2007-10-16 Thread Chris Knowles
Kit Grose wrote: Just a note: Your function doesn't currently use the RegExp function for anything useful (you might as well use indexOf). RegExp is the right way to do it, though, so you can enforce word boundaries to match complete classNames only (if I want all a.pop to be new window

Re: [WSG] How to make DHML cover flash

2007-10-16 Thread Nick Cowie
On 16/10/2007, Michael Kear [EMAIL PROTECTED] wrote: This has fixed the problem for IE6 and Firefox on Windows, so I'm assuming it's fixed for most of our target browsers. Probably not. If your target OSes other than windows, the flash plugin works quite differently on OsX and *nix. I was

[WSG] intranet benchmarking quiz

2007-10-16 Thread plasmo
Hi, I am currently reviewing an area of an intranet, and getting a lot of anecdotal comments such as all the intranets I've ever seen worked like this. To deal with this somewhat, I am taking a short quiz of people's experiences with their current intranets. If anyone here can help, replies