YayHappens (yayhappens) wrote in component_help,
YayHappens
yayhappens
component_help

  • Mood:

Can I open all links in new window as a default?

Is there an override of some sort that will open links in an LJ in a new window by default?

I'm not talking about right clicking the link with the mouse pointer or adding html coding target="_blank"

Ideally for what I'm doing, any link including clicking a link to an LJ cut will open the page in a new window.


For example:

I am creating a layer that will allow a component style to embed within a website using an iframe.

Using Internet Explorer you can see an example here.
***I'm still not finished with the site design yet so if you're using Firefox or Mozilla it won't look right.***

Anyhow...

I've coded it so that the perma link on the bottom left in the comment section and also the memories button and edit button will open in a new window if it is being viewed from the site. (Again see the site for the example)

However, when there is a link to view poll results and previous entries and clicking on an LJ-cut for example it opens the link in the iframe and I'd really just like all of the links to open in a new window by default.

Is there a way to do that or will I just have to live with it?

The actual skin layer is located: here.


Thanks in advance.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 4 comments