Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

I also have another question

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 2 posts
How could I set it up so, when someone clicks on a link it opens up a window. For example this http://www.imeem.com...ist/?p=UwZGzVjo . I want it so when ever people click on the link it opens up a new window, and doesn't use the current window they have open to browse the link. Can anyone help :) (I have Invisionfree).
The link is located in the header of the site, thanks in advanced! :)

Edited by Omar`, 30 January 2008 - 08:26 PM.

  • 0




    The Leather Lady

  • Moderator
  • 3,038 posts
  • 0

Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Fortunately, people have control over how their browsers react to a link, so any method you use will depend on the Options they have set. They also can right-click and chose from the context menu whether to open a new window or a new tab. Believe me, I have total control over how my browser treats links.

If you just want to not use bad coding like target="_blank" attributes, try:

<a href="URL/file_name.html" title="Link Text Description" onclick="window.open (this.href, ''); return false">Link Name</a>

To properly validate these for HTML Strict or higher, put links in an unordered list or wrap in a block level element (div, p, etc.)


Edited by Ax238, 30 January 2008 - 10:59 PM.

  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP