Skip to:
Content
Pages
Categories
Search
Top
Bottom

target blank

  • Avatar of raptaparty
    raptaparty
    Member

    @raptaparty

    hello, I know how I can add the code target = “_blank” to links that appear in the activity-header and the links of the avatars that appear in the activity …

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Are you saying you know how to or asking how to?

    fwiw you shouldn’t really use that attribute as it’s been long deprecated. How a link is opened is a user issue you as a developer should not force your desire on the end user and their browser, i do not want or allow new windows, if i want to spawn a new window then I will choose that action otherwise I’ll expect my default behavior of a new tab; also new windows is a usability issue for users that are unfamiliar with browsers and they get confused when they find their browser history broken.

    Avatar of raptaparty
    raptaparty
    Member

    @raptaparty

    I’m wondering how. what happens is that I’m putting my activities within an iframe and I want that when someone clicks on links, it will be in a new window …

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.