Link to home
Start Free TrialLog in
Avatar of woodsy51
woodsy51

asked on

How do i set a target of blank in this script

How do i set a target of blank or new window in this script ?

<div id="go" style="cursor: pointer;" onclick="location.href='http://www.yoursite.com/';"></div>

i have tried a few ideas but nothing happens

Thanks in advance
John
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of woodsy51
woodsy51

ASKER

Thank you verry much