Jump to content

How do I make links on my site open in a new window


baldhippie

Recommended Posts

They already have the option, either right clicking and choosing new window or Tab... or middle clicking in tabbed browsers will open the link in a new tab usually.

 

All you could do is force them to have a new window and that is not good. Never force things on the user. It is also an issue with those users with different disabilities.

 

I like that you want to give them the option... but they already have it built into their browser. It is their job to learn to use the tools they have.

Link to comment
Share on other sites

You could do what I did on my site (see top left checkbox). http://www.visibilityinherit.com/tools.php that gives them a option or not.

 

If memory serves me correct, I think I got that over at dynamic drive. Or if you just want to open a new window without all the bells and wisles, look under the JS section on that same page above.

Edited by Eric
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...