Ruby on Rails Saturday, December 25, 2010

Ralph Shnelvar wrote in post #970656:
> Marnen Laibow-Koser wrote in post #970622:
>> By automatically downloading, you are depriving the user of the choice
>> of what he wants to do with that file. (You might want him to download
>> it, but he might prefer to take a quick listen in the browser before he
>> does so.). That's a UI mistake. Again, don't do it.
>
> Ok ... how do I allow them to do either? View locally or download, as
> the user sees fit?

Just provide an ordinary link. If the user wants to download, he can
use the browser's Save command. I explained this in my earlier post.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org

Sent from my iPhone

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment