[WSG] Download box in Firefox

2005-07-17 Thread Angus at InfoForce Services
I think this is off topic for this list, so please reply to 
[EMAIL PROTECTED]


In my HTML I am using a a href= to an mp3 file. IE will give me a dialog 
box to open or download and Firefox 1.0.4 will not. Firefox 1.0.4 just plays 
the file. How would I get a open or download option for all browsers? Any 
advice for dialup users? Any advice to clean up the commented out 
object/object.


Angus MacKinnon
MacKinnon Crest Saying
Latin -  Audentes Fortuna Juvat
English - Fortune Assists The Daring
Choroideremia Research Foundation Inc. 2nd Vice president
Choroideremia Research Foundation Canada Inc. 1st Vice President
http://www.choroideremia.org

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Download box in Firefox

2005-07-17 Thread Patrick H. Lauke

Angus at InfoForce Services wrote:
In my HTML I am using a a href= to an mp3 file. IE will give me a 
dialog box to open or download and Firefox 1.0.4 will not. Firefox 1.0.4 
just plays the file. How would I get a open or download option for all 
browsers? 


Various ways. If you are using Apache, you could (in .htaccess or 
httpd.conf)


AddType application/octet-stream .mp3
http://httpd.apache.org/docs/mod/mod_mime.html#addtype

or, if they're all in a directory with nothing else

ForceType application/octet-stream
http://httpd.apache.org/docs/mod/mod_mime.html#forcetype

Not bullet proof, as some browsers will still try to guess the file type 
from incoming data and act accordingly...


On a more general note though: Firefox only behaves that way because at 
some point you probably told it to. Some users may actually have their 
browser set specifically to how they want it to handle such files, and 
it may be rude (read: against usability precepts) to override their choice.


Sent to list because I do think it's relevant to a certain extent...

--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Download box in Firefox

2005-07-17 Thread Angus at InfoForce Services

Patrick

Various ways. If you are using Apache, you could (in .htaccess or 
httpd.conf)


AddType application/octet-stream .mp3
http://httpd.apache.org/docs/mod/mod_mime.html#addtype

or, if they're all in a directory with nothing else

ForceType application/octet-stream
http://httpd.apache.org/docs/mod/mod_mime.html#forcetype

Not bullet proof, as some browsers will still try to guess the file type 
from incoming data and act accordingly...



I am very new to all this. I like option one, however, I am not the system 
adminastrator and I could not modify the httpd file. I do not know if I 
should send the above to the system administrator of the web host I am using 
or the modification is on my end.


HTML: http://infoforce-services.com/personal/englishocanada.php

CSS:http://infoforce-services.com/cssmain.css

Angus MacKinnon
MacKinnon Crest Saying
Latin -  Audentes Fortuna Juvat
English - Fortune Assists The Daring
Choroideremia Research Foundation Inc. 2nd Vice president
Choroideremia Research Foundation Canada Inc. 1st Vice President
http://www.choroideremia.org

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Download box in Firefox

2005-07-17 Thread Patrick H. Lauke
Stick the AddType line in a text file, rename the file .htaccess (notice 
the leading dot) and upload that into your site's home directory. If 
your host has allowed it, .htaccess files can define local rules for 
your site without the need to change the core httpd.conf (which is 
unlikely to happen on a shared hosting solution).


Patrick

Angus at InfoForce Services wrote:

Patrick

Various ways. If you are using Apache, you could (in .htaccess or 
httpd.conf)


AddType application/octet-stream .mp3
http://httpd.apache.org/docs/mod/mod_mime.html#addtype

or, if they're all in a directory with nothing else

ForceType application/octet-stream
http://httpd.apache.org/docs/mod/mod_mime.html#forcetype

Not bullet proof, as some browsers will still try to guess the file 
type from incoming data and act accordingly...




I am very new to all this. I like option one, however, I am not the 
system adminastrator and I could not modify the httpd file. I do not 
know if I should send the above to the system administrator of the web 
host I am using or the modification is on my end.


