How to make HTML file open in new window?
When I edit html files from my computer, they keep opening in the same browser that I have opened. How do I fix it so that html files will open in their own windows?
[url=http://www.autonoleggio1.it/autonoleggio/europa/italia/milano]noleggio auto milano[/url]
[url=http://www.ticket4football.com/premiership-football-tickets.html]premiership tickets[/url]
Your text to link...
pr0gr4mm3r posted this at 09:26 — 13th April 2009.
He has: 1,502 posts
Joined: Sep 2006
Use something like this:
<a href="http://www.example.com/" target="_blank">Link text goes here.</a>
It's the
target="_blank"
that forced the browser to open in a new window.decibel.places posted this at 00:08 — 14th April 2009.
He has: 1,494 posts
Joined: Jun 2008
Here is a method to open the new window with JavaScript - with some interesting error checkers and options
If you want to open a window with a certain size and position, and control whether it has toolbars etc the window.open method is explained here
after rereading the OP these methods are probably more advanced than what you need for editing, but might help someone who reads this thread because of the title...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.