Reply Chris,
Macs do have a right click (right-click being a geenral Microsoft / PC term)
Holding down control or the new mouse Apple releases with a right click
option.
William
Chris Price wrote:
I would use the file name (or description) as a hyperlink. Its good to
have the file size so
On 17 Oct 2007, at 04:50, Chris Knowles wrote:
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
Nick Fitzsimons wrote:
Word boundaries aren't right either; for exmple, they will match a
hyphen, so matching on some-thing will match some-thing-else. As per the
HTML spec, class names are space-separated, so you need to match on
spaces and the beginning or end of the string.
of course,
On 17 Oct 2007, at 13:47, Chris Knowles wrote:
Nick Fitzsimons wrote:
Word boundaries aren't right either; for exmple, they will match a
hyphen, so matching on some-thing will match some-thing-else. As
per the
HTML spec, class names are space-separated, so you need to match on
spaces and
Nick Fitzsimons wrote:
On 17 Oct 2007, at 13:47, Chris Knowles wrote:
Nick Fitzsimons wrote:
Word boundaries aren't right either; for exmple, they will match a
hyphen, so matching on some-thing will match some-thing-else. As per the
HTML spec, class names are space-separated, so you need to
My pet hate is people forcing pdfs to open in browser windows with
javascript!
A plain old ordinary link at least lets you right click and download - some
of us hate having the browser locked up for ages locked up waiting for the
slow pdf plugin to load.
I think anything that takes more than
By including an icon (and a title attribute) that indicates that the pdf
will open in a new window, the knowledgeable user can easily right click
if she wishes to override and take some other action. That's how
divaPOP works. This seems to me to be the best of both worlds: novices
will see
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
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?
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:
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
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
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
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
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
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?
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:
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
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
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?
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
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:
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:
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
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
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';
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=
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
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 =
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
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
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
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
33 matches
Mail list logo