• GoDaddy Community
  • Websites + Marketing | Website Builders
  • Websites + Marketing | Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution

    External links

    I write books and showcase them on my site. I want to have a Buy button that is an external link that will take them to where they can buy the relative book i.e. Amazon, Apple etc. How do I insert the link on my page and how do I convert it into a button? Or, how to do I create a button then turn it into an external link? Anybody have any ideas please?

    1 ACCEPTED SOLUTION

    Thanks, JHasselbing, All sorted and running fine.

    View solution in original post

    2 REPLIES 2
    Helper VI

    OK... the community is not letting me post the anwer... most likely due to the JS:

     

    You need to add the following code to a <button tag>

     

     

    window.open('https://your-site.com','_blank')

     

    ~Jan Mykhail Hasselbring Web Administrator @ fullstackwebsolution.com

    Thanks, JHasselbing, All sorted and running fine.

    View solution in original post