• Resolved bsmithme

    (@bsmithme)


    I have run into a bit of a quandry. I want to add a music player in the topmost frame of my site so that when users navigate it will not be interupted. Setting the <base> tag to any of the attributes (“_self,” “frameName”, etc) has not helped in either the blog header file or frameset page. The problem is that the link is not followed, but the site is reloaded with an additional frame added.

    I determined that adding target=”_self” to all of the links solves this problem because my links with this attribute function exactly as I want them–in the bottom frame with the top frame left alone.

    The question, then, is: is there a way to have all WP links utilize the self target attribute without editing every single thing?

    I am sure there is a way either via frame settings or with the WP php, or even javascipt, but I am not experts on any of these.

    Thanks very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bsmithme

    (@bsmithme)

    I realized that since all links were to the same directory that it was by default reloading the index.html file which contained the frameset, thus creating new frames on every link.

    I solved this by putting the blog in a sub-directory and adding a <base> tag to the blog’s header file.

    I was considering a similar solution – could I check out your site?

    Jonas Westin

    (@makakimusic)

    Hi. I’m also looking for an answer to this problem since I want to add a small .mp3 player at the top of the page. Is adding the wordpress install to a subdirectory the only answer to be able to run wordpress in another frame?
    Is frames really a good way to go really or is there a better way with javascript? I don’t want to loose SEO in the process.
    Best
    /Jonas Westin
    [email protected]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Modifying all Links to _self’ is closed to new replies.