Jump to content

Links

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_Shan Abbasi_*

Guest_Shan Abbasi_*
  • Guests
Hello,

I want to know how I can change the target attribute of all links on a page. Is there a way to set it globally, so that whenever I post a link on my blog, the target attribute will automatically be set to "_top"? It may not be possible.

Thanks

#2
Jimbo

Jimbo

    Programmer

  • Members
  • PipPipPipPip
  • 121 posts
Use the following within the HEAD tags

<base target="_top">

#3
Ronin

Ronin

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 309 posts
Are you using frames? Shouldn't you be using target="_blank">?

#4
Paradine

Paradine

    Learning Programmer

  • Members
  • PipPipPip
  • 48 posts
target="_top" is for the top frame. If he is using frames then this would be correct.