ejaboneta Posted March 15, 2009 Share Posted March 15, 2009 Seems like it'd be simple but I can't get a link to pop up in its own window in firefox. How can I do it? Link to comment https://forums.phpfreaks.com/topic/149470-firefox-popups/ Share on other sites More sharing options...
LawsLoop Posted March 15, 2009 Share Posted March 15, 2009 Have you tried using Javascript? Opening a Popup isn't too difficult. Show us your code? Have you tried this page?: http://javascript.internet.com/generators/popup-window.html Link to comment https://forums.phpfreaks.com/topic/149470-firefox-popups/#findComment-785004 Share on other sites More sharing options...
RichardRotterdam Posted March 15, 2009 Share Posted March 15, 2009 Quote get a link to pop up in its own window in firefox. Well a popup is a new window and not the same. Or do you mean that you want a link to open in a new tab? If you want to use a layer to display info within the same page you could use a modal script. Link to comment https://forums.phpfreaks.com/topic/149470-firefox-popups/#findComment-785086 Share on other sites More sharing options...
ejaboneta Posted March 15, 2009 Author Share Posted March 15, 2009 I want a link to open in a new window when clicked. Sorry, i didn't mean popups. Well honestly.... I don't know javascript... so thats why I haven't been using it. But I was thinking some simple html. I haven't tried to open anything in a new window in a really long time, so I tried <a target="_blank"> and it works in IE but not Firefox. I'll try using javascript. Link to comment https://forums.phpfreaks.com/topic/149470-firefox-popups/#findComment-785104 Share on other sites More sharing options...
RichardRotterdam Posted March 15, 2009 Share Posted March 15, 2009 target blank works fine for me. Maybe you mean that it opens up in a new tab instead of a new window. I don't think there is a way to work around that. It is a preference setting in Firefox to either open in a new window or a new tab. I say keep it the way it is. Most Firefox users probably like using tabs over new windows. Link to comment https://forums.phpfreaks.com/topic/149470-firefox-popups/#findComment-785340 Share on other sites More sharing options...
Festy Posted March 17, 2009 Share Posted March 17, 2009 Call the following javascript function from onclick event. function new_window () { path = "/blah.php"; window.open (path, "abcd", "height=300, width=340", menubar=0, status=0, toolbar=0 ).focus(); return true; } Link to comment https://forums.phpfreaks.com/topic/149470-firefox-popups/#findComment-786523 Share on other sites More sharing options...
Festy Posted March 17, 2009 Share Posted March 17, 2009 ejaboneta, please don't forget to tell whether above solution works or not. Link to comment https://forums.phpfreaks.com/topic/149470-firefox-popups/#findComment-786583 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.