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 Quote 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'.. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.