A little html help anyone?

Status
Not open for further replies.

wsmith810

The Ripper
Aug 23, 2007
701
6
0
38
Summit, IL
Ok so here is what I need.

I have a button set up...

Code:
<a href="http://mysite.om/promooffer1.html"><Img src="button.png"></a>

Now... here is what I want to do...

Have the original link the button is taking the user to OPEN IN A NEW WINDOW....
I also want the current page to redirect after the button has been clicked... (to another page on my site) a "thank you page" if you will.

Any advice?

Thanks,
Bill
 


Code:
<script>
function openboth() {
	window.open("http://mysite.om/promooffer1.html");
}
</script>
<a href="Your thank you page"  onClick="javascript:openboth();" target="_self"><Img src="button.png"></a>
 
  • Like
Reactions: wsmith810
Status
Not open for further replies.