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