Where in this line of code could I add target="_new"?
<div id="socialmedia" class="facebook" onclick="location.href='http://facebook.com/';" style="cursor: pointer;"><img src="images/smicon-blank.png"/></div>Where in this line of code could I add target="_new"?
<div id="socialmedia" class="facebook" onclick="location.href='http://facebook.com/';" style="cursor: pointer;"><img src="images/smicon-blank.png"/></div>Look into javascript's window.open. This is untested but I'm pretty sure this is at least close.
onClick="window.open('http://facebook.com/','mywindow')"
THANKS.
This topic has been closed to new replies.