liam1412 Posted March 31, 2007 Share Posted March 31, 2007 God this is so basic but I cannot find it. I know I knew this a while ago but it has slipped my mind. How do I set the size of a new window from a link. ie <a href taget="new"> Whats the rest of it please. Sorry to be a dumbass. Link to comment https://forums.phpfreaks.com/topic/45012-help-with-a-dumb-ass-html-question/ Share on other sites More sharing options...
micah1701 Posted March 31, 2007 Share Posted March 31, 2007 I believe you'll have to use javascript something like: <a href="/link.html" onclick="window.open(this.href, 'popupwindow', 'width=500,height=500,scrollbars,resizable'); return false;"> click me </a> you might still want to use target="_blank" for those who have JS turned off. Link to comment https://forums.phpfreaks.com/topic/45012-help-with-a-dumb-ass-html-question/#findComment-218526 Share on other sites More sharing options...
liam1412 Posted April 1, 2007 Author Share Posted April 1, 2007 Nice one mate. That works ace!!!!!!!!!!!!!!!!!!! Cheers mate Link to comment https://forums.phpfreaks.com/topic/45012-help-with-a-dumb-ass-html-question/#findComment-218883 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.