Redirect After Initiating Download

3 replies
I'm working on a client's site. He wants visitors to buy his MP3 tracks which he's selling on both iTunes and Amazon.

He also wants them to download a different PDF for each song. What I'd like to do is have buy buttons on his WordPress site that would initiate the PDF download when clicked, and at the same time, trigger a pop up window containing links to the MP3 on both iTunes and Amazon so that visitors can use their vendor of choice.

Does anyone know what code would accomplish this for me?
#download #initiating #javascript #pdf #redirect
  • Profile picture of the author WebVyz
    Sounds like you want to use WordPress' jQuery to create a popup with the information. Not sure how much programming experience you have, or if you're looking for a plugin to readily accomplish this for you.
    {{ DiscussionBoard.errors[7129214].message }}
  • Profile picture of the author lordspace
    a simpler option would be under each song put the icons of Amazon & iTunes + their respective links.
    Signature

    Are you using WordPress? Have you tried qSandbox yet?

    {{ DiscussionBoard.errors[7138767].message }}
    • Profile picture of the author CaliforniaDream
      Originally Posted by lordspace View Post

      a simpler option would be under each song put the icons of Amazon & iTunes + their respective links.
      O.K. That makes sense. But what if the code that would initiate the download of a PDF when someone clicks on the link?
      {{ DiscussionBoard.errors[7146278].message }}

Trending Topics