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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted March 15, 2009 Share Posted March 15, 2009 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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; } Quote Link to comment 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. Quote Link to comment 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.