HTML: http://infoforce-services.com/personal/englishocanada.php

CSS:http://infoforce-services.com/cssmain.css

Angus MacKinnon
MacKinnon Crest Saying
Latin -  Audentes Fortuna Juvat
English - Fortune Assists The Daring
Choroideremia Research Foundation Inc. 2nd Vice president
Choroideremia Research Foundation Canada Inc. 1st Vice President
http://www.choroideremia.org

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**








--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Download box in Firefox

2005-07-17 Thread James Ellis
Hi

As Angus has said, this is off topic. It's more browser centric/web
dev issue than about standards on the web.

Please reply off list.

Thanks
James

Admin
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] using scalable vector graphics

2005-07-17 Thread dwain
i am beginning to experiment with svgs and find them fascinating.  the 
problem i have found with using them is they will not validate because 
of the embed tag.  i'm not sure at this point what to ask or how to 
ask it, except how to use them so they will validate.


your thoughts, resource links on use, etc. please.

dwain
--
Dwain Alford
[EMAIL PROTECTED]
http://www.alforddesigngroup.com

The artist may use any form which his expression demands;
for his inner impulse must find suitable expression.
Wassily Kandinsky, Concerning The Spiritual In Art
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] using scalable vector graphics

2005-07-17 Thread Joshua Street
On Sun, 2005-07-17 at 22:34 -0500, [EMAIL PROTECTED] wrote:
 i am beginning to experiment with svgs and find them fascinating.  the 
 problem i have found with using them is they will not validate because 
 of the embed tag.  i'm not sure at this point what to ask or how to 
 ask it, except how to use them so they will validate.

svg xmlns=http://www.w3.org/2000/svg; version=1.0
  rect stroke=black fill=none rx=5px y=16px x=72px
width=202px height=61px/
/svg

Is how the W3C's Amaya creates a rectangle object with curved corners...
I'm not sure how that works in other browsers, but I'd _assume_ it's
valid code.  No embed or object tags in sight...

Kind Regards,
Joshua Street

base10solutions
Website:
http://www.base10solutions.com.au/
Phone: (02) 9898-0060  Fax: (02)
8572-6021
Mobile: 0425 808 469

Multimedia  Development  Agency



E-mails and any attachments sent from base10solutions are to be regarded
as confidential. Please do not distribute or publish any of the contents
of this e-mail without the sender’s consent. If you have received this
e-mail in error, please notify the sender by replying to the e-mail, and
then delete the message without making copies or using it in any way.

Although base10solutions takes precautions to ensure that e-mail sent
from our accounts are free of viruses, we encourage recipients to
undertake their own virus scan on each e-mail before opening, as
base10solutions accepts no responsibility for loss or damage caused by
the contents of this e-mail. 


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] using scalable vector graphics

2005-07-17 Thread Joshua Street
On Mon, 2005-07-18 at 13:39 +1000, Joshua Street wrote:
 svg xmlns=http://www.w3.org/2000/svg; version=1.0
   rect stroke=black fill=none rx=5px y=16px x=72px
 width=202px height=61px/
 /svg

Err, of course, it closed the /svg tag properly... oops.

Josh
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] using scalable vector graphics

2005-07-17 Thread Gary Menzel
Browsers that dont support SVG natively require some type of embed tag.

On 7/18/05, Joshua Street [EMAIL PROTECTED] wrote:
On Mon, 2005-07-18 at 13:39 +1000, Joshua Street wrote: svg xmlns=
http://www.w3.org/2000/svg version=1.0 rect stroke=black fill=none rx=5px y=16px x=72px width=202px height=61px/
 /svgErr, of course, it closed the /svg tag properly... oops.Josh**The discussion list for
http://webstandardsgroup.org/See http://webstandardsgroup.org/mail/guidelines.cfmfor some hints on posting to the list  getting help**