• Hi! Im doing some “customization” of my WordPress. And so far here’s what I got: http://www.enggcouncil.com/news.html

    The above link is my HTML page with 2 Inline frames.

    The Inline Frame at the center displays my WP index.php and the inline frame on the right displays my archives page.

    My problem is, If I click on a certain archive list, say I click on July, the href (as in HTML) target is on the archives inline frame and not on the main frame at the center of the page. (you can check this by clicking on July).

    All I want is to make the href target the archive list to the main inline frame at the center.

    I’ve read the WordPress codex but all I found out so far is a basic info about the wp_get_archives template tag…

    I would greatly appreciate any help. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • It really hasn’t anything to do with WP. It’s about the frames you are using – people either hate them or don’t use them, that’s why they don’t know the answer.
    You can achieve that layout what you have without any frames and still making it functional.

    Thread Starter cyberkamote

    (@cyberkamote)

    I think so too. So is there any way that I can make all the links in my iframe “target” to a specific frame (HTML speaking)?

    What can I use instead of iframes? I heard about div tags..i dunno’ how to use them tho’ Please shed some light..anyone? thanks.

    div tags refer to using CSS to style the layout, vs using tables and frames.
    http://codex.wordpress.org/CSS#CSS_Resources
    I think once you get the hang of CSS, you will find it far superior to the frames option.

    And in case you still want to go with the iframes approach.

    In the archives page just before </head> add this:

    <base target="name of index page iframe" />

    Change name of index page iframe to the iframe name of the index page.

    I can’t promise that your site will validate at proper xhtml.

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

The topic ‘Link (href) Targets in WordPress 1.5’ is closed to new replies.