Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    Member #
    34170
    OK so the only way i know how to put a file on a website for someone to download is put it in a folder make a link and than have someone click the link to download. Now i found another way to do it on a different website but have no idea how to go about doing it. They use radio buttons here is the link let me know your thoughts!
    http://www.mcmaster.com/#cadinlnord/92949a103/=kkawwb

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    It isn't the radio buttons that does the trick in that particular case. It's the Save button and an AJAX function that generates the file on the server and serves it as a download.

    There is the option, using certain server-side frameworks (e.g. ASP.net) to create a page that generates the content on the fly and serves it as a download to the client. I'm doing something similar with a client's project that requires the serving of certain PDF files. This, however, depends on what it is that you're doing and what you want to download.
    Webzarus likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    When you have the potential for thousands of downloads, and thousands of pages of content, you have to do something to limit and control the amount of links for downloads on a page.

    They are using this scenario to functionally present users with options instead of just having a great big honking list.

    The beauty of CSS is you can style links to pretty much look like pretty much anything you want. A couple of images and a small amount of CSS and you can re-create this effect without even needing JavaScript. ( if you wanted to )

  5. #4
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    Member #
    34170
    Webzarus can you help me with the css code?

  6. #5
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Help with ??? You're gonna need to provide some specifics as to what you're wanting to do.

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Not only that, it's not pure CSS. What you need is going to go well beyond CSS and even Javascript and right into server-side coding. You're also going to go well beyond the scope of a forum if you want anything beyond just say tweaking a bit of code that doesn't work.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:04 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com