[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.  Kandinsky


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 into a 
div with a z-index lower than the z-index of the drop down list item, but 
that doesn't seem to work.Can anyone please tell me how I ought to deal 
with this?


I had a similar problem the other day... after a little searching I found 
out this useful tip:


set the wmode parameter on the flash embed or object to transparent

(I think this might only work in Flash Player 9 though)





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 the menus you're using), which  
is required for IE (Win) whenever menus need to go over SELECT boxes  
or Flash elements.
- Remove animation from the drop-down for Firefox Mac users (Flash  
elements go invisible while the menus slide down otherwise)


One of the more horrible problems drop-down menus experience.

Cheers,

Kit


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 that matter?

 dwain

 --
 dwain alford
 The artist may use any form which his expression demands;
 for his inner impulse must find suitable expression.  Kandinsky


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***




-- 
JP2 Designs
http://www.jp2designs.com

http://www.germworks.net


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

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?

 dwain

Dwain,

Funnily enough I'm working on a design pattern for this, as it doesn't
seem to be documented very well in the usual design pattern collections.

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.

If you want to go further, I'd suggest having two links labelled 'open'
and 'save'. You could put in a pop-up with the option; but I think that
this would break the expected behaviour more. You could also detect the
connection speed and suggest a download time; but this may not give you
much ROI.

It's always good to have an HTML version of the content; but you've
probably already thought of that.

I'd be keen to know other people's thoughts; especially if you know of
any design patterns for this.

Cheers
Paul

Paul Minty Director

mintleaf studio 
We design  create stylish websites

Post: Box 6 108 Flinders Street Melbourne VIC 3000
Level 2 108 Flinders Street Melbourne
T. 03 9662 9344   
F. 03 9662 9255   
M. 0418 307 475
[EMAIL PROTECTED]
www.mintleafstudio.com.au






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Minty
Sent: Tuesday, 16 October, 2007 8:53 AM
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] introducing a prompt to download or open a pdf

 
 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?

 dwain

Dwain,

Funnily enough I'm working on a design pattern for this, as it doesn't
seem to be documented very well in the usual design pattern collections.

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.

If you want to go further, I'd suggest having two links labelled 'open'
and 'save'. You could put in a pop-up with the option; but I think that
this would break the expected behaviour more. You could also detect the
connection speed and suggest a download time; but this may not give you
much ROI.

It's always good to have an HTML version of the content; but you've
probably already thought of that.

I'd be keen to know other people's thoughts; especially if you know of
any design patterns for this.

Cheers
Paul

Paul Minty Director

mintleaf studio 
We design  create stylish websites

