• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Better UXP Downloading Content

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know *how* to do this but I'm looking for suggestions on how to improve the user experience. I have a list of products and each product has 1 or more downloads associated to them. The client wants the downloads to be displayed in a select list and then on the click of a button, download the content. The reason it is set up this way is because there is some pre-download stamping that must occur on the product.

So generally what I do is use JavaScript to open a new tiny window that sends a get request back to the server which then responds with binary data which triggers the browser's Save As dialog. This seems clunky, but works. I'm looking for suggestions on making this a bit more user friendly? More streamlined within the application. Possibly without using a popup window? I might try an iframe in a div or something like that.

What have you done?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hidden iframe is your option.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:hidden iframe is your option.



But is it a good option?
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is basically your only option and it is easy as pie to implement.

Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic