inmygarage
Newbie
- Jan 2, 2017
- 33
- 1
Hey there.
I have a button on my site, where if clicked, the user is taken to a new window with new url, and the previous tab redirects to another page (the cpa offer)
I am using the following code on a button on my site and it works.
<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-modern vc_btn3-color-grey" href="http://google.com" title="doesnotmatter" target="_blank" onclick="window.location = "https://www.example.com"">Text on the button</a>
I want to attach the same code to an image but I can't figure out how??
Can anyone please help a newbie?
thanks a mil! really really appreciated.
btw I'm using Ninja pop ups - which is where I will put the html code.
I have a button on my site, where if clicked, the user is taken to a new window with new url, and the previous tab redirects to another page (the cpa offer)
I am using the following code on a button on my site and it works.
<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-modern vc_btn3-color-grey" href="http://google.com" title="doesnotmatter" target="_blank" onclick="window.location = "https://www.example.com"">Text on the button</a>
I want to attach the same code to an image but I can't figure out how??
Can anyone please help a newbie?
thanks a mil! really really appreciated.
btw I'm using Ninja pop ups - which is where I will put the html code.