Post: Box 6 108 Flinders Street Melbourne VIC 3000
Level 2 108 Flinders Street Melbourne
T. 03 9662 9344   
F. 03 9662 9255   
M. 0418 307 475
[EMAIL PROTECTED]
www.mintleafstudio.com.au






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 sent with a force-download Content-type  
header if possible (so it doesn't try to view it).


My two cents,

Kit


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 asking the user whether they want to save or view the pdf. 
This way you're fixing how the file is to be served rather than letting 
the browser decide.


The same page can be used for any format (Word, Excel etc.). The file 
type is put in the link as a query.


I have seen many sites where the link opens to a new window but I am 
then presented with the same save/view option and left with an empty 
window and its all very messy.


BTW Macs don't have a right click.

Paul Minty 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.

If you want to go further, I'd suggest having two links labelled 'open'
and 'save'. You could put in a pop-up with the option; but I think that
this would break the expected behaviour more. You could also detect the
connection speed and suggest a download time; but this may not give you
much ROI.

Kind Regards
--
Chris Price

Choctaw

[EMAIL PROTECTED]
http://www.choctaw.co.uk

Tel. 01524 825 245
Mob. 0777 451 4488

Beauty is in the Eye of the Beholder
while Excellence is in the Hand of the Professional

~~~
-+- Sent on behalf of Choctaw Media Ltd -+-
~~~

Choctaw Media Limited is a company
registered in England and Wales
with company number 04627649

Registered Office:
Lonsdale Partners,
Priory Close,
St Mary's Gate,
Lancaster LA1 1XB
United Kingdom




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 (don't know where to get one) but i do say that it's a pdf and
the size:

http://www.alforddesigngroup.com/design-graphic-studio.html
-- 
dwain alford
The artist may use any form which his expression demands;
for his inner impulse must find suitable expression.  Kandinsky


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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
The artist may use any form which his expression demands;
for his inner impulse must find suitable expression.  Kandinsky


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 with:

header(Content-type: application/pdf);
header(Content-Disposition: attachment);
readfile('test.pdf');

this will usually cause the browser to ask whether to save to disk or
select a program to open the file with.

If you use the following it will load the pdf viewer into the browser
window:

header(Content-type: application/pdf);
header(Content-Disposition: inline);
readfile('test.pdf');

So I'd recommend a link with a pdf icon and the file size and then set
the headers as in the first example

Chris Knowles


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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?
dwain

  

This is what I use:

$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';
  
   header(content-disposition: attachment; filename = \$fileName\);

   header(content-type: {$mimeType});
  
   readfile($fileName);


where the link would be download.php?filename=mypdftype=pdf

Kind Regards
--
Chris Price

Choctaw

[EMAIL PROTECTED]
http://www.choctaw.co.uk

Tel. 01524 825 245
Mob. 0777 451 4488

Beauty is in the Eye of the Beholder
while Excellence is in the Hand of the Professional

~~~
-+- Sent on behalf of Choctaw Media Ltd -+-
~~~

Choctaw Media Limited is a company
registered in England and Wales
with company number 04627649

Registered Office:
Lonsdale Partners,
Priory Close,
St Mary's Gate,
Lancaster LA1 1XB
United Kingdom




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[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.

Is there a free screen reader?

Simon


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

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: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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  
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.

Is there a free screen reader?

Simon


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




--
Tyssen Design
www.tyssendesign.com.au
Ph: (07) 3300 3303
Mb: 0405 678 590



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 to obtain one.
sorry for the sarcasm, it's late and i can't sleep.  no excuse, but...
-- 
dwain alford
The artist may use any form which his expression demands;
for his inner impulse must find suitable expression.  Kandinsky


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 form which his expression demands;
for his inner impulse must find suitable expression.  Kandinsky


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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!)

Anyway for those who are following along at home, all I had to do was change
the html code where it embeds the flash object in the page to add
'wmode','transparent'  to the AC_FL_RunContent function parameters  and 
param name=wmode value=transparent / to the object tag parameters.

This has fixed the problem for IE6 and Firefox on Windows, so I'm assuming
it's fixed for most of our target browsers.

Thanks again for your help folks.  Helped out a poor old
developer-turned-designer-by-force once again.

Cheers
Mike Kear
Windsor, NSW, Australia
0422 985 585
Adobe Certified Advanced ColdFusion Developer
AFP Webworks Pty Ltd
http://afpwebworks.com
Full Scale ColdFusion hosting from A$15/month






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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?

dwain



It used to be quite easy to ind the relevant page, but they seem to  
have let their legal department loose on the site :-(


Personally, I include the icon within the link; whether it goes  
before or after the text of the link is purely a matter of personal  
preference, or the dictates of the graphic designer. I tend to expect  
it before:


a href=blah.pdfimg src=pdflogo.gifDownload blah.pdf/a

Regards,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[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
http://www.w3.org/TR/html4/strict.dtd


Hebrew fields are denoted by lang=he dir=rtl attributes.

The application works fine and dandy...except that the field values appear
in the CGI string with any spaces trimmed off the right hand end of the
value.

Whilst this is ok for an English field's value, trimming spaces of the END
of the field...this is not acceptable for a Hebrew field's value.
BECAUSE...spaces on the right hand side are at the START of the Hebrew
field.

So...how can I ensure that field values from a Hebrew field arrive in the
CGI string with any spaces on the right/start of Hebrew field, intact?

*** This is how it is passed now:

_english_field1=hello_hebrew_field1=שלמ_english_field2=
hello_hebrew_field2=שלמmylastfield=dummy


*** This is how I want it to be passed (note the spaces on the right of
_hebrew_field2 ! ):

_english_field1=hello_hebrew_field1=שלמ_english_field2=
hello_hebrew_field2=שלמ   mylastfield=dummy


Cheers,

Simon

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

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. The
handling of dynamic content (mostly scripts and Flash) varies massively, and
varies a great deal from version to version of the same product.
 
To some extent your choice will depend on the target market. JAWS has the
largest share of the business market by a very long way, so you need to
consider this if you are working on a B2B website. Business users are likely
to be more proficient too because it is the employer's interest to provide
training. By contrast, the free products are more prevalent amongst
consumers, and they often have lower proficiency because they don't get
trained.
 
But all this is irrelevant if you do not understand how screen reader users
visualise websites and pages, how they form a mental model and how they
navigate through it. You won't ever learn this by yourself. You really need
to spend a significant amount of time with someone who uses a screen reader
and see how they approach a variety of types of website. A few hours of this
will start to give you an insight but it would take days or weeks before you
could make a realistic assessment of the issues a screen reader user might
have when visiting a particular website.
 
My totally unbiased recommendation is that you save yourself a lot of
trouble and simply buy our user testing services.
 
Steve
 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Simon Cockayne
Sent: 16 October 2007 09:35
To: wsg@webstandardsgroup.org
Subject: [WSG] Which screen reader to test with?


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.

Is there a free screen reader?

Simon





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

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 one.  where do i put this icon before or after the
  link?
  dwain
 

 It used to be quite easy to ind the relevant page, but they seem to
 have let their legal department loose on the site :-(

 Personally, I include the icon within the link; whether it goes
 before or after the text of the link is purely a matter of personal
 preference, or the dictates of the graphic designer. I tend to expect
 it before:

 a href=blah.pdfimg src=pdflogo.gifDownload blah.pdf/a


thank you, all of you who have responded have been a big help.
cheers,
dwain

-- 
dwain alford
The artist may use any form which his expression demands;
for his inner impulse must find suitable expression.  Kandinsky


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[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 intended solely for the named addressee. If you are not the 
addressee indicated in this message (or responsible for delivery of the message 
to the addressee), you may not copy or deliver this message or its attachments 
to anyone. Rather, you should permanently delete this message and its 
attachments and kindly notify the sender by reply e-mail. Any content of this 
message and its attachments which does not relate to the official business of 
the sending company must be taken not to have been sent or endorsed by that 
company or any of its related entities. No warranty is made that the e-mail or 
attachment(s) are free from computer virus or other defect.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


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: [EMAIL PROTECTED]
***

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






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 and
inherit directionality, so in your input field you can type a space then a
Hebrew word and that is visually rendered as a space to the right of the
word, i.e. before the word.

It is important to keep
in mind the distinction between visual and logical ordering. The logical
ordering is space before the Hebrew word. 

In a LTR
environment as in the address bar of a web browser, the space which is
logically first will be displayed to the left of the Hebrew word, i.e.
before the Hebrew word.

If you are attempting to
see a space to the right of the Hebrew word in the address bar you are
actually looking for a space after the Hebrew word.

Out of curiosity, if you insert a space at the beginning of an English
field is the space preserved?

Also out of curiosity, is the
space at the beginning of a Hebrew value necessary?

Andrew

-- 
Andrew Cunningham
Research and Development
Coordinator
Vicnet
State Library of Victoria
Australia

[EMAIL PROTECTED]


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


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  
mouse, this will open up the right click window for options.


I think it worth to include this little info for user education when  
a web design opted to use right click for download/open new window.


tee


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 correct to say a Mac doesn't have a right click 
and I do use the control key (when I have to) but I have used a Mac for 
15 years and never felt I was missing a button. I think its because the 
interface has been so well designed.


Kind Regards
--
Chris Price

Choctaw

[EMAIL PROTECTED]
http://www.choctaw.co.uk

Tel. 01524 825 245
Mob. 0777 451 4488

Beauty is in the Eye of the Beholder
while Excellence is in the Hand of the Professional

~~~
-+- Sent on behalf of Choctaw Media Ltd -+-
~~~

Choctaw Media Limited is a company
registered in England and Wales
with company number 04627649

Registered Office:
Lonsdale Partners,
Priory Close,
St Mary's Gate,
Lancaster LA1 1XB
United Kingdom




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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';
   
header(content-disposition: attachment; filename =
\$fileName\);
header(content-type: {$mimeType});
   
readfile($fileName);

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=



==
The information contained in this email and any attachment is confidential and
may contain legally privileged or copyright material.   It is intended only for
the use of the addressee(s).  If you are not the intended recipient of this
email, you are not permitted to disseminate, distribute or copy this email or
any attachments.  If you have received this message in error, please notify the
sender immediately and delete this email from your system.  The ABC does not
represent or warrant that this transmission is secure or virus free.   Before
opening any attachment you should check for viruses.  The ABC's liability is
limited to resupplying any email and attachments
==


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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=
 

It's not just you! - Very insecure - breaks all the rules

Chris Knowles


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 exactly that.  It is an unobtrusive javascript that adds a pdf 
icon, right or left of the link, and opens the file in a popup window 
(which is my own preference since I personally lose websites all the 
time when I close a pdf file otherwise), all without having to add any 
hooks to the links at all.


Optionally it also adds an icon to external links signifying that they 
will open in a popup window as well.


It's available at 
http://www.divahtml.com/products/divaPOP/open_popup_windows.php


I am also about to release an update that will add an option to 
automatically add a rel=nofollow attribute to the external links.


--


E. Michael Brandt

www.divaHTML.com
divaPOP : standards-compliant popup windows
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 =
 'application/x-download';

 header(content-disposition: attachment; filename =
 \$fileName\);
 header(content-type: {$mimeType});

 readfile($fileName);
 
 where the link would be download.php?filename=mypdftype=pdf
 

I guess to be fair, the author may have simplified the code and not
detailed the step of validating the input and ensuring it maps to a
legitimate resource. However, I guess the point is that there may be
people on this list with limited server side knowledge who would cut and
paste something like this, so we should all be careful when submitting code.

Chris Knowles


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 it's allowed to access. Anything other than the ones in that list 
goes to my error page. Something like this is probably
the easier, but at the same time, most secure method to accomplish 
something where a page is dynamically included.


Christian Snodgrass

Chris Knowles wrote:

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 =
'application/x-download';
   
header(content-disposition: attachment; filename =

\$fileName\);
header(content-type: {$mimeType});
   
readfile($fileName);


where the link would be download.php?filename=mypdftype=pdf




I guess to be fair, the author may have simplified the code and not
detailed the step of validating the input and ensuring it maps to a
legitimate resource. However, I guess the point is that there may be
people on this list with limited server side knowledge who would cut and
paste something like this, so we should all be careful when submitting code.

Chris Knowles


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


  




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 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 you want to use:
setNewWindowLinks('new-win');

It'll hijack any 'a' tags with the class name you use and make them open
in a popup. If no javascript enabled then it'll just go to that link.
The 'a' tag can have multiple class names as well and it'll still work.

function setNewWindowLinks(className)
{
var tags = document.getElementsByTagName('a');
var re = new RegExp(className);
if (tags.length  0) {
for (var i = 0; i  tags.length; i++) {
if (tags[i].className.search(re) != -1) {
tags[i].onclick = function()
{
window.open(this.href, '_blank');
return false;
}
}
}
}
}


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 you  
want to use:

setNewWindowLinks('new-win');

It'll hijack any 'a' tags with the class name you use and make them  
open

in a popup. If no javascript enabled then it'll just go to that link.
The 'a' tag can have multiple class names as well and it'll still  
work.


function setNewWindowLinks(className)
{
var tags = document.getElementsByTagName('a');
var re = new RegExp(className);
if (tags.length  0) {
for (var i = 0; i  tags.length; i++) {
if (tags[i].className.search(re) != -1) {
tags[i].onclick = function()
{
window.open(this.href, '_blank');
return false;
}
}
}
}
}


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 links, I  
wouldn't want a.popcorn to turn into a popup window).


See http://snook.ca/archives/javascript/your_favourite_1/ for more  
info (specifically the update) on how to enforce word boundaries but  
allow for multiple classnames.


Just my thoughts,

Kit

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

smime.p7s
Description: S/MIME cryptographic signature


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 links, I wouldn't
 want a.popcorn to turn into a popup window).
 
 See http://snook.ca/archives/javascript/your_favourite_1/ for more info
 (specifically the update) on how to enforce word boundaries but allow
 for multiple classnames.
 

good point - here it is modified to use word boundaries:

function setNewWindowLinks(className)
{
var tags = document.getElementsByTagName('a');
var re = new RegExp('\\b' + className + '\\b');
if (tags.length  0) {
for (var i = 0; i  tags.length; i++) {
if (tags[i].className.search(re) != -1) {
tags[i].onclick = function()
{
window.open(this.href, '_blank');
return false;
}
}
}
}
}


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



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 experimenting with HTML over flash, and while param name=wmode
value=transparent / works great on Windows. The flash plugin could not
get the order right for OsX or *nix, no matter what I tried (source order,
z-index etc). It was purely random 50% of the time the flash would appear
over the HTML and the other 50% of the time the HTML would appear over the
flash file. I was using it on a footer and could just scroll up and down the
page a few times to get different results.

So you need to check your menu system on one of those OSes. Just rollover
the menu a few times and see what happens.

-- 
Nick Cowie
http://nickcowie.com


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

[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 would be most appreciated.

Kind regards,
Vanessa Toholka

QUESTIONS:
1.  Does your company have a single overarching intranet, which is the
first point that everyone goes to, with sub sections for various
groups OR do you have a separate site for each section or group within
the company?

2.  Is your intranet built on a standard set of templates reflected
across divisions, or are your sub sites or various intranets very
different?

3.  If a new service/resource was being launched in your organisation
would the announcement be made via email or via the intranet?

4.  Do you utilise any collaboration tools. (discussion boards, wikis,
blogs etc?)  If so do they enjoy a good level of user activity and
participation?


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***