Jump to content

Direct Link To Open Window


justinbriggs1
 Share

Recommended Posts

Hey everyone, I'm trying to remember how to set up a link to:- Open a new window- If the link is pressed again in the previous window, it will direct back to the currently open window (won't let you open a new window if the link window is currently open)I know I have seen this done, but off the top of my head I can't remember where. I also don't know if it can be done with just HTML, probably not. Any ideas? Thanks,JW

Link to comment
Share on other sites

You can do it with the target attribute, but make sure that you're using a Transitional DTD and not a Strict one.

<a target="myWindow" href="URL">Link</a>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...