Forums

frames html with wp (4 posts)

  1. rafaelzelaya
    Member
    Posted 4 years ago #

    hi!, i want to use frames with wp 2.2 because i want to show other information in the pageweb, but when i use some links, wp don't run index.php, wp run again frame.html and reload the entire pageweb in his frame. this is the code...

    <html>
    <head>
        <title>Definición de Frames</title>
    </head>
    <frameset rows="15%,*">
        <frame src="pagina1.html">
        <frame src="index.php">
    </frameset>
    </html>

    pagina1.html is an example, and index.php is wp.

  2. riruilo
    Member
    Posted 4 years ago #

    I have the same question

  3. hodiau
    Member
    Posted 4 years ago #

    yes me to :(

  4. turborider
    Member
    Posted 4 years ago #

    try using something like this

    <html>
    <head>
        <title>Definición de Frames</title>
    </head>
    <frameset rows="15%,*">
        <frame src="pagina1.html" name="paginaFrame">
        <frame src="index.php" name="indexFrame">
    </frameset>
    </html>

    use the name function to assign an id to the frames.

    then when you create a link to another page you want to open in the frame set the frame you want it to open up in as the target of the link using the frame id

    <a href="link" target="paginaFrame"> link text </a>

    see if this will fix your problem

Topic Closed

This topic has been closed to new replies.

About this Topic