dadamssg Posted July 3, 2009 Share Posted July 3, 2009 i made this div a link, but how do i make it open in a new window <div id="twitter" onclick="location.href='http://www.twitter.com/inaggieland';" style="cursor:pointer;" title="Follow @inaggieland" ></div> i usually just add target="_blank" in there....but its not workin Link to comment https://forums.phpfreaks.com/topic/164629-open-in-new-window-with-div/ Share on other sites More sharing options...
Adam Posted July 3, 2009 Share Posted July 3, 2009 Look into 'window.open'.. Link to comment https://forums.phpfreaks.com/topic/164629-open-in-new-window-with-div/#findComment-868229 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.