Ruby on Rails Saturday, December 25, 2010

I have the following HAML code ...

%ul
%li{'class' => list_item_L3}
%div{'id' => getting_started_div}
%span{'id' => getting_started_span}
%a{'id' => getting_started_a,
'href' => '/videos/msg_ralph2.shnelvar.wmv}
Shnelvar

The link displays correctly but IE8 and FireFox both attempt to play the
file instead of putting up a prompt to download the wmv.

How can I force a download rather than a play?

--
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