Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making it work in IE

    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.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    It might be due to the space in the path. Change it to under score or hyphen and try again.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't see the space you mentioned. Where is it?

  • #4
    Regular Coder
    Join Date
    Jan 2012
    Posts
    134
    Thanks
    0
    Thanked 32 Times in 32 Posts
    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:

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

  • #5
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I got it working, thanks for the help.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •