View Full Version : Making it work in IE

02-01-2012, 08:38 PM
I have a site of primarily photos and I place a download button so people who wished could download all the photos in a group. It works as desired in Firefox but will not work with IE.

The code I used is:

<h3 align="center">Click "Download All" to download
all photos in this gallery. Note, this is a large file and may
take some time.</h3>
<a href="119.zip" target="_blank"><button
type="button">DOWNLOAD ALL!</button> </a>

What do I need to do to make it work with Windows?

The web page is at: http://www.irbflying.com/4id%20gallery/4id.html

also c477.html and 119.html

I used IE9 to check it.

Thanks for any help.

02-02-2012, 10:07 AM
It might be due to the space in the path. Change it to under score or hyphen and try again.

02-02-2012, 02:11 PM
I don't see the space you mentioned. Where is it?

02-02-2012, 06:59 PM
It probably has something to do with the <button> tag inside the <a> tag. Change it to text and see what happens.

If you want to use a button, use:

<button onclick="window.location='119.zip'">download</button>

02-02-2012, 08:07 PM
I got it working, thanks for the help.