Results 1 to 7 of 7

Thread: double href download code

  1. #1
    Join Date
    Nov 2005
    Location
    under your bed
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default double href download code

    Hello, I'm new here and I was wondering if there is an html or javascript code that allowed the downloading of two seperate files without having to use two seperate links. for example: I want to have a video available for download with the thumbnail file, both need to go in the same folder to work, but I can't just stick it in a zip file. any help would be much apreciated.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    No
    It's possible to have two different downloads start at once, but the user would still get two confirmation/path selection boxes, and I don't think that's what you want.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Nov 2005
    Location
    under your bed
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If they only have to click one link it would be perfect

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Well then, you can use something like:
    Code:
    <a href="file1.fil" onclick="window.open('file2.fil');">Text</a>
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can you told me the HTML code ang tag to download files and folders

  6. #6
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Quote Originally Posted by deepakverma.hdfc View Post
    Can you told me the HTML code ang tag to download files and folders
    Just link it to the zipped file and you'll be fine.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  7. #7
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    I think flash would be the best way to go in that case.

Bookmarks

Posting Permissions

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