I am using HTML to do this.
When someone clicks the "DONE" button, I want to re direct them to a website (Preferably in another tab)
For example
if someone selects
"HALO CHEAT CODES"
and hits done
I want them to be re directed to a different site automatically.
So far what I am doing is
window.alert('+insert website here+');
Then I copy and paste the address and put it in a browser.
any help would be awesome!
Thanks guys.
2 Replies - 397 Views - Last Post: 07 March 2013 - 01:16 PM
#1
Automatically Re-Directing after "On Click" command
Posted 07 March 2013 - 01:08 PM
Replies To: Automatically Re-Directing after "On Click" command
#2
Re: Automatically Re-Directing after "On Click" command
Posted 07 March 2013 - 01:14 PM
You could use an HTML A-link:
You could use CSS and possibly an image so that it looks like a button.
or Javascript:
<a href="the address">Done</a>
You could use CSS and possibly an image so that it looks like a button.
or Javascript:
window.location.href = "the address";
#3
Re: Automatically Re-Directing after "On Click" command
Posted 07 March 2013 - 01:16 PM
you could do it with a form, but you’ll need JavaScript to fetch the address from the selection and either insert it into the form’s action attribute or to call window.location.href with it.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote



|