Loading ...
Sorry, an error occurred while loading the content.

RE: [JavaScript] JavaScript for auto download

Expand Messages
  • Venkat V
    v :* {behavior:url(#default#VML);}o :* {behavior:url(#default#VML);}w :* {behavior:url(#default#VML);}..shape {behavior:url(#default#VML);} Well, I don#8217;t
    Message 1 of 1 , Aug 5, 2004
      v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}..shape {behavior:url(#default#VML);}
      Well, I don#8217;t think it is possiblewith JavaScript. That is done effectively using CGI. However, What you can dois:

      When the user clicks the link, open a new popup window.
      Disable right-click in the popup window.
      Load the MP3 file in the #8220;onload#8221; event of the popup window (using the document.location.href feature).

      Hope this helps!!!




      From: Louie Fung[mailto:www_perfectsimpleplan@...]
      Sent: Wednesday, August 04, 20044:23 PM
      Subject: [JavaScript] JavaScriptfor auto download

      I'm making a website with mp3 downloads in it. How can I make the mp3
      downloadable without right-clicking and save asthe link (coz if it's
      enabled, the visitors can steal my links) ? I needthe JavaScript
      code that works like the ones used inwww.download.com. It opens a
      new window, then *poof* the download dialog boxappears and ask us to
      download the file.

      Yahoo! Groups Sponsor



      Yahoo! Groups Links

      To visit your group on the web, go to:

      To unsubscribe from this group, send an email to:

      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

      ALL-NEW Yahoo! Messenger - all new features - even more fun!

